diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-08-18 12:27:27 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-08-18 12:27:27 +0800 |
commit | e713e3f7f9d88ea4683b74749bed6e26fe222288 (patch) | |
tree | c86a28242e6d920ff2ddf699cdf3776600a61349 /script/core/infer.lua | |
parent | b1cd3d1c9335200c7fd48c3f5766ad7b8869642a (diff) | |
download | lua-language-server-e713e3f7f9d88ea4683b74749bed6e26fe222288.zip |
improve hover
Diffstat (limited to 'script/core/infer.lua')
-rw-r--r-- | script/core/infer.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/script/core/infer.lua b/script/core/infer.lua index 8ac585f4..d6784c67 100644 --- a/script/core/infer.lua +++ b/script/core/infer.lua @@ -671,6 +671,8 @@ function m.getClass(source) infers[def[1]] = true end end + cleanInfers(infers) + infers['nil'] = nil local view = m.viewInfers(infers) if view == 'any' or view == 'nil' then |