diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-02-01 11:22:08 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-02-01 11:22:08 +0800 |
commit | 077059a706cb082cf9ba747e80a0e45dd5b1cafb (patch) | |
tree | d8718bdfe78108e71cd274d1aae7616897925351 /script/core | |
parent | a51dfc312937a98fdf715716faba83591ad90971 (diff) | |
download | lua-language-server-077059a706cb082cf9ba747e80a0e45dd5b1cafb.zip |
no any
Diffstat (limited to 'script/core')
-rw-r--r-- | script/core/hint.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/script/core/hint.lua b/script/core/hint.lua index d4ace5b7..008349ad 100644 --- a/script/core/hint.lua +++ b/script/core/hint.lua @@ -34,6 +34,9 @@ local function typeHint(uri, edits, start, finish) end end local infer = vm.getInferType(source, 0) + if infer == 'any' then + return + end local src = source if source.type == 'tablefield' then src = source.field |