diff --git a/dotfiles/nvim/lua/plugins/lsp/c.lua b/dotfiles/nvim/lua/plugins/lsp/c.lua index d22f0a6..d7e8bed 100644 --- a/dotfiles/nvim/lua/plugins/lsp/c.lua +++ b/dotfiles/nvim/lua/plugins/lsp/c.lua @@ -1,5 +1,5 @@ return function () - require"lspconfig".ccls.setup { + require"lspconfig".clangd.setup { capabilities = require"cmp_nvim_lsp".default_capabilities() } end diff --git a/modules/packages/nvim.nix b/modules/packages/nvim.nix index 392bf53..8ec4338 100644 --- a/modules/packages/nvim.nix +++ b/modules/packages/nvim.nix @@ -18,10 +18,12 @@ lua-language-server nodePackages.intelephense nodePackages.typescript-language-server - ccls + (llvmPackages_19.clang-tools.override { + enableLibcxx = true; + }) ripgrep nil - gcc + gcc14 basedpyright rust-analyzer zathura