aboutsummaryrefslogtreecommitdiffstats
path: root/doom-emacs/.config/doom/config.el
diff options
context:
space:
mode:
Diffstat (limited to 'doom-emacs/.config/doom/config.el')
-rw-r--r--doom-emacs/.config/doom/config.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/doom-emacs/.config/doom/config.el b/doom-emacs/.config/doom/config.el
index 34c2cf2..633a0ee 100644
--- a/doom-emacs/.config/doom/config.el
+++ b/doom-emacs/.config/doom/config.el
@@ -173,6 +173,9 @@ version 2017-03-12"
(add-hook 'yaml-mode-hook 'xah-syntax-color-hex)
(add-hook 'html-mode-hook 'xah-syntax-color-hex)
+(add-hook 'c++-mode-hook 'irony-mode)
+(add-hook 'c-mode-hook 'irony-mode)
+
;; Here are some additional functions/macros that could help you configure Doom:
;;
;; - `load!' for loading external *.el files relative to this one