diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-11-21 20:06:20 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-11-21 20:06:20 +0800 |
commit | bafe0e44914ad3b669388b94b91d9992edeb8e07 (patch) | |
tree | 26f78a3934dc38d31f82bbf9b33975dfecb3a0d8 /server-beta/src/core/diagnostics | |
parent | c354b5e8bd05ba117857ac93e8d647980875d98d (diff) | |
download | lua-language-server-bafe0e44914ad3b669388b94b91d9992edeb8e07.zip |
hover的第一步
Diffstat (limited to 'server-beta/src/core/diagnostics')
-rw-r--r-- | server-beta/src/core/diagnostics/lowercase-global.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server-beta/src/core/diagnostics/lowercase-global.lua b/server-beta/src/core/diagnostics/lowercase-global.lua index f1ebdce5..bc48e1e6 100644 --- a/server-beta/src/core/diagnostics/lowercase-global.lua +++ b/server-beta/src/core/diagnostics/lowercase-global.lua @@ -20,7 +20,7 @@ return function (uri, callback) end guide.eachSourceType(ast.ast, 'setglobal', function (source) - local name = guide.getKeyString(source) + local name = guide.getName(source) if definedGlobal[name] then return end |