summaryrefslogtreecommitdiff
path: root/script/core/hint.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-02-01 15:24:55 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-02-01 15:24:55 +0800
commit1c181914c105128d2d6c844ff27f8578eb3cc648 (patch)
tree24f12a9e5af824521c71d6246c467aa3482d98e8 /script/core/hint.lua
parenteae05d288db3c668aa1d9324b6cb6b07ddadf303 (diff)
downloadlua-language-server-1c181914c105128d2d6c844ff27f8578eb3cc648.zip
typo
Diffstat (limited to 'script/core/hint.lua')
-rw-r--r--script/core/hint.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/hint.lua b/script/core/hint.lua
index 3f97586e..55ae809a 100644
--- a/script/core/hint.lua
+++ b/script/core/hint.lua
@@ -35,7 +35,7 @@ local function typeHint(uri, edits, start, finish)
end
local infer = vm.getInferType(source, 0)
if infer == 'any'
- or infer == 'any' then
+ or infer == 'nil' then
return
end
local src = source