From 0230db5e377f027dcd43e31407bb5d0122f8072f Mon Sep 17 00:00:00 2001 From: angrygoats Date: Wed, 30 May 2018 12:33:23 -0700 Subject: [PATCH] Stuff for irony --- .gitignore | 8 +++++--- dotfiles/emacs.d/init.el | 2 ++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 3e0780b..fa54c66 100644 --- a/.gitignore +++ b/.gitignore @@ -29,6 +29,8 @@ helm-adaptive-history /smex-save-file /recentf +*/emacs.d/irony/* + # nvim specific plugged bundle/** @@ -45,9 +47,9 @@ npm-debug.log /dotfiles/emacs.d/recentf # Wireshark temporary files -/dotfiles/config/wireshark/recent -/dotfiles/config/wireshark/dfilters -/dotfiles/config/wireshark/recent_common +*/dotfiles/config/wireshark/recent +*/dotfiles/config/wireshark/dfilters +*/dotfiles/config/wireshark/recent_common diff --git a/dotfiles/emacs.d/init.el b/dotfiles/emacs.d/init.el index ef6a3a9..a5a7c3e 100644 --- a/dotfiles/emacs.d/init.el +++ b/dotfiles/emacs.d/init.el @@ -363,6 +363,8 @@ setq org-log-done t) (setq-default c-basic-offset 4) ;; NASA Style Guide says 4 spaces is optimal (setq-default c-default-style "linux") ;; Use Linux code style +(add-hook 'c-mode-hook 'irony-mode) + ;;-------------------------------------------------------------------------------------- ;; Java Mode Setup ;;-------------------------------------------------------------------------------------