lang/cc: set company backends on irony-mode
Rather than c/c++/objc modes.
This commit is contained in:
parent
b349dd3473
commit
7e5b8012b6
1 changed files with 1 additions and 2 deletions
|
@ -150,8 +150,7 @@ compilation database is present in the project.")
|
||||||
(def-package! company-irony
|
(def-package! company-irony
|
||||||
:when (featurep! :completion company)
|
:when (featurep! :completion company)
|
||||||
:init
|
:init
|
||||||
(set-company-backend!
|
(set-company-backend! 'irony-mode
|
||||||
'(c-mode c++-mode objc-mode)
|
|
||||||
'(:separate company-irony-c-headers company-irony))
|
'(:separate company-irony-c-headers company-irony))
|
||||||
:config
|
:config
|
||||||
(require 'company-irony-c-headers)))
|
(require 'company-irony-c-headers)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue