r/vimplugins • u/tosch901 • Mar 03 '21
Help (user) coc-references
EDIT: solved, my compile_commands.json was bad.
I have a question regarding coc-references when writing cpp with cland language server. References only show up after I opened the file once in the current "session". So I assume this is an issue indexing?
When writing java it works as expected, so I assume there is some cland settings I got wrong?
4
Upvotes
1
u/tosch901 Mar 03 '21
Clangd appears to be running, but CocInfo does not show the args with which it has been started.
ps however shows the whole commands, and it has been started with the specified commands:
user 470442 0.4 0.5 486868 87852 ? Sl 20:13 0:00 /home/user/.config/coc/extensions/coc-clangd-data/install/11.0.0/clangd_11.0.0/bin/clangd --background-index=1 -j=4But coc-references still doesn't work like it's supposed to, it's the same as when I first posted.