diff options
author | Griffin Smith <grfn@gws.fyi> | 2020-07-18T01·00-0400 |
---|---|---|
committer | glittershark <grfn@gws.fyi> | 2020-07-18T01·02+0000 |
commit | d1d6830c58dbfff8382ac2a0c7a792ea85ea319e (patch) | |
tree | eb9b71079c954d2ee4cb8e34cda635594b2c93ab | |
parent | c9ba75cc954342b9923594fa40fdcb22fdb59328 (diff) |
feat(gs/emacs): Install clang-format+ r/1373
Change-Id: I3560932953718ab9324bc490488f39605f03ee5e Reviewed-on: https://cl.tvl.fyi/c/depot/+/1264 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
-rw-r--r-- | users/glittershark/emacs.d/cpp.el | 4 | ||||
-rw-r--r-- | users/glittershark/emacs.d/packages.el | 1 |
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+) |