From 1f4c21f4637eb7af77c34ac87c739e378043a336 Mon Sep 17 00:00:00 2001 From: Ori Perry Date: Fri, 27 Feb 2026 23:27:25 +0200 Subject: [PATCH] Don't extend lsp capabilities because blink does it internally --- init.lua | 7 ------- 1 file changed, 7 deletions(-) diff --git a/init.lua b/init.lua index a35d52fc..227f6e13 100644 --- a/init.lua +++ b/init.lua @@ -598,12 +598,6 @@ require('lazy').setup({ end, }) - -- LSP servers and clients are able to communicate to each other what features they support. - -- By default, Neovim doesn't support everything that is in the LSP specification. - -- When you add blink.cmp, luasnip, etc. Neovim now has *more* capabilities. - -- So, we create new capabilities with blink.cmp, and then broadcast that to the servers. - local capabilities = require('blink.cmp').get_lsp_capabilities() - -- Enable the following language servers -- Feel free to add/remove any LSPs that you want here. They will automatically be installed. -- See `:help lsp-config` for information about keys and how to configure @@ -667,7 +661,6 @@ require('lazy').setup({ require('mason-tool-installer').setup { ensure_installed = ensure_installed } for name, server in pairs(servers) do - server.capabilities = vim.tbl_deep_extend('force', {}, capabilities, server.capabilities or {}) vim.lsp.config(name, server) vim.lsp.enable(name) end