diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-04-26 16:32:05 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-04-26 16:32:05 +0800 |
commit | a7a37c564f0b584b993eaec4c3dd164abdbd543f (patch) | |
tree | f39176779926cfc7d259f17c7c5997fe5ec70aa8 /script/core/semantic-tokens.lua | |
parent | 08135e067336d2767029c4a7b907e5df0a0d942b (diff) | |
download | lua-language-server-a7a37c564f0b584b993eaec4c3dd164abdbd543f.zip |
cleanup
Diffstat (limited to 'script/core/semantic-tokens.lua')
-rw-r--r-- | script/core/semantic-tokens.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/script/core/semantic-tokens.lua b/script/core/semantic-tokens.lua index bcba27a9..65c72c11 100644 --- a/script/core/semantic-tokens.lua +++ b/script/core/semantic-tokens.lua @@ -7,7 +7,6 @@ local guide = require 'parser.guide' local converter = require 'proto.converter' local config = require 'config' local linkedTable = require 'linked-table' -local globalMgr = require 'vm.global-manager' local Care = util.switch() : case 'getglobal' @@ -21,7 +20,7 @@ local Care = util.switch() local isLib = options.libGlobals[name] if isLib == nil then isLib = false - local global = globalMgr.getGlobal('variable', name) + local global = vm.getGlobal('variable', name) if global then local uri = guide.getUri(source) for _, set in ipairs(global:getSets(uri)) do |