I have coc.nvim installed for autocompletion in vim. I usually include bits/stdc++.h(GNU-specific) in my files for competitive programming.

I use the g++ compiler so I have no trouble there, but since I'm using clangd language server for coc, syntax checking doesn't recognize the header and displays errors in the include path. Is there any way to add bits/stdc++ to clangd include path?

  • Welcome to Vi and Vim! I’m not convinced this is specific to vim; you might get better solutions from the clangd team, since they work on the tool.
    – D. Ben Knoble
    Oct 28 '20 at 18:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.