diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-08-25 18:03:29 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-08-25 18:03:29 +0100 |
commit | dc809af7a9d3a40ef17b075049c706bced84a821 (patch) | |
tree | 20b1e539ffc5ec7b3918451ad9f31c801ed53eac /Emacs/.config/emacs/config.org | |
parent | 48084564ae140b346463c7ec91f36f8e8c769877 (diff) | |
download | dotfiles-dc809af7a9d3a40ef17b075049c706bced84a821.tar.gz dotfiles-dc809af7a9d3a40ef17b075049c706bced84a821.tar.bz2 dotfiles-dc809af7a9d3a40ef17b075049c706bced84a821.zip |
(Emacs)+c/C++ no longer have aggressive indent
`clang-format-mode` does the same thing for me in C/C++, and they
usually conflict.
Diffstat (limited to 'Emacs/.config/emacs/config.org')
-rw-r--r-- | Emacs/.config/emacs/config.org | 6 |
1 files changed, 6 insertions, 0 deletions
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 |