From 1865cbc805984c41dbece257452d6a2db5824785 Mon Sep 17 00:00:00 2001 From: Taylor Bockman Date: Fri, 25 Sep 2020 00:33:51 -0700 Subject: [PATCH] C --- dotfiles/emacs.d/init.el | 6 ++++++ dotfiles/emacs.d/package.el | 1 + 2 files changed, 7 insertions(+) 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+ ;;;;;;;;;;;;;;;;;;;;;;;;