diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-10-11 01:21:25 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-10-11 01:21:25 +0800 |
commit | 8ec593e83fff0ba00466361cdee5dece07c5d98e (patch) | |
tree | cef3974549de161cb6a4179579fb4fbfb46fc5e7 /script | |
parent | 566536d7de551299cd81c43948c46cf5b38e04a5 (diff) | |
download | lua-language-server-8ec593e83fff0ba00466361cdee5dece07c5d98e.zip |
abort semantic-tokens requests
#1599
Diffstat (limited to 'script')
-rw-r--r-- | script/provider/provider.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/script/provider/provider.lua b/script/provider/provider.lua index 3ab5bb19..c93a7c53 100644 --- a/script/provider/provider.lua +++ b/script/provider/provider.lua @@ -941,6 +941,7 @@ client.event(function (ev) full = true, }, }, + abortByFileUpdate = true, ---@async function (params) log.debug('textDocument/semanticTokens/full') @@ -969,6 +970,7 @@ m.register 'textDocument/semanticTokens/range' { range = true, }, }, + abortByFileUpdate = true, ---@async function (params) log.debug('textDocument/semanticTokens/range') |