|
1 | 1 | {
|
2 | 2 | "$schema": "https://raw.githubusercontent.com/sumneko/vscode-lua/master/setting/schema.json",
|
3 |
| - "runtime.version" : "Lua 5.1", |
| 3 | + "runtime.version": "Lua 5.1", |
4 | 4 | "workspace": {
|
5 | 5 | "library": [
|
6 |
| - "$VIMRUNTIME/lua/vim/lsp", |
| 6 | + "$VIMRUNTIME/lua/vim", |
7 | 7 | "${3rd}/luv/library"
|
8 | 8 | ]
|
9 | 9 | },
|
10 | 10 | "diagnostics": {
|
11 | 11 | "libraryFiles": "Disable",
|
12 |
| - "globals": [ |
13 |
| - "vim" |
14 |
| - ], |
| 12 | + "severity": { |
| 13 | + "deprecated": "Hint" |
| 14 | + }, |
15 | 15 | "neededFileStatus": {
|
16 | 16 | "ambiguity-1": "Any",
|
17 | 17 | "assign-type-mismatch": "Any",
|
|
23 | 23 | "code-after-break": "Any",
|
24 | 24 | "codestyle-check": "None",
|
25 | 25 | "count-down-loop": "Any",
|
26 |
| - "deprecated": "Any", |
| 26 | + "deprecated": "None", |
27 | 27 | "different-requires": "Any",
|
28 | 28 | "discard-returns": "Any",
|
29 | 29 | "doc-field-no-class": "Any",
|
|
33 | 33 | "duplicate-index": "Any",
|
34 | 34 | "duplicate-set-field": "Any",
|
35 | 35 | "empty-block": "Any",
|
| 36 | + "global-element": "Any", |
36 | 37 | "global-in-nil-env": "Any",
|
| 38 | + "incomplete-signature-doc": "None", |
| 39 | + "inject-field": "Any", |
| 40 | + "invisible": "Any", |
37 | 41 | "lowercase-global": "Any",
|
| 42 | + "missing-fields": "Any", |
| 43 | + "missing-global-doc": "Any", |
| 44 | + "missing-local-export-doc": "None", |
38 | 45 | "missing-parameter": "Any",
|
39 | 46 | "missing-return": "Any",
|
40 | 47 | "missing-return-value": "Any",
|
| 48 | + "name-style-check": "None", |
41 | 49 | "need-check-nil": "Any",
|
42 | 50 | "newfield-call": "Any",
|
43 | 51 | "newline-call": "Any",
|
|
70 | 78 | }
|
71 | 79 | }
|
72 | 80 | }
|
73 |
| - |
|
0 commit comments