Nvim: Add clangd

This commit is contained in:
GHOSCHT 2024-11-17 15:19:54 +01:00
parent 0c0dd6ab30
commit 5b3d999a86
Signed by: ghoscht
GPG key ID: 2C2C1C62A5388E82
2 changed files with 9 additions and 0 deletions

View file

@ -11,6 +11,7 @@
# LSP # LSP
lua-language-server lua-language-server
pkgs.nodePackages.typescript-language-server pkgs.nodePackages.typescript-language-server
clang-tools
# Formatters # Formatters
stylua # lua stylua # lua

View file

@ -65,3 +65,11 @@ require("lspconfig").eslint.setup({
}) })
end, end,
}) })
require("lspconfig").clangd.setup({
on_attach = function(client, bufnr)
client.server_capabilities.signatureHelpProvider = false
on_attach(client, bufnr)
end,
capabilities = capabilities,
})