Skip to content

Commit 9da6b9b

Browse files
committed
compile setting
1 parent 8338e65 commit 9da6b9b

File tree

5 files changed

+22
-2
lines changed

5 files changed

+22
-2
lines changed

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -538,6 +538,12 @@
538538
"scope": "resource",
539539
"type": "object"
540540
},
541+
"Lua.runtime.unicodeName": {
542+
"default": false,
543+
"markdownDescription": "%config.runtime.unicodeName%",
544+
"scope": "resource",
545+
"type": "boolean"
546+
},
541547
"Lua.runtime.version": {
542548
"default": "Lua 5.4",
543549
"enum": [

package.nls.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
"config.intelliSense.fastGlobal": "In the global variable completion, and view `_G` suspension prompt. This will slightly reduce the accuracy of type speculation, but it will have a significant performance improvement for projects that use a lot of global variables.",
3232
"config.intelliSense.searchDepth": "Set the search depth for IntelliSense. Increasing this value increases accuracy, but decreases performance. Different workspace have different tolerance for this setting. Please adjust it to the appropriate value.",
3333
"config.runtime.path": "`package.path`",
34-
"config.runtime.special": "The custom global variables are regarded as some special built-in variables, and the language server will provide special support",
34+
"config.runtime.special": "The custom global variables are regarded as some special built-in variables, and the language server will provide special support\nThe following example shows that 'include' is treated as' require '.\n```json\n\"Lua.runtime.special\" : {\n \"include\" : \"require\"\n}\n```\n",
35+
"config.runtime.unicodeName": "Allows Unicode characters in name.",
3536
"config.runtime.version": "Lua runtime version.",
3637
"config.signatureHelp.enable": "Enable signature help.",
3738
"config.workspace.ignoreDir": "Ignored directories (Use `.gitignore` grammar).\n",

package.nls.zh-cn.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
"config.intelliSense.searchDepth": "设置智能感知的搜索深度。增大该值可以增加准确度,但会降低性能。不同的项目对该设置的容忍度差异较大,请自己调整为合适的值。",
3636
"config.runtime.path": "`package.path`",
3737
"config.runtime.special": "将自定义全局变量视为一些特殊的内置变量,语言服务将提供特殊的支持。\n下面这个例子表示将 `include` 视为 `require` 。\n```json\n\"Lua.runtime.special\" : {\n \"include\" : \"require\"\n}\n```\n",
38+
"config.runtime.unicodeName": "允许在名字中使用 Unicode 字符。",
3839
"config.runtime.version": "Lua运行版本。",
3940
"config.signatureHelp.enable": "启用参数提示。",
4041
"config.workspace.ignoreDir": "忽略的目录(使用 `.gitignore` 语法)。\n",

setting/schema-zh-cn.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -522,6 +522,12 @@
522522
"scope": "resource",
523523
"type": "object"
524524
},
525+
"Lua.runtime.unicodeName": {
526+
"default": false,
527+
"markdownDescription": "允许在名字中使用 Unicode 字符。",
528+
"scope": "resource",
529+
"type": "boolean"
530+
},
525531
"Lua.runtime.version": {
526532
"default": "Lua 5.4",
527533
"enum": [

setting/schema.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@
500500
"type": "array"
501501
},
502502
"Lua.runtime.special": {
503-
"markdownDescription": "The custom global variables are regarded as some special built-in variables, and the language server will provide special support",
503+
"markdownDescription": "The custom global variables are regarded as some special built-in variables, and the language server will provide special support\nThe following example shows that 'include' is treated as' require '.\n```json\n\"Lua.runtime.special\" : {\n \"include\" : \"require\"\n}\n```\n",
504504
"patternProperties": {
505505
"": {
506506
"default": "require",
@@ -522,6 +522,12 @@
522522
"scope": "resource",
523523
"type": "object"
524524
},
525+
"Lua.runtime.unicodeName": {
526+
"default": false,
527+
"markdownDescription": "Allows Unicode characters in name.",
528+
"scope": "resource",
529+
"type": "boolean"
530+
},
525531
"Lua.runtime.version": {
526532
"default": "Lua 5.4",
527533
"enum": [

0 commit comments

Comments
 (0)