From 8df1aa9a4de26765f70e63ccbb1ba8a43b3b2e89 Mon Sep 17 00:00:00 2001 From: siduck Date: Sat, 10 Aug 2024 16:02:51 +0530 Subject: [PATCH] lua lspconfig: include luv lib types #2960 --- lua/nvchad/configs/lspconfig.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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,