lang/cc: set company backends on irony-mode

Rather than c/c++/objc modes.
This commit is contained in:
Henrik Lissner 2018-08-07 21:07:08 +02:00
parent b349dd3473
commit 7e5b8012b6
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -150,8 +150,7 @@ compilation database is present in the project.")
(def-package! company-irony
:when (featurep! :completion company)
:init
(set-company-backend!
'(c-mode c++-mode objc-mode)
(set-company-backend! 'irony-mode
'(:separate company-irony-c-headers company-irony))
:config
(require 'company-irony-c-headers)))