How To Setup Clangd With GCC Headers and Neovim LSP for Competitive Programming

Michael Bao
Unixification
Published in
5 min readJan 8, 2023

--

Screenshot by author

I recently got frustrated with ccls because it was the only thing slowing down my blazingly fast Neovim experience. Don’t get me wrong it’s a great tool, however, the gripe I had with it is that it didn’t have single-file support, which… in competitive programming is almost always the case. Single-file support means that clangd or ccls won’t index…

--

--

Michael Bao
Unixification

Neovim | Arch Linux | macOS | I love to write about random tech stuff. Tinkering around with Linux, Neovim, and computers.