1
Fork 0
nixos-system-config/dotfiles/nvim/lua/plugins/lsp/c.lua
caem 9a59dfb308
nvim: Add support for clangd for C++ and ccls for C
clangd doesn't work the way I want it to with C.
ccls doesn't work the way I want it to with C++.

So now I use both for each ones they work well with.
2024-12-11 14:39:07 +01:00

8 lines
160 B
Lua

return function ()
require"lspconfig".ccls.setup {
capabilities = require"cmp_nvim_lsp".default_capabilities(),
filetypes = {
"c"
}
}
end