aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2020-11-23 21:24:18 +0100
committerAdrian Kummerlaender2020-11-23 21:24:18 +0100
commit0e1ed412ad8980a5ced48b614f8c13fe6a64a290 (patch)
tree586662a394021ac10bfc703474f3f3ae3f21acb5
parent842ff5c5de5e2619d1e8eda711f19ba091b96cc8 (diff)
downloadnixos_home-0e1ed412ad8980a5ced48b614f8c13fe6a64a290.tar
nixos_home-0e1ed412ad8980a5ced48b614f8c13fe6a64a290.tar.gz
nixos_home-0e1ed412ad8980a5ced48b614f8c13fe6a64a290.tar.bz2
nixos_home-0e1ed412ad8980a5ced48b614f8c13fe6a64a290.tar.lz
nixos_home-0e1ed412ad8980a5ced48b614f8c13fe6a64a290.tar.xz
nixos_home-0e1ed412ad8980a5ced48b614f8c13fe6a64a290.tar.zst
nixos_home-0e1ed412ad8980a5ced48b614f8c13fe6a64a290.zip
Enable preprocessor macro indentation for C langs
-rw-r--r--gui/conf/init.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/conf/init.el b/gui/conf/init.el
index 41a17e2..dd63700 100644
--- a/gui/conf/init.el
+++ b/gui/conf/init.el
@@ -47,6 +47,7 @@
(setq-default indent-tabs-mode nil)
(setq-default tab-width 2)
(setq-default c-basic-offset 2)
+(c-set-offset 'cpp-macro 0)
(setq-default python-indent-offset 4)
(setq whitespace-style '(face trailing tabs))