|
32 | 32 | "scope": "resource", |
33 | 33 | "type": "string" |
34 | 34 | }, |
| 35 | + "Lua.completion.displayContext": { |
| 36 | + "default": 6, |
| 37 | + "markdownDescription": "Previewing the relevant code snippet of the suggestion may help you understand the usage of the suggestion. The number set indicates the number of intercepted lines in the code fragment. If it is set to `0`, this feature can be disabled.", |
| 38 | + "scope": "resource", |
| 39 | + "type": "integer" |
| 40 | + }, |
35 | 41 | "Lua.completion.enable": { |
36 | 42 | "default": true, |
37 | 43 | "markdownDescription": "Enable completion.", |
|
76 | 82 | "items": { |
77 | 83 | "type": "string" |
78 | 84 | }, |
79 | | - "markdownDescription": "Disabled diagnostic (Use code in hover brackets).\u000a```json\u000a\"Lua.diagnostics.disable\" : [\u000a \"unused-local\",\u000a \"lowercase-global\"\u000a]\u000a```\u000a", |
| 85 | + "markdownDescription": "Disabled diagnostic (Use code in hover brackets).\n```json\n\"Lua.diagnostics.disable\" : [\n \"unused-local\",\n \"lowercase-global\"\n]\n```\n", |
80 | 86 | "scope": "resource", |
81 | 87 | "type": "array" |
82 | 88 | }, |
|
90 | 96 | "items": { |
91 | 97 | "type": "string" |
92 | 98 | }, |
93 | | - "markdownDescription": "Defined global variables.\u000a```json\u000a\"Lua.diagnostics.globals\" : [\u000a \"GLOBAL1\",\u000a \"GLOBAL2\"\u000a]\u000a```\u000a", |
| 99 | + "markdownDescription": "Defined global variables.\n```json\n\"Lua.diagnostics.globals\" : [\n \"GLOBAL1\",\n \"GLOBAL2\"\n]\n```\n", |
94 | 100 | "scope": "resource", |
95 | 101 | "type": "array" |
96 | 102 | }, |
97 | 103 | "Lua.diagnostics.severity": { |
98 | | - "markdownDescription": "Modified diagnostic severity.\u000a```json\u000a\"Lua.diagnostics.severity\" : {\u000a \"redefined-local\" : \"Warning\",\u000a \"emmy-lua\" : \"Hint\"\u000a}\u000a```\u000a", |
| 104 | + "markdownDescription": "Modified diagnostic severity.\n```json\n\"Lua.diagnostics.severity\" : {\n \"redefined-local\" : \"Warning\",\n \"emmy-lua\" : \"Hint\"\n}\n```\n", |
99 | 105 | "properties": { |
100 | 106 | "ambiguity-1": { |
101 | 107 | "default": "Warning", |
|
360 | 366 | "Lua.runtime.path": { |
361 | 367 | "default": [ |
362 | 368 | "?.lua", |
363 | | - "?\/init.lua", |
364 | | - "?\/?.lua" |
| 369 | + "?/init.lua", |
| 370 | + "?/?.lua" |
365 | 371 | ], |
366 | 372 | "items": { |
367 | 373 | "type": "string" |
|
396 | 402 | "items": { |
397 | 403 | "type": "string" |
398 | 404 | }, |
399 | | - "markdownDescription": "Ignored directories (Use `.gitignore` grammar).\u000a```json\u000a\"Lua.workspace.ignoreDir\" : [\u000a \"temp\/*.*\",\u000a \"!temp\/*.lua\"\u000a]\u000a```\u000a", |
| 405 | + "markdownDescription": "Ignored directories (Use `.gitignore` grammar).\n```json\n\"Lua.workspace.ignoreDir\" : [\n \"temp/*.*\",\n \"!temp/*.lua\"\n]\n```\n", |
400 | 406 | "scope": "resource", |
401 | 407 | "type": "array" |
402 | 408 | }, |
|
407 | 413 | "type": "boolean" |
408 | 414 | }, |
409 | 415 | "Lua.workspace.library": { |
410 | | - "markdownDescription": "Load external library.\u000aThis feature can load external Lua files, which can be used for definition, automatic completion and other functions. Note that the language server does not monitor changes in external files and needs to restart if the external files are modified.\u000aThe following example shows loaded files in `C:\/lua` and `..\/lib` ,exclude `..\/lib\/temp`.\u000a```json\u000a\"Lua.workspace.library\": {\u000a \"C:\/lua\": true,\u000a \"..\/lib\": [\u000a \"temp\/*\"\u000a ]\u000a}\u000a```\u000a", |
| 416 | + "markdownDescription": "Load external library.\nThis feature can load external Lua files, which can be used for definition, automatic completion and other functions. Note that the language server does not monitor changes in external files and needs to restart if the external files are modified.\nThe following example shows loaded files in `C:/lua` and `../lib` ,exclude `../lib/temp`.\n```json\n\"Lua.workspace.library\": {\n \"C:/lua\": true,\n \"../lib\": [\n \"temp/*\"\n ]\n}\n```\n", |
411 | 417 | "scope": "resource", |
412 | 418 | "type": "object" |
413 | 419 | }, |
|
428 | 434 | "markdownDescription": "Ignore files list in `.gitignore` .", |
429 | 435 | "scope": "resource", |
430 | 436 | "type": "boolean" |
| 437 | + }, |
| 438 | + "Lua.zzzzzz.cat": { |
| 439 | + "default": false, |
| 440 | + "markdownDescription": "DONT TOUCH ME, LET ME SLEEP >_<", |
| 441 | + "scope": "resource", |
| 442 | + "type": "boolean" |
431 | 443 | } |
432 | 444 | }, |
433 | 445 | "title": "setting", |
|
0 commit comments