summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changelog.md10
-rw-r--r--locale/en-us/setting.lua4
-rw-r--r--locale/pt-br/setting.lua2
-rw-r--r--locale/zh-cn/setting.lua2
-rw-r--r--locale/zh-tw/setting.lua2
-rw-r--r--script/config/template.lua1
6 files changed, 18 insertions, 3 deletions
diff --git a/changelog.md b/changelog.md
index ea380303..dc843fd0 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,8 +1,10 @@
# changelog
## 3.6.0
-* `CHG` [#1558](https://github.com/sumneko/lua-language-server/issues/1558) detect multi libraries
-* `CHG` [#1558](https://github.com/sumneko/lua-language-server/issues/1558) `semantic-tokens`: global variable is setted to `variable.global`
+* `NEW` settings:
+ * `Lua.misc.executablePath`: [#1557] specify the executable path in VSCode
+* `CHG` [#1558] detect multi libraries
+* `CHG` [#1458] `semantic-tokens`: global variable is setted to `variable.global`
```jsonc
// color global variables to red
"editor.semanticTokenColorCustomizations": {
@@ -12,6 +14,10 @@
}
```
+[#1458]: https://github.com/sumneko/lua-language-server/issues/1458
+[#1557]: https://github.com/sumneko/lua-language-server/issues/1557
+[#1558]: https://github.com/sumneko/lua-language-server/issues/1558
+
## 3.5.6
`2022-9-16`
* `FIX` [#1439](https://github.com/sumneko/lua-language-server/issues/1439)
diff --git a/locale/en-us/setting.lua b/locale/en-us/setting.lua
index fd6b069f..7d1a30b1 100644
--- a/locale/en-us/setting.lua
+++ b/locale/en-us/setting.lua
@@ -262,7 +262,9 @@ config.telemetry.enable =
Enable telemetry to send your editor information and error logs over the network. Read our privacy policy [here](https://github.com/sumneko/lua-language-server/wiki/Home#privacy).
]]
config.misc.parameters =
-'[Command line parameters](https://github.com/sumneko/lua-telemetry-server/tree/master/method) when starting the language service in VSCode.'
+'[Command line parameters](https://github.com/sumneko/lua-telemetry-server/tree/master/method) when starting the language server in VSCode.'
+config.misc.executablePath =
+'Specify the executable path in VSCode.'
config.IntelliSense.traceLocalSet =
'Please read [wiki](https://github.com/sumneko/lua-language-server/wiki/IntelliSense-optional-features) to learn more.'
config.IntelliSense.traceReturn =
diff --git a/locale/pt-br/setting.lua b/locale/pt-br/setting.lua
index 9f597ca6..e4b90412 100644
--- a/locale/pt-br/setting.lua
+++ b/locale/pt-br/setting.lua
@@ -263,6 +263,8 @@ Enable telemetry to send your editor information and error logs over the network
]]
config.misc.parameters = -- TODO: need translate!
'[Command line parameters](https://github.com/sumneko/lua-telemetry-server/tree/master/method) when starting the language service in VSCode.'
+config.misc.executablePath = -- TODO: need translate!
+'Specify the executable path in VSCode.'
config.IntelliSense.traceLocalSet = -- TODO: need translate!
'Please read [wiki](https://github.com/sumneko/lua-language-server/wiki/IntelliSense-optional-features) to learn more.'
config.IntelliSense.traceReturn = -- TODO: need translate!
diff --git a/locale/zh-cn/setting.lua b/locale/zh-cn/setting.lua
index dde3e9d1..841aafb6 100644
--- a/locale/zh-cn/setting.lua
+++ b/locale/zh-cn/setting.lua
@@ -262,6 +262,8 @@ config.telemetry.enable =
]]
config.misc.parameters =
'VSCode中启动语言服务时的[命令行参数](https://github.com/sumneko/lua-language-server/wiki/Getting-Started#arguments)。'
+config.misc.executablePath =
+'VSCode中指定可执行文件路径。'
config.IntelliSense.traceLocalSet =
'请查阅[文档](https://github.com/sumneko/lua-language-server/wiki/IntelliSense-optional-features)了解用法。'
config.IntelliSense.traceReturn =
diff --git a/locale/zh-tw/setting.lua b/locale/zh-tw/setting.lua
index 3129b313..11449fcd 100644
--- a/locale/zh-tw/setting.lua
+++ b/locale/zh-tw/setting.lua
@@ -262,6 +262,8 @@ config.telemetry.enable =
]]
config.misc.parameters =
'VSCode中啟動語言伺服時的[命令列參數](https://github.com/sumneko/lua-language-server/wiki/Getting-Started#arguments)。'
+config.misc.executablePath = -- TODO: need translate!
+'Specify the executable path in VSCode.'
config.IntelliSense.traceLocalSet =
'請查閱[文件](https://github.com/sumneko/lua-language-server/wiki/IntelliSense-optional-features)瞭解用法。'
config.IntelliSense.traceReturn =
diff --git a/script/config/template.lua b/script/config/template.lua
index 09ba61ea..033c7834 100644
--- a/script/config/template.lua
+++ b/script/config/template.lua
@@ -381,6 +381,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.misc.executablePath'] = Type.String(),
['Lua.type.castNumberToInteger'] = Type.Boolean >> true,
['Lua.type.weakUnionCheck'] = Type.Boolean >> false,
['Lua.type.weakNilCheck'] = Type.Boolean >> false,