lua_ls config: make workspace.library string[]

This commit is contained in:
siduck 2024-05-31 22:01:40 +05:30
parent e0641d0cb2
commit d2f98ccd26

View File

@ -77,10 +77,10 @@ M.defaults = function()
}, },
workspace = { workspace = {
library = { library = {
[vim.fn.expand "$VIMRUNTIME/lua"] = true, vim.fn.expand "$VIMRUNTIME/lua",
[vim.fn.expand "$VIMRUNTIME/lua/vim/lsp"] = true, vim.fn.expand "$VIMRUNTIME/lua/vim/lsp",
[vim.fn.stdpath "data" .. "/lazy/ui/nvchad_types"] = true, vim.fn.stdpath "data" .. "/lazy/ui/nvchad_types",
[vim.fn.stdpath "data" .. "/lazy/lazy.nvim/lua/lazy"] = true, vim.fn.stdpath "data" .. "/lazy/lazy.nvim/lua/lazy",
}, },
maxPreload = 100000, maxPreload = 100000,
preloadFileSize = 10000, preloadFileSize = 10000,