mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
lang/cc: set company backends on irony-mode
Rather than c/c++/objc modes.
This commit is contained in:
@ -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)))
|
||||
|
Reference in New Issue
Block a user