diff options
author | Bruno Carvalho <b.camara@live.com> | 2024-04-23 13:28:07 -0300 |
---|---|---|
committer | Bruno Carvalho <b.camara@live.com> | 2024-04-23 13:28:07 -0300 |
commit | a8c0929405a02e54749d3d59ce4dad7bc3e0a863 (patch) | |
tree | 36e2be9dd50eb5a958c8803193b2be133a74c3d9 /locale/zh-tw | |
parent | 6b5e19597d88a219aac73cbccd6f88a4213e07aa (diff) | |
download | lua-language-server-a8c0929405a02e54749d3d59ce4dad7bc3e0a863.zip |
Add globalsRegex to diagnostics
Improve checkIsUndefinedGlobal to avoid unecessary checks and tables
Diffstat (limited to 'locale/zh-tw')
-rw-r--r-- | locale/zh-tw/setting.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/locale/zh-tw/setting.lua b/locale/zh-tw/setting.lua index 2b43e954..aeabb63e 100644 --- a/locale/zh-tw/setting.lua +++ b/locale/zh-tw/setting.lua @@ -48,6 +48,8 @@ config.diagnostics.disable = "停用的診斷(使用浮框括號內的程式碼)。" config.diagnostics.globals = "已定義的全域變數。" +config.diagnostics.globalsRegex = -- TODO: need translate! +"Find defined global variables using regex." config.diagnostics.severity = [[ 修改診斷等級。 |