diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-11-18 17:42:44 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-11-18 17:42:44 +0800 |
commit | 90872b33a8beacadcb4793acf18d0feff56ebedb (patch) | |
tree | af853e6cc78a673c57f6c5d310f395e194c527a4 /script | |
parent | ac13ea470693e8c272514065be98771928494b6e (diff) | |
download | lua-language-server-90872b33a8beacadcb4793acf18d0feff56ebedb.zip |
rename `traceGlobalInject` -> traceFieldInject
Diffstat (limited to 'script')
-rw-r--r-- | script/config/config.lua | 2 | ||||
-rw-r--r-- | script/core/noder.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/script/config/config.lua b/script/config/config.lua index 0f35ce6c..f4077b16 100644 --- a/script/config/config.lua +++ b/script/config/config.lua @@ -203,7 +203,7 @@ local Template = { ['Lua.IntelliSense.traceLocalSet'] = Type.Boolean >> false, ['Lua.IntelliSense.traceReturn'] = Type.Boolean >> false, ['Lua.IntelliSense.traceBeSetted'] = Type.Boolean >> false, - ['Lua.IntelliSense.traceGlobalInject'] = Type.Boolean >> false, + ['Lua.IntelliSense.traceFieldInject'] = 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 ae38a555..cdf2c710 100644 --- a/script/core/noder.lua +++ b/script/core/noder.lua @@ -482,7 +482,7 @@ local function getNodeKey(source) if methodNode then return getNodeKey(methodNode) end - if config.get 'Lua.IntelliSense.traceGlobalInject' then + if config.get 'Lua.IntelliSense.traceFieldInject' then local localValueID = getLocalValueID(source) if localValueID then return localValueID |