(defun sanityinc/local-push-company-backend (backend)
"Add BACKEND to a buffer-local version of `company-backends'."
(set (make-local-variable 'company-backends)
(append (list backend) company-backends))))
When I disable irony-mode, the company-c-headers takes effect.
When I use company-irony and company-c-headers at the same time, company-c-headers does not automatically trigger.
Value of
company-backends
:My configuration:
code of
sanityinc/local-push-company-backend
:When I disable
irony-mode
, thecompany-c-headers
takes effect.Thank you.