diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-09-02 16:10:02 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-09-02 16:10:02 +0800 |
commit | c677a1a8a214a55c8527c1f968c81ef090d7c90b (patch) | |
tree | 9100ece0bdb1a0c530d20653a9a2e8f0a3fc61f9 /script/capability | |
parent | bced46d1c70c9cb044e2291c67bff392aa908f30 (diff) | |
download | lua-language-server-c677a1a8a214a55c8527c1f968c81ef090d7c90b.zip |
跟进语义着色的协议更新
Diffstat (limited to 'script/capability')
-rw-r--r-- | script/capability/semantic.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/script/capability/semantic.lua b/script/capability/semantic.lua index 72c889e1..9fb41e56 100644 --- a/script/capability/semantic.lua +++ b/script/capability/semantic.lua @@ -28,7 +28,7 @@ local function enable(lsp) registrations = { { id = 'semantic', - method = 'textDocument/semanticTokens', + method = 'textDocument/semanticTokens/full', registerOptions = { legend = { tokenTypes = toArray(TokenTypes), @@ -52,7 +52,7 @@ local function disable() unregisterations = { { id = 'semantic', - method = 'textDocument/semanticTokens', + method = 'textDocument/semanticTokens/full', }, } }) |