diff --git a/home/features/coding/nvim/default.nix b/home/features/coding/nvim/default.nix index 40840cb..afeb677 100644 --- a/home/features/coding/nvim/default.nix +++ b/home/features/coding/nvim/default.nix @@ -11,6 +11,7 @@ # LSP lua-language-server pkgs.nodePackages.typescript-language-server + clang-tools # Formatters stylua # lua diff --git a/home/features/coding/nvim/plugin/lsp.lua b/home/features/coding/nvim/plugin/lsp.lua index 0666611..fdcbe72 100644 --- a/home/features/coding/nvim/plugin/lsp.lua +++ b/home/features/coding/nvim/plugin/lsp.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, +})