Skip to content

Commit 52df667

Browse files
committed
missed locale
1 parent 78575cb commit 52df667

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

package.nls.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"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.",
3838
"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.",
3939
"config.misc.parameters": "[Command line parameters](https://github.com/sumneko/lua-telemetry-server/tree/master/method) when starting the language service in VSCode.",
40+
"config.runtime.builtin": "Adjust the enabled state of the built-in library. You can disable (or redefine) the non-existent library according to the actual runtime environment.\n\n* `default`: Indicates that the library will be enabled or disabled according to the runtime version\n* `enable`: always enable\n* `disable`: always disable\n",
4041
"config.runtime.fileEncoding": "File encoding. The `ansi` option is only available under the `Windows` platform.",
4142
"config.runtime.nonstandardSymbol": "Supports non-standard symbols. Make sure that your runtime environment supports these symbols.",
4243
"config.runtime.path": "`package.path`",

package/nls.lua

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ The following example shows that 'include' is treated as' require '.
1111
["config.runtime.nonstandardSymbol"] = "Supports non-standard symbols. Make sure that your runtime environment supports these symbols.",
1212
["config.runtime.plugin"] = "(Proposed) Plugin path.",
1313
["config.runtime.fileEncoding"] = "File encoding. The `ansi` option is only available under the `Windows` platform.",
14+
['config.runtime.builtin'] = [[
15+
Adjust the enabled state of the built-in library. You can disable (or redefine) the non-existent library according to the actual runtime environment.
16+
17+
* `default`: Indicates that the library will be enabled or disabled according to the runtime version
18+
* `enable`: always enable
19+
* `disable`: always disable
20+
]],
1421
["config.diagnostics.enable"] = "Enable diagnostics.",
1522
["config.diagnostics.disable"] = "Disabled diagnostic (Use code in hover brackets).\n",-- .. example.disable,
1623
["config.diagnostics.globals"] = "Defined global variables.\n",-- .. example.globals,

setting/schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -966,7 +966,7 @@
966966
"type": "string"
967967
},
968968
"Lua.runtime.builtin": {
969-
"markdownDescription": "%config.runtime.builtin%",
969+
"markdownDescription": "Adjust the enabled state of the built-in library. You can disable (or redefine) the non-existent library according to the actual runtime environment.\n\n* `default`: Indicates that the library will be enabled or disabled according to the runtime version\n* `enable`: always enable\n* `disable`: always disable\n",
970970
"properties": {
971971
"basic": {
972972
"default": "default",

0 commit comments

Comments
 (0)