summaryrefslogtreecommitdiff
path: root/locale/en-us/setting.lua
diff options
context:
space:
mode:
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'] =