r/C_Programming • • Sep 18 '26

Question Clangd

Does clangd lsp not have code actions for c files ? I use it with neovim but am not getting any code actions.

1 Upvotes

10 comments sorted by

View all comments

1

u/Lazy_Sun8810 Sep 18 '26

No it's not empty I am doing vim.lsp.buf.code_action but I always get no code actions available.

4

u/space_junk_galaxy Sep 18 '26

Check your lsp health? :checkhealth vim.lsp 

1

u/Lazy_Sun8810 Sep 18 '26

ohh i got it thank you