From 9d9062ba0b3d4f515e3858f95a45739688bab02a Mon Sep 17 00:00:00 2001 From: Syndamia Date: Fri, 7 Nov 2025 18:21:48 +0200 Subject: fix(lsp): Use vim.lsp.config instead of require("lspconfig") This is because of nvim 0.11 --- lua/plugins/lsp.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lua/plugins/lsp.lua') diff --git a/lua/plugins/lsp.lua b/lua/plugins/lsp.lua index 6b438de..176bd84 100644 --- a/lua/plugins/lsp.lua +++ b/lua/plugins/lsp.lua @@ -39,7 +39,7 @@ return { }, config = function(_, opts) for k,v in pairs(opts) do - require("lspconfig")[k].setup(v) + vim.lsp.config(k, v) end end, }, @@ -123,7 +123,7 @@ return { automatic_installation = true, handlers = { function(server_name) - require('lspconfig')[server_name].setup({}) + vim.lsp.config(server_name, {}) end, }, }, -- cgit v1.3.1-23-gd82d