summaryrefslogtreecommitdiff
path: root/script/provider/provider.lua
diff options
context:
space:
mode:
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)