mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-21 11:05:08 +02:00
20 lines
452 B
Lua
20 lines
452 B
Lua
|
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
|