From dc809af7a9d3a40ef17b075049c706bced84a821 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Fri, 25 Aug 2023 18:03:29 +0100 Subject: (Emacs)+c/C++ no longer have aggressive indent `clang-format-mode` does the same thing for me in C/C++, and they usually conflict. --- Emacs/.config/emacs/config.org | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Emacs/.config/emacs/config.org') diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index b1c45ee..c748fd5 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -2438,6 +2438,12 @@ description I give won't do it justice. :straight t :demand t :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)) #+end_src ** Compilation -- cgit v1.2.3-13-gbd6f