Nvim: Add clangd
This commit is contained in:
parent
0c0dd6ab30
commit
5b3d999a86
2 changed files with 9 additions and 0 deletions
|
@ -11,6 +11,7 @@
|
|||
# LSP
|
||||
lua-language-server
|
||||
pkgs.nodePackages.typescript-language-server
|
||||
clang-tools
|
||||
|
||||
# Formatters
|
||||
stylua # lua
|
||||
|
|
|
@ -65,3 +65,11 @@ require("lspconfig").eslint.setup({
|
|||
})
|
||||
end,
|
||||
})
|
||||
|
||||
require("lspconfig").clangd.setup({
|
||||
on_attach = function(client, bufnr)
|
||||
client.server_capabilities.signatureHelpProvider = false
|
||||
on_attach(client, bufnr)
|
||||
end,
|
||||
capabilities = capabilities,
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue