diff options
Diffstat (limited to 'script-beta')
-rw-r--r-- | script-beta/provider/semantic-tokens.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/script-beta/provider/semantic-tokens.lua b/script-beta/provider/semantic-tokens.lua index 96db324e..17985bcd 100644 --- a/script-beta/provider/semantic-tokens.lua +++ b/script-beta/provider/semantic-tokens.lua @@ -28,14 +28,14 @@ local function enable() registrations = { { id = 'semantic-tokens', - method = 'textDocument/semanticTokens/full', + method = 'textDocument/semanticTokens', registerOptions = { legend = { tokenTypes = toArray(define.TokenTypes), tokenModifiers = toArray(define.TokenModifiers), }, range = true, - full = false, + full = true, }, }, } @@ -52,7 +52,7 @@ local function disable() unregisterations = { { id = 'semantic-tokens', - method = 'textDocument/semanticTokens/full', + method = 'textDocument/semanticTokens', }, } }) |