From cf6ae8ba4022ceb278b72826b87a602ba085fb99 Mon Sep 17 00:00:00 2001 From: SamuraX Date: Sat, 30 Sep 2023 23:50:07 -0300 Subject: [PATCH] fix: fix mason_lspconfig import Fix an error that was being caused because setup_handlers was being called from nvim-lspconfig instead of mason-lspconfig --- .config/nvim/lua/josean/plugins/lsp/lspconfig.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.config/nvim/lua/josean/plugins/lsp/lspconfig.lua b/.config/nvim/lua/josean/plugins/lsp/lspconfig.lua index c8ff2f8..d3638c1 100644 --- a/.config/nvim/lua/josean/plugins/lsp/lspconfig.lua +++ b/.config/nvim/lua/josean/plugins/lsp/lspconfig.lua @@ -77,7 +77,8 @@ return { }) end - lspconfig.setup_handlers({ + local mason_lspconfig = require("mason-lspconfig") + mason_lspconfig.setup_handlers({ function(server_name) default_handler(server_name, capabilities) end,