Skip to content

Commit 54c3c78

Browse files
committed
update config Lua.workspace.userThirdParty
1 parent 93b0d31 commit 54c3c78

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

package/configuration.lua

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,14 @@ local config = {
191191
default = true,
192192
markdownDescription = "%config.workspace.checkThirdParty%"
193193
},
194+
["Lua.workspace.userThirdParty"] = {
195+
scope = 'resource',
196+
type = "array",
197+
items = {
198+
type = "string"
199+
},
200+
markdownDescription = "%config.workspace.userThirdParty%"
201+
},
194202
["Lua.completion.enable"] = {
195203
scope = "resource",
196204
type = "boolean",

package/nls-zh-cn.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ return {
4141
* Cocos4.0
4242
* Jass
4343
]],
44+
['config.workspace.userThirdParty'] = '在这里添加私有的第三方库适配文件路径,请参考内置的[配置文件路径](https://github.com/sumneko/lua-language-server/tree/master/meta/3rd)',
4445
['config.completion.enable'] = '启用自动完成。',
4546
['config.completion.callSnippet'] = '显示函数调用片段。',
4647
['config.completion.callSnippet.Disable'] = "只显示 `函数名`。",

package/nls.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Adjust the enabled state of the built-in library. You can disable (or redefine)
1818
* `enable`: always enable
1919
* `disable`: always disable
2020
]],
21+
['config.workspace.userThirdParty'] = 'Add private third-party library configuration file paths here, please refer to the built-in [configuration file path](https://github.com/sumneko/lua-language-server/tree/master/meta/3rd)',
2122
["config.diagnostics.enable"] = "Enable diagnostics.",
2223
["config.diagnostics.disable"] = "Disabled diagnostic (Use code in hover brackets).\n",-- .. example.disable,
2324
["config.diagnostics.globals"] = "Defined global variables.\n",-- .. example.globals,

0 commit comments

Comments
 (0)