Skip to content
Snippets Groups Projects
Commit bb4b4391 authored by 最萌小汐's avatar 最萌小汐
Browse files

`checkThirdParty` should use the same mode

parent f3b880ec
No related branches found
No related tags found
No related merge requests found
......@@ -347,17 +347,24 @@ local function askFor3rd(cfg)
if not result then
return nil
end
client.setConfig {
if result == yes1 then
apply3rd(cfg, false)
client.setConfig({
{
key = 'Lua.workspace.checkThirdParty',
action = 'set',
value = false,
},
}
if result == yes1 then
apply3rd(cfg, false)
}, false)
elseif result == yes2 then
apply3rd(cfg, true)
client.setConfig({
{
key = 'Lua.workspace.checkThirdParty',
action = 'set',
value = false,
},
}, true)
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment