-
Notifications
You must be signed in to change notification settings - Fork 150
/
.luarc.jsonc
38 lines (38 loc) · 992 Bytes
/
.luarc.jsonc
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
{
"$schema": "https://raw.githubusercontent.com/LuaLS/vscode-lua/master/setting/schema.json",
"runtime.version": "LuaJIT",
"diagnostics": {
"enable": true,
"globals": ["vim"],
"neededFileStatus": {
"codestyle-check": "Any"
},
"disable": ["need-check-nil", "missing-parameter", "cast-local-type"]
},
"workspace": {
"library": [
"lua",
"$VIMRUNTIME/lua",
"${3rd}/luv/library",
"$XDG_DATA_HOME/nvim/lazy/plenary.nvim/lua",
"$LOCALAPPDATA/nvim-data/lazy/plenary.nvim/lua",
// For "cmp_src.lua" type resolving
"$XDG_DATA_HOME/nvim/lazy/nvim-cmp/lua",
"$LOCALAPPDATA/nvim-data/lazy/nvim-cmp/lua"
],
"checkThirdParty": false,
"maxPreload": 2000,
"preloadFileSize": 1000,
"ignoreDir": ["tests/"]
},
"type": {
"weakNilCheck": true,
"weakUnionCheck": true,
"castNumberToInteger": true
},
"hint": {
"enable": true,
"setType": true,
},
"telemetry.enable": false
}