Skip to content

Commit cdfac04

Browse files
committed
chore(luals): revert c4cc687, 9864a16
Add local deps plugin paths Format with prettier Not needed, lazydev was messing up the loading
1 parent 3b45f14 commit cdfac04

1 file changed

Lines changed: 15 additions & 21 deletions

File tree

.luarc.jsonc

Lines changed: 15 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
"enable": true,
66
"defaultConfig": {
77
"indent_style": "space",
8-
"indent_size": "2"
9-
}
8+
"indent_size": "2",
9+
},
1010
},
1111
"diagnostics": {
1212
"enable": true,
1313
"neededFileStatus": {
14-
"codestyle-check": "Any"
14+
"codestyle-check": "Any",
1515
},
1616
"groupFileStatus": {
1717
"strict": "Opened",
@@ -23,42 +23,36 @@
2323
"redefined": "Opened",
2424
"type-check": "Opened",
2525
"unbalanced": "Opened",
26-
"unused": "Opened"
26+
"unused": "Opened",
2727
},
2828
"disable": ["different-requires"],
29-
"unusedLocalExclude": ["_*"]
29+
"unusedLocalExclude": ["_*"],
3030
},
3131
"workspace": {
3232
"library": [
33-
//
34-
// Trigger loading our meta definition file "types.lua"
35-
// without this we get warnings about global "FzfLua"
36-
// also enables inter-module resolving and completion
37-
// i.e. defs/refs/impl for utils, libuv, shell, etc
38-
//
39-
// For more info:
40-
// https://luals.github.io/wiki/definition-files
41-
//
42-
"lua",
43-
"$VIMRUNTIME/lua",
33+
"$VIMRUNTIME",
4434
"${3rd}/luv/library",
4535
// For "cmp_src.lua" type resolving
4636
"deps/mini.nvim",
4737
"deps/nvim-web-devicons",
48-
"deps/nvim-cmp"
38+
"deps/nvim-cmp",
39+
// For local dec env resolving from lazy.nvim's cache
40+
"$XDG_DATA_HOME/nvim/lazy/mini.nvim",
41+
"$XDG_DATA_HOME/nvim/lazy/nvim-web-devicons",
42+
"$XDG_DATA_HOME/nvim/lazy/nvim-cmp",
4943
],
5044
"checkThirdParty": false,
5145
"maxPreload": 2000,
52-
"preloadFileSize": 1000
46+
"preloadFileSize": 1000,
5347
},
5448
"type": {
5549
"weakNilCheck": true,
5650
"weakUnionCheck": true,
57-
"castNumberToInteger": true
51+
"castNumberToInteger": true,
5852
},
5953
"hint": {
6054
"enable": true,
61-
"setType": true
55+
"setType": true,
6256
},
63-
"telemetry.enable": false
57+
"telemetry.enable": false,
6458
}

0 commit comments

Comments
 (0)