feat: add mason lsp

This commit is contained in:
Fabio Lenherr / DashieTM 2022-10-12 00:32:56 +02:00
parent 18fc525867
commit a9cb122592
13 changed files with 574 additions and 197 deletions

View file

@ -12,15 +12,15 @@ if not config_status_ok then
end
-- Replaces auto_close
local tree_cb = nvim_tree_config.nvim_tree_callback
vim.api.nvim_create_autocmd("BufEnter", {
nested = true,
callback = function()
if #vim.api.nvim_list_wins() == 1 and vim.api.nvim_buf_get_name(0):match("NvimTree_") ~= nil then
vim.cmd "quit"
end
end
})
--local tree_cb = nvim_tree_config.nvim_tree_callback
--vim.api.nvim_create_autocmd("BufEnter", {
-- nested = true,
-- callback = function()
-- if #vim.api.nvim_list_wins() == 1 and vim.api.nvim_buf_get_name(0):match("NvimTree_") ~= nil then
-- vim.cmd "quit"
-- end
-- end
--})
nvim_tree.setup { -- BEGIN_DEFAULT_OPTS