Skip to content

Commit 1f4c21f

Browse files
committed
Don't extend lsp capabilities because blink does it internally
1 parent 4021496 commit 1f4c21f

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

init.lua

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -598,12 +598,6 @@ require('lazy').setup({
598598
end,
599599
})
600600

601-
-- LSP servers and clients are able to communicate to each other what features they support.
602-
-- By default, Neovim doesn't support everything that is in the LSP specification.
603-
-- When you add blink.cmp, luasnip, etc. Neovim now has *more* capabilities.
604-
-- So, we create new capabilities with blink.cmp, and then broadcast that to the servers.
605-
local capabilities = require('blink.cmp').get_lsp_capabilities()
606-
607601
-- Enable the following language servers
608602
-- Feel free to add/remove any LSPs that you want here. They will automatically be installed.
609603
-- See `:help lsp-config` for information about keys and how to configure
@@ -667,7 +661,6 @@ require('lazy').setup({
667661
require('mason-tool-installer').setup { ensure_installed = ensure_installed }
668662

669663
for name, server in pairs(servers) do
670-
server.capabilities = vim.tbl_deep_extend('force', {}, capabilities, server.capabilities or {})
671664
vim.lsp.config(name, server)
672665
vim.lsp.enable(name)
673666
end

0 commit comments

Comments
 (0)