diff --git a/dotfiles/emacs.d/init.el b/dotfiles/emacs.d/init.el index 1c871ff..82ac890 100644 --- a/dotfiles/emacs.d/init.el +++ b/dotfiles/emacs.d/init.el @@ -272,6 +272,12 @@ There are two things you can do about this warning: ;; Python testing helpers (use-package python-pytest) + +;;;;;;;;;;; C/C++ + +(use-package clang-format+) +(add-hook 'c-mode-common-hook #'clang-format+-mode) + ;;-------------------------------------------------------------------------------------- ;; Save hooks ;;-------------------------------------------------------------------------------------- diff --git a/dotfiles/emacs.d/package.el b/dotfiles/emacs.d/package.el index 44ea251..1abc419 100644 --- a/dotfiles/emacs.d/package.el +++ b/dotfiles/emacs.d/package.el @@ -28,6 +28,7 @@ cmake-ide cmake-mode + clang-format+ ;;;;;;;;;;;;;;;;;;;;;;;;