lua lspconfig: include luv lib types #2960
This commit is contained in:
parent
c40c5116c4
commit
8df1aa9a4d
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user