blob: 4fee1fd17ae27fb7e944d4f24625f5c901521e34 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
local opts = {
settings = {
Lua = {
diagnostics = {
globals = { "vim", "lvim" },
},
workspace = {
library = {
[require("utils").join_paths(get_runtime_dir(), "lvim", "lua")] = true,
[vim.fn.expand "$VIMRUNTIME/lua"] = true,
[vim.fn.expand "$VIMRUNTIME/lua/vim/lsp"] = true,
},
maxPreload = 100000,
preloadFileSize = 10000,
},
},
},
}
return opts
|