add nvchad_types to sumenko lsp config

also remove nvimtree depreceated option
This commit is contained in:
siduck 2023-01-31 13:08:39 +05:30
parent 2ee1ada911
commit 205802b49f
2 changed files with 1 additions and 1 deletions

View File

@ -50,6 +50,7 @@ require("lspconfig").sumneko_lua.setup {
library = { library = {
[vim.fn.expand "$VIMRUNTIME/lua"] = true, [vim.fn.expand "$VIMRUNTIME/lua"] = true,
[vim.fn.expand "$VIMRUNTIME/lua/vim/lsp"] = true, [vim.fn.expand "$VIMRUNTIME/lua/vim/lsp"] = true,
[vim.fn.stdpath("data") .. "/lazy/extensions/nvchad_types"] = true,
}, },
maxPreload = 100000, maxPreload = 100000,
preloadFileSize = 10000, preloadFileSize = 10000,

View File

@ -7,7 +7,6 @@ local options = {
}, },
disable_netrw = true, disable_netrw = true,
hijack_netrw = true, hijack_netrw = true,
open_on_setup = false,
hijack_cursor = true, hijack_cursor = true,
hijack_unnamed_buffer_when_opening = false, hijack_unnamed_buffer_when_opening = false,
update_cwd = true, update_cwd = true,