fix: neo-tree width, setup neodev

This commit is contained in:
əlemi 2023-04-15 22:15:54 +02:00
parent 3be3b6eace
commit 2ecddd6d06
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -99,6 +99,9 @@ return {
"symbolmap", "symbolmap",
"diagnostics", "diagnostics",
}, },
window = {
width = 30,
}
}) })
end end
}, },
@ -177,6 +180,7 @@ return {
'folke/neodev.nvim', -- configure lua lsp with neovim runtime 'folke/neodev.nvim', -- configure lua lsp with neovim runtime
}, },
config = function () config = function ()
require("neodev").setup({})
local capabilities = require('cmp_nvim_lsp').default_capabilities(vim.lsp.protocol.make_client_capabilities()) local capabilities = require('cmp_nvim_lsp').default_capabilities(vim.lsp.protocol.make_client_capabilities())
local lspconfig = require("lspconfig") local lspconfig = require("lspconfig")
lspconfig.bashls.setup({capabilities=capabilities, on_attach=set_lsp_binds}) lspconfig.bashls.setup({capabilities=capabilities, on_attach=set_lsp_binds})