diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-11-07 14:10:50 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-11-07 14:10:50 +0800 |
commit | b175fd29848e5f09ae8eba6372966c85184d107f (patch) | |
tree | f8b84a500c6474019bc7b469d532b1af401c2153 /script/provider | |
parent | 885013052b8ad1f5d736a26212fc5926b228c020 (diff) | |
download | lua-language-server-b175fd29848e5f09ae8eba6372966c85184d107f.zip |
fix
Diffstat (limited to 'script/provider')
-rw-r--r-- | script/provider/provider.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/script/provider/provider.lua b/script/provider/provider.lua index 33dba27a..aaaf5595 100644 --- a/script/provider/provider.lua +++ b/script/provider/provider.lua @@ -19,7 +19,7 @@ local scope = require 'workspace.scope' local furi = require 'file-uri' local inspect = require 'inspect' local guide = require 'parser.guide' -local fs = require 'bee.filesystem' +local fs = require 'bee.filesystem' require 'library' @@ -1152,8 +1152,8 @@ m.register '$/status/click' { local titleDiagnostic = lang.script.WINDOW_LUA_STATUS_DIAGNOSIS_TITLE local result = client.awaitRequestMessage('Info', lang.script.WINDOW_LUA_STATUS_DIAGNOSIS_MSG, { titleDiagnostic, - DEVELOP and 'Restart Server', - DEVELOP and 'Clear Node Cache', + DEVELOP and 'Restart Server' or nil, + DEVELOP and 'Clear Node Cache' or nil, }) if not result then return |