+clang format description

This commit is contained in:
2020-08-10 12:39:53 +01:00
parent 810debf13a
commit ef49013131

View File

@@ -1072,7 +1072,10 @@ when needed in projects.
(statement-cont . +))))) (statement-cont . +)))))
#+END_SRC #+END_SRC
*** Clang format *** Clang format
use-package clang-format for ease of use formatting, binding to "C-c '" for both C and C++ mode maps. Clang format for when:
- eglot isn't working/I'm not running it
- eglot format is bad
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package clang-format (use-package clang-format
:after cc-mode :after cc-mode