diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-11-16 16:08:15 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-11-18 17:10:46 +0800 |
commit | 33edcc5b465fdb7bd161852114f2b8eb95936fb2 (patch) | |
tree | 0bde7544d62ddf505762659683410384c00a20c8 /script | |
parent | ab66ba1271153ae9113749ac12aa59f01dd51f48 (diff) | |
download | lua-language-server-33edcc5b465fdb7bd161852114f2b8eb95936fb2.zip |
cleanup
Diffstat (limited to 'script')
-rw-r--r-- | script/config/config.lua | 3 | ||||
-rw-r--r-- | script/core/noder.lua | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/script/config/config.lua b/script/config/config.lua index 869d1f0f..bd73a77f 100644 --- a/script/config/config.lua +++ b/script/config/config.lua @@ -200,8 +200,9 @@ local Template = { ['Lua.hint.paramName'] = Type.String >> 'All', ['Lua.window.statusBar'] = Type.Boolean >> true, ['Lua.window.progressBar'] = Type.Boolean >> true, - ['Lua.IntelliSense.localSet'] = Type.Boolean >> false, + ['Lua.IntelliSense.traceLocalSet'] = Type.Boolean >> false, ['Lua.IntelliSense.traceReturn'] = Type.Boolean >> false, + ['Lua.IntelliSense.traceBeSetted'] = Type.Boolean >> false, ['Lua.telemetry.enable'] = Type.Or(Type.Boolean >> false, Type.Nil), ['files.associations'] = Type.Hash(Type.String, Type.String), ['files.exclude'] = Type.Hash(Type.String, Type.Boolean), diff --git a/script/core/noder.lua b/script/core/noder.lua index 90f92599..308ce876 100644 --- a/script/core/noder.lua +++ b/script/core/noder.lua @@ -748,7 +748,7 @@ local function bindValue(noders, source, id) end if source.type == 'getlocal' or source.type == 'setlocal' then - if not config.get 'Lua.IntelliSense.localSet' then + if not config.get 'Lua.IntelliSense.traceLocalSet' then return end source = source.node |