aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksa Vuckovic <aleksa@vuckovic.cc>2023-04-29 01:28:27 +0200
committerAleksa Vuckovic <aleksa@vuckovic.cc>2023-04-29 01:28:27 +0200
commit88af70e85835af1a39a579ffe1735caafc4113a0 (patch)
treea2bafcbe2eb456d24b6bb5becb4017e7dd33b972
parente37e216a65a8b0df58dce366f50a4d8b896cde0b (diff)
fixes after updating plugins
-rw-r--r--lua/user/lsp/mason.lua12
-rw-r--r--lua/user/nvim-tree.lua5
2 files changed, 6 insertions, 11 deletions
diff --git a/lua/user/lsp/mason.lua b/lua/user/lsp/mason.lua
index 8425934..83c940b 100644
--- a/lua/user/lsp/mason.lua
+++ b/lua/user/lsp/mason.lua
@@ -56,7 +56,7 @@ mason_lspconfig.setup({
automatic_installation = true,
})
-table.insert(servers, "ccls")
+--table.insert(servers, "ccls")
mason_lspconfig.setup_handlers {
function(server_name)
lspconfig[server_name].setup {
@@ -70,12 +70,12 @@ mason_lspconfig.setup_handlers {
mason_null_ls.setup({
automatic_setup = true,
ensure_installed = {},
+ handlers = {
+ function(source_name, methods)
+ require("mason-null-ls.automatic_setup")(source_name, methods)
+ end,
+ },
})
-mason_null_ls.setup_handlers {
- function(source_name, methods)
- require("mason-null-ls.automatic_setup")(source_name, methods)
- end,
-}
-- null_ls
null_ls.setup()
diff --git a/lua/user/nvim-tree.lua b/lua/user/nvim-tree.lua
index 7a65321..8a8518a 100644
--- a/lua/user/nvim-tree.lua
+++ b/lua/user/nvim-tree.lua
@@ -52,11 +52,6 @@ nvim_tree.setup {
side = "left",
mappings = {
custom_only = false,
- list = {
- { key = { "l", "<CR>", "o" }, cb = tree_cb "edit" },
- { key = "h", cb = tree_cb "close_node" },
- { key = "v", cb = tree_cb "vsplit" },
- },
},
number = false,
relativenumber = false,