aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2023-08-25 18:03:29 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2023-08-25 18:03:29 +0100
commitdc809af7a9d3a40ef17b075049c706bced84a821 (patch)
tree20b1e539ffc5ec7b3918451ad9f31c801ed53eac /Emacs/.config/emacs
parent48084564ae140b346463c7ec91f36f8e8c769877 (diff)
downloaddotfiles-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')
-rw-r--r--Emacs/.config/emacs/config.org6
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