diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-11-16 16:08:15 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-11-16 16:08:15 +0800 |
commit | d4ae212a31a29ab3a9ca6d0a473ff5d33c438124 (patch) | |
tree | 4e9e4f15efbae7699f3e8c0173a61a46fc31c8b5 /script | |
parent | bb22719db1a29096a58fb7ea1a1db00a5ccfce2a (diff) | |
download | lua-language-server-d4ae212a31a29ab3a9ca6d0a473ff5d33c438124.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 c118e6f2..969e570a 100644 --- a/script/config/config.lua +++ b/script/config/config.lua @@ -202,8 +202,9 @@ local Template = { ['Lua.hint.await'] = Type.Boolean >> true, ['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 81a5b8b1..0eddd948 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 |