|
5 | 5 | "enable": true, |
6 | 6 | "defaultConfig": { |
7 | 7 | "indent_style": "space", |
8 | | - "indent_size": "2" |
9 | | - } |
| 8 | + "indent_size": "2", |
| 9 | + }, |
10 | 10 | }, |
11 | 11 | "diagnostics": { |
12 | 12 | "enable": true, |
13 | 13 | "neededFileStatus": { |
14 | | - "codestyle-check": "Any" |
| 14 | + "codestyle-check": "Any", |
15 | 15 | }, |
16 | 16 | "groupFileStatus": { |
17 | 17 | "strict": "Opened", |
|
23 | 23 | "redefined": "Opened", |
24 | 24 | "type-check": "Opened", |
25 | 25 | "unbalanced": "Opened", |
26 | | - "unused": "Opened" |
| 26 | + "unused": "Opened", |
27 | 27 | }, |
28 | 28 | "disable": ["different-requires"], |
29 | | - "unusedLocalExclude": ["_*"] |
| 29 | + "unusedLocalExclude": ["_*"], |
30 | 30 | }, |
31 | 31 | "workspace": { |
32 | 32 | "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", |
44 | 34 | "${3rd}/luv/library", |
45 | 35 | // For "cmp_src.lua" type resolving |
46 | 36 | "deps/mini.nvim", |
47 | 37 | "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", |
49 | 43 | ], |
50 | 44 | "checkThirdParty": false, |
51 | 45 | "maxPreload": 2000, |
52 | | - "preloadFileSize": 1000 |
| 46 | + "preloadFileSize": 1000, |
53 | 47 | }, |
54 | 48 | "type": { |
55 | 49 | "weakNilCheck": true, |
56 | 50 | "weakUnionCheck": true, |
57 | | - "castNumberToInteger": true |
| 51 | + "castNumberToInteger": true, |
58 | 52 | }, |
59 | 53 | "hint": { |
60 | 54 | "enable": true, |
61 | | - "setType": true |
| 55 | + "setType": true, |
62 | 56 | }, |
63 | | - "telemetry.enable": false |
| 57 | + "telemetry.enable": false, |
64 | 58 | } |
0 commit comments