12345678910111213141516171819 |
- 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
|