summaryrefslogtreecommitdiff
path: root/locale/en-us/setting.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-06-25 03:58:51 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-06-25 03:58:51 +0800
commiteff02b11a8186ef25f35aa34be2e59470fd69cb3 (patch)
tree08f10dc0fdddf6dcd9865dce0c429b4a2aed191a /locale/en-us/setting.lua
parentfa7375775e97d68ce7507b0c7e50eced84bab2ac (diff)
downloadlua-language-server-eff02b11a8186ef25f35aa34be2e59470fd69cb3.zip
update locale for new settings
Diffstat (limited to 'locale/en-us/setting.lua')
-rw-r--r--locale/en-us/setting.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/locale/en-us/setting.lua b/locale/en-us/setting.lua
index 9bb2969e..bc7746e0 100644
--- a/locale/en-us/setting.lua
+++ b/locale/en-us/setting.lua
@@ -259,6 +259,14 @@ config.IntelliSense.traceBeSetted =
'Please read [wiki](https://github.com/sumneko/lua-language-server/wiki/IntelliSense-optional-features) to learn more.'
config.IntelliSense.traceFieldInject =
'Please read [wiki](https://github.com/sumneko/lua-language-server/wiki/IntelliSense-optional-features) to learn more.'
+config.type.castNumberToInteger =
+'Allowed to assign the `number` type to the `integer` type.'
+config.type.weakUnionCheck =
+[[
+Once one subtype of a union type meets the condition, the union type also meets the condition.
+
+When this setting is `false`, the `number|boolean` type cannot be assigned to the `number` type. It can be with `true`.
+]]
config.diagnostics['unused-local'] =
'Enable unused local variable diagnostics.'
config.diagnostics['unused-function'] =