Sarcasm / company-irony

company-mode completion back-end for irony-mode
118 stars 11 forks source link

Completions candidates from company-c-header do not get inserted after completing #include with company-irony #30

Open luisgerhorst opened 7 years ago

luisgerhorst commented 7 years ago

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 issue:

  1. 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)
  2. Type some string and use M-n / M-p to select one of company-c-headers's completion candidates.
  3. The candidate does not get inserted, the completion menu disappears and I am left with #include |>.

Do you know what's the problem here and can you reproduce it? I also posted this issue on company-c-headers's repo.

luisgerhorst commented 7 years ago
1

RET

2

s

3

RET

4

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