diff options
Diffstat (limited to 'script')
-rw-r--r-- | script/method/textDocument/semanticTokens.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/script/method/textDocument/semanticTokens.lua b/script/method/textDocument/semanticTokens.lua index de50b43b..b201c403 100644 --- a/script/method/textDocument/semanticTokens.lua +++ b/script/method/textDocument/semanticTokens.lua @@ -25,6 +25,9 @@ local constLib = { local Care = { ['name'] = function (source, sources) + if source.start == source.finish then + return + end if source:get 'global' then if findLib(source) then if source[1] == '_G' then |