fix(nvim): rm clangd from default lsp
This commit is contained in:
parent
5b1aaedcb8
commit
14a26288e1
@ -71,20 +71,6 @@ local function setup_cmp()
|
|||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
local function setup_lspconfig()
|
|
||||||
local nvim_lsp = require("lspconfig")
|
|
||||||
|
|
||||||
|
|
||||||
-- Use a loop to conveniently call 'setup' on multiple servers and
|
|
||||||
-- map buffer local keybindings when the language server attaches
|
|
||||||
|
|
||||||
local capabilities = require('cmp_nvim_lsp').default_capabilities(vim.lsp.protocol.make_client_capabilities())
|
|
||||||
|
|
||||||
nvim_lsp.clangd.setup {
|
|
||||||
capabilities = capabilities,
|
|
||||||
}
|
|
||||||
end
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
'hrsh7th/nvim-cmp',
|
'hrsh7th/nvim-cmp',
|
||||||
@ -102,7 +88,6 @@ return {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
'neovim/nvim-lspconfig',
|
'neovim/nvim-lspconfig',
|
||||||
config = setup_lspconfig,
|
|
||||||
keys = {
|
keys = {
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user