diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-10-17 20:20:18 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-10-17 20:20:18 +0800 |
commit | 4e647a342a525eda45418398f1409c8e5a57adff (patch) | |
tree | 5d0ccd3849e2f545b02c5c6f50c4be2d539cb36e /locale/zh-tw/setting.lua | |
parent | 279c1ad7b88e464535971143660712fb0ea259ca (diff) | |
download | lua-language-server-4e647a342a525eda45418398f1409c8e5a57adff.zip |
new setting `Lua.diagnostics.workspaceEvent`
set the time to trigger workspace diagnostics.
resolve #1626
Diffstat (limited to 'locale/zh-tw/setting.lua')
-rw-r--r-- | locale/zh-tw/setting.lua | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/locale/zh-tw/setting.lua b/locale/zh-tw/setting.lua index 11449fcd..5f6e564e 100644 --- a/locale/zh-tw/setting.lua +++ b/locale/zh-tw/setting.lua @@ -76,8 +76,16 @@ config.diagnostics.groupFileStatus = 設定為 `Fallback` 意味著組中的診斷由 `diagnostics.neededFileStatus` 單獨設定。 其他設定將覆蓋單獨設定,但是不會覆蓋以 `!` 結尾的設定。 ]] +config.diagnostics.workspaceEvent = -- TODO: need translate! +"Set the time to trigger workspace diagnostics." +config.diagnostics.workspaceEvent.OnChange = -- TODO: need translate! +"Trigger workspace diagnostics when the file is changed." +config.diagnostics.workspaceEvent.OnSave = -- TODO: need translate! +"Trigger workspace diagnostics when the file is saved." +config.diagnostics.workspaceEvent.None = -- TODO: need translate! +"Disable workspace diagnostics." config.diagnostics.workspaceDelay = -"進行工作區診斷的延遲(毫秒)。當你啟動工作區,或編輯了任何檔案後,將會在背景對整個工作區進行重新診斷。設定為負數可以停用工作區診斷。" +"進行工作區診斷的延遲(毫秒)。" config.diagnostics.workspaceRate = "工作區診斷的執行速率(百分比)。降低該值會減少CPU使用率,但是也會降低工作區診斷的速度。你目前正在編輯的檔案的診斷總是全速完成,不受該選項影響。" config.diagnostics.libraryFiles = |