summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-08-27 17:31:04 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-08-27 17:31:04 +0800
commit8ca02b0b1d3643f58802c87578fec1973a8e846c (patch)
tree2dbbc4b65060356c53f47f2db9e1e2675c9f1381 /script
parent6cbc089f83eec21a33c792943e323a0f50a56e0a (diff)
downloadlua-language-server-8ca02b0b1d3643f58802c87578fec1973a8e846c.zip
semantic: may fail when scrolling
Diffstat (limited to 'script')
-rw-r--r--script/provider/provider.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/script/provider/provider.lua b/script/provider/provider.lua
index 21929734..e1bd0f4f 100644
--- a/script/provider/provider.lua
+++ b/script/provider/provider.lua
@@ -693,8 +693,8 @@ end)
proto.on('textDocument/semanticTokens/range', function (params)
workspace.awaitReady()
- await.close('textDocument/semanticTokens/range')
- await.setID('textDocument/semanticTokens/range')
+ --await.close('textDocument/semanticTokens/range')
+ --await.setID('textDocument/semanticTokens/range')
local _ <close> = progress.create(lang.script.WINDOW_PROCESSING_SEMANTIC_RANGE, 0.5)
local core = require 'core.semantic-tokens'
local uri = params.textDocument.uri