summaryrefslogtreecommitdiff
path: root/script/provider/provider.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-07-01 20:22:58 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-07-01 20:22:58 +0800
commit0dacc5f651818c9ae21ab66a8df4879c6b39908b (patch)
tree1b7a98e433e7fa914e21df22c83d0a8e2d50e4a4 /script/provider/provider.lua
parent9805559194e6d0a05b8094142b0b2d4389ea71f0 (diff)
downloadlua-language-server-0dacc5f651818c9ae21ab66a8df4879c6b39908b.zip
fix
Diffstat (limited to 'script/provider/provider.lua')
-rw-r--r--script/provider/provider.lua12
1 files changed, 7 insertions, 5 deletions
diff --git a/script/provider/provider.lua b/script/provider/provider.lua
index 351cd1a6..d0509957 100644
--- a/script/provider/provider.lua
+++ b/script/provider/provider.lua
@@ -53,11 +53,13 @@ local function updateConfig()
return
end
- local new = configs[1]
- new['files.associations'] = configs[2]
- new['files.exclude'] = configs[3]
- new['editor.semanticHighlighting.enabled'] = configs[4]
- new['editor.acceptSuggestionOnEnter'] = configs[5]
+ local new = {
+ ['Lua'] = configs[1],
+ ['files.associations'] = configs[2],
+ ['files.exclude'] = configs[3],
+ ['editor.semanticHighlighting.enabled'] = configs[4],
+ ['editor.acceptSuggestionOnEnter'] = configs[5],
+ }
local oldConfig = config.dump()
config.update(new)