ccls
ccls copied to clipboard
Cache doesn't seem to be working
Observed behavior
Every time I restart nvim (or even just run :CocRestart
which restarts ccls) is has to do a full re-index. Since this indexes 4374 files, this is quite painful.
Expected behavior
Restarting ccls shouldn't need to reindex anything if it was idle at the time of the restart.
Steps to reproduce
This repros every time I restart ccls
System information
- ccls version (
git describe --tags --long
): 0.20201219-4-gaca02d20 - clang version: clang version 11.0.1
- OS: Arch linux
- Editor: nvim-git
- Language client (and version): coc.nvim
Hey @RedBeard0531 were you able to find a solution to this?
I'm facing the same issue, but only when compile_commands.json
is generated with a Clang toolchain. It works fine with GCC.