summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
Diffstat (limited to 'script')
-rw-r--r--script/library.lua21
1 files changed, 14 insertions, 7 deletions
diff --git a/script/library.lua b/script/library.lua
index 3ea9e9fa..0e65d96c 100644
--- a/script/library.lua
+++ b/script/library.lua
@@ -347,17 +347,24 @@ local function askFor3rd(cfg)
if not result then
return nil
end
- client.setConfig {
- {
- key = 'Lua.workspace.checkThirdParty',
- action = 'set',
- value = false,
- },
- }
if result == yes1 then
apply3rd(cfg, false)
+ client.setConfig({
+ {
+ key = 'Lua.workspace.checkThirdParty',
+ action = 'set',
+ value = false,
+ },
+ }, false)
elseif result == yes2 then
apply3rd(cfg, true)
+ client.setConfig({
+ {
+ key = 'Lua.workspace.checkThirdParty',
+ action = 'set',
+ value = false,
+ },
+ }, true)
end
end