summaryrefslogtreecommitdiff
path: root/script/config/template.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-07-21 17:40:43 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-07-21 17:40:43 +0800
commit94c36c6743659f4cf241e43b9b4d5e9a7650f791 (patch)
treef531835053cbb61f5778997a67776c5a3dafe700 /script/config/template.lua
parent7699e4ba610e570199f0b8c9097a5cdeda472c40 (diff)
downloadlua-language-server-94c36c6743659f4cf241e43b9b4d5e9a7650f791.zip
`type.castNumberToInteger` default by `true`
Diffstat (limited to 'script/config/template.lua')
-rw-r--r--script/config/template.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/config/template.lua b/script/config/template.lua
index 850f2b4e..6a009a66 100644
--- a/script/config/template.lua
+++ b/script/config/template.lua
@@ -373,7 +373,7 @@ local template = {
['Lua.spell.dict'] = Type.Array(Type.String),
['Lua.telemetry.enable'] = Type.Or(Type.Boolean >> false, Type.Nil) >> nil,
['Lua.misc.parameters'] = Type.Array(Type.String),
- ['Lua.type.castNumberToInteger'] = Type.Boolean >> false,
+ ['Lua.type.castNumberToInteger'] = Type.Boolean >> true,
['Lua.type.weakUnionCheck'] = Type.Boolean >> false,
['Lua.type.weakNilCheck'] = Type.Boolean >> false,