summaryrefslogtreecommitdiff
path: root/server-beta/src/core/diagnostics
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-11-21 20:06:20 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-11-21 20:06:20 +0800
commitbafe0e44914ad3b669388b94b91d9992edeb8e07 (patch)
tree26f78a3934dc38d31f82bbf9b33975dfecb3a0d8 /server-beta/src/core/diagnostics
parentc354b5e8bd05ba117857ac93e8d647980875d98d (diff)
downloadlua-language-server-bafe0e44914ad3b669388b94b91d9992edeb8e07.zip
hover的第一步
Diffstat (limited to 'server-beta/src/core/diagnostics')
-rw-r--r--server-beta/src/core/diagnostics/lowercase-global.lua2
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