Skip to content

Commit 8ec593e

Browse files
committed
abort semantic-tokens requests
#1599
1 parent 566536d commit 8ec593e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

script/provider/provider.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -941,6 +941,7 @@ client.event(function (ev)
941941
full = true,
942942
},
943943
},
944+
abortByFileUpdate = true,
944945
---@async
945946
function (params)
946947
log.debug('textDocument/semanticTokens/full')
@@ -969,6 +970,7 @@ m.register 'textDocument/semanticTokens/range' {
969970
range = true,
970971
},
971972
},
973+
abortByFileUpdate = true,
972974
---@async
973975
function (params)
974976
log.debug('textDocument/semanticTokens/range')

0 commit comments

Comments
 (0)