about summary refs log tree commit diff
path: root/users
diff options
context:
space:
mode:
Diffstat (limited to 'users')
-rw-r--r--users/glittershark/emacs.d/cpp.el4
-rw-r--r--users/glittershark/emacs.d/packages.el1
2 files changed, 5 insertions, 0 deletions
diff --git a/users/glittershark/emacs.d/cpp.el b/users/glittershark/emacs.d/cpp.el
index c723233415d1..0fe2d1726c5f 100644
--- a/users/glittershark/emacs.d/cpp.el
+++ b/users/glittershark/emacs.d/cpp.el
@@ -22,6 +22,10 @@
 
 (use-package! protobuf-mode)
 
+(use-package! clang-format+
+  :config
+  (add-hook 'c-mode-common-hook #'clang-format+-mode))
+
 (comment
  (setq
   lsp-clients-clangd-executable
diff --git a/users/glittershark/emacs.d/packages.el b/users/glittershark/emacs.d/packages.el
index 2a353f402213..ac6897170918 100644
--- a/users/glittershark/emacs.d/packages.el
+++ b/users/glittershark/emacs.d/packages.el
@@ -158,3 +158,4 @@
 
 ;;; cpp
 (package! protobuf-mode)
+(package! clang-format+)