summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-10-11 14:15:50 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-10-11 14:15:50 +0800
commit85914dd67c44185a2111e5fccd589f4caa90d6b6 (patch)
tree71bb00fe60b262f65f5a0c78cf9ce911a0d308ab /script
parentb6a76050839a3ff2ce27c33e487a40ded114926f (diff)
downloadlua-language-server-85914dd67c44185a2111e5fccd589f4caa90d6b6.zip
fix
Diffstat (limited to 'script')
-rw-r--r--script/core/semantic-tokens.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/semantic-tokens.lua b/script/core/semantic-tokens.lua
index ef2bc9b4..dc0649d1 100644
--- a/script/core/semantic-tokens.lua
+++ b/script/core/semantic-tokens.lua
@@ -289,7 +289,7 @@ Care['local'] = function (source, results) -- Local declaration, i.e. "local x",
local modifiers = define.TokenModifiers.declaration
if isLocal then
- modifiers = modifiers | define.TokenModifiers['local']
+ modifiers = modifiers | define.TokenModifiers.definition
end
results[#results+1] = {