summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-02-09 20:43:29 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-02-09 20:43:29 +0800
commit1146126618a2598fe43484ee168031371eab802c (patch)
treebf1d3cc992e032cf7866b6c7e62eb9d5b8581001 /script
parent3932717d816bfc4f98cd9640daca51fb6f2afe8c (diff)
downloadlua-language-server-1146126618a2598fe43484ee168031371eab802c.zip
check asked
Diffstat (limited to 'script')
-rw-r--r--script/library.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/script/library.lua b/script/library.lua
index d95b0fa1..7cac48f1 100644
--- a/script/library.lua
+++ b/script/library.lua
@@ -364,6 +364,9 @@ end
local hasAsked
---@async
local function askFor3rd(uri, cfg)
+ if hasAsked then
+ return nil
+ end
hasAsked = true
local yes1 = lang.script.WINDOW_APPLY_WHIT_SETTING
local yes2 = lang.script.WINDOW_APPLY_WHITOUT_SETTING