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
|
||||
: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)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue