summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-07-09 17:03:58 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-07-09 17:03:58 +0800
commit9cbb1a81972f4670f88118e4e48b15dc2769c5f8 (patch)
tree446fa57703fc0c609deafc0f8976e5587f1e3850 /script
parent06a80f826d74478d2fe0c28a00c2d0c3c8b9b7e5 (diff)
downloadlua-language-server-9cbb1a81972f4670f88118e4e48b15dc2769c5f8.zip
locale
Diffstat (limited to 'script')
-rw-r--r--script/core/command/autoRequire.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/script/core/command/autoRequire.lua b/script/core/command/autoRequire.lua
index 947e78aa..89dc4376 100644
--- a/script/core/command/autoRequire.lua
+++ b/script/core/command/autoRequire.lua
@@ -46,11 +46,11 @@ local function askAutoRequire(visiblePaths)
nameMap[select] = expect
selects[#selects+1] = select
end
- local disable = lang.script('禁用自动require')
+ local disable = lang.script.COMPLETION_DISABLE_AUTO_REQUIRE
selects[#selects+1] = disable
local result = client.awaitRequestMessage('Info'
- , lang.script('在文件顶部添加代码 require 此文件?')
+ , lang.script.COMPLETION_ASK_AUTO_REQUIRE
, selects
)
if not result then