Skip to content

Commit 4a0ea33

Browse files
committed
update config
1 parent 3c4db98 commit 4a0ea33

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

package/configuration.lua

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,12 @@ local config = {
7171
},
7272
markdownDescription = "%config.runtime.nonstandardSymbol%"
7373
},
74+
["Lua.runtime.plugin"] = {
75+
scope = "resource",
76+
type = "string",
77+
default = ".vscode/lua/plugin.lua",
78+
markdownDescription = "%config.runtime.plugin%"
79+
},
7480
["Lua.diagnostics.enable"] = {
7581
scope = 'resource',
7682
type = 'boolean',

package/nls-zh-cn.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ return {
99
]] .. example.special,
1010
["config.runtime.unicodeName"] = "允许在名字中使用 Unicode 字符。",
1111
["config.runtime.nonstandardSymbol"] = "支持非标准的符号。请务必确认你的运行环境支持这些符号。",
12+
["config.runtime.plugin"] = "(实验)插件路径。",
1213
["config.diagnostics.enable"] = "启用诊断。",
1314
["config.diagnostics.disable"] = "禁用的诊断(使用浮框括号内的代码)。\n",-- .. example.disable,
1415
["config.diagnostics.globals"] = "已定义的全局变量。\n",-- .. example.globals,

package/nls.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ The following example shows that 'include' is treated as' require '.
99
]] .. example.special,
1010
["config.runtime.unicodeName"] = "Allows Unicode characters in name.",
1111
["config.runtime.nonstandardSymbol"] = "Supports non-standard symbols. Make sure that your runtime environment supports these symbols.",
12+
["config.runtime.plugin"] = "(Proposed) Plugin path.",
1213
["config.diagnostics.enable"] = "Enable diagnostics.",
1314
["config.diagnostics.disable"] = "Disabled diagnostic (Use code in hover brackets).\n",-- .. example.disable,
1415
["config.diagnostics.globals"] = "Defined global variables.\n",-- .. example.globals,

0 commit comments

Comments
 (0)