company-c-headers
company-c-headers copied to clipboard
Completion does not insert selected item when used with company-irony
I have my company backends set to (company-c-headers company-irony)
, (add-hook 'irony-mode-hook #'company-irony-setup-begin-commands)
is in my init.el, here's how to reproduce the bug:
- Start typing
#include
and use company-irony's completion candidate to complete it to#include <|
(where|
represents the cursor, at this point my company frontend is already started, I think company-irony does that) - Type some string and use M-n / M-p to select one of
company-c-headers
's completion candidates. - The candidate does not get inserted, the completion menu disappears and I am left with
#include |>
.
Can you reproduce the problem? Do you know where's the problem here? Could be both a bug in company, company-irony or company-c-headers I guess. Thanks!

RET

s

RET

In the last one the >
is hidden under the cursor.