mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
c/c++: add company-irony-c-headers plugin
This commit is contained in:
@ -82,9 +82,10 @@
|
||||
(flycheck-irony-setup)
|
||||
|
||||
(require 'company-irony)
|
||||
(define-company-backend! c-mode (irony))
|
||||
(define-company-backend! c++-mode (irony))
|
||||
(define-company-backend! objc-mode (irony))
|
||||
(require 'company-irony-c-headers)
|
||||
(define-company-backend! c-mode (irony-c-headers irony))
|
||||
(define-company-backend! c++-mode (irony-c-headers irony))
|
||||
(define-company-backend! objc-mode (irony-c-headers irony))
|
||||
|
||||
;; some c-mode dervied modes wrongfully trigger these hooks (like php-mode)
|
||||
(add-hook! (c-mode c++-mode ojbc-mode)
|
||||
|
Reference in New Issue
Block a user