company-c-headers
company-c-headers copied to clipboard
Auto-completion for C/C++ headers using Company
I am using smartparens, and one of the things smartparens does (which I generally) like is that after typing an opening " character a closing " is automatically added for...
I use cc-mode snippet `incs -> #include ` and company-c-header to autocomplete header filename. Since company-c-header will insert `>` after header filename. I got `Warning (yasnippet): Killing zombie snippet!` I...
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](https://github.com/luisgerhorst/.emacs.d/blob/master/lisp/lib/luis-c.el#L35), here's how to reproduce the bug: 1. Start typing `#include` and use company-irony's completion...
fix/workaround: interference with yasnippet causes company-c-headers completion not work properly.
This is fix to issue https://github.com/randomphrase/company-c-headers/issues/6 company-c-headers, when on `#include ..` line, just turns off all yasnippets in progress. This prevents from yasnippet - company-c-headers interference.