-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.luarc.json
More file actions
82 lines (82 loc) · 1.88 KB
/
.luarc.json
File metadata and controls
82 lines (82 loc) · 1.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"$schema": "https://raw.githubusercontent.com/LuaLS/vscode-lua/master/setting/schema.json",
"runtime": {
"version": "LuaJIT",
"pathStrict": true,
"special": { "reload": "require" }
},
"diagnostics": {
"severity": {
"undefined-global": "Error",
"unused-local": "Error",
"unused-function": "Warning",
"unused-label": "Error",
"deprecated": "Warning",
"redundant-parameter": "Warning",
"redundant-value": "Warning",
"need-check-nil": "Error",
"undefined-field": "Error",
"missing-parameter": "Error",
"param-type-mismatch": "Error",
"assign-type-mismatch": "Error"
},
"neededFileStatus": {
"codestyle-check": "None",
"no-unknown": "None",
"trailing-space": "None",
"redefined-local": "Any"
},
"unusedLocalExclude": ["_*"],
"globals": ["vim"],
"groupSeverity": {
"strong": "Error",
"strict": "Error"
}
},
"workspace": {
"library": [
"$VIMRUNTIME",
"$VIMRUNTIME/lua",
"$VIMRUNTIME/lua/vim",
"${3rd}/luv/library",
"${3rd}/busted/library",
"$PWD/lua",
"$PWD/tests",
"$PWD/deps/mini.nvim/lua"
],
"checkThirdParty": false,
"preloadFileSize": 10000,
"ignoreDir": [".git", "node_modules", ".github", "deps"]
},
"type": {
"checkTableShape": true,
"castNumberToInteger": true,
"weakUnionCheck": false,
"weakNilCheck": false
},
"hint": {
"enable": true,
"arrayIndex": "Enable",
"await": true,
"paramName": "All",
"paramType": true,
"setType": true
},
"format": {
"enable": false
},
"typeFormat": {
"config": { "format_line": "false" }
},
"doc": {
"privateName": ["_*"],
"protectedName": ["__*"]
},
"completion": {
"callSnippet": "Both",
"keywordSnippet": "Replace"
},
"telemetry": {
"enable": false
}
}