diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-10-28 17:07:09 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-10-28 17:07:09 +0800 |
commit | 5c84a83b259a73f2fbac27cc8ab5a6c1453201e2 (patch) | |
tree | 4485126cd5836fc457ed2c95711d850961051271 /script/plugin.lua | |
parent | f859ed45793a7a6be015de45c1e17cdaab27a1af (diff) | |
download | lua-language-server-5c84a83b259a73f2fbac27cc8ab5a6c1453201e2.zip |
#687 no longer asks to trust plugin in VSCode
Diffstat (limited to 'script/plugin.lua')
-rw-r--r-- | script/plugin.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/plugin.lua b/script/plugin.lua index 26f39226..26e99d53 100644 --- a/script/plugin.lua +++ b/script/plugin.lua @@ -100,7 +100,7 @@ function m.init() m.showError(err) return end - if not checkTrustLoad() then + if not client.isVSCode() and not checkTrustLoad() then return end local suc, err = xpcall(f, log.error, f) |