(Emacs)+c/C++ no longer have aggressive indent

`clang-format-mode` does the same thing for me in C/C++, and they
usually conflict.
This commit is contained in:
2023-08-25 18:03:29 +01:00
parent 48084564ae
commit dc809af7a9

View File

@@ -2438,6 +2438,12 @@ description I give won't do it justice.
:straight t :straight t
:demand t :demand t
:config :config
(add-to-list 'aggressive-indent-excluded-modes
'c-mode)
(add-to-list 'aggressive-indent-excluded-modes
'c++-mode)
(add-to-list 'aggressive-indent-excluded-modes
'cc-mode)
(global-aggressive-indent-mode)) (global-aggressive-indent-mode))
#+end_src #+end_src
** Compilation ** Compilation