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 ;;-------------------------------------------------------------------------------------