Closed theFool32 closed 5 years ago
The completion items are correct. All of a
, b
and c
are valid.
Why are they correct?
v
is vector<int>
while completion items are from struct Abc
Sorry for my oversight. You typed a.
, deleted .
, then added v
. In that case, the stale completion cache will be reused. I have thought about false positives while adding the cache, but your case is convincing enough to justify a change. Fixed by https://github.com/MaskRay/ccls/pull/489
Hi, I'm using doom-emacs with
(cc +lsp)
. The completion items seem mixed as below: orI use a clean doom-emacs without extra configuration on macos. ccls is installed by brew.
I also try nvim with coc.nvim. Wrong completion items show up and flash into correct ones. I am new to emacs and have no idea about how to deal with it.
Thanks.