diff --git a/lua/nvchad/configs/lspconfig.lua b/lua/nvchad/configs/lspconfig.lua index 9f4473d..5100a3d 100644 --- a/lua/nvchad/configs/lspconfig.lua +++ b/lua/nvchad/configs/lspconfig.lua @@ -57,7 +57,7 @@ M.capabilities.textDocument.completion.completionItem = { M.defaults = function() dofile(vim.g.base46_cache .. "lsp") - require ("nvchad.lsp").diagnostic_config() + require("nvchad.lsp").diagnostic_config() require("lspconfig").lua_ls.setup { on_attach = M.on_attach, @@ -75,6 +75,7 @@ M.defaults = function() vim.fn.expand "$VIMRUNTIME/lua/vim/lsp", vim.fn.stdpath "data" .. "/lazy/ui/nvchad_types", vim.fn.stdpath "data" .. "/lazy/lazy.nvim/lua/lazy", + "${3rd}/luv/library", }, maxPreload = 100000, preloadFileSize = 10000,