From 0e1ed412ad8980a5ced48b614f8c13fe6a64a290 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Mon, 23 Nov 2020 21:24:18 +0100 Subject: Enable preprocessor macro indentation for C langs --- gui/conf/init.el | 1 + 1 file changed, 1 insertion(+) (limited to 'gui/conf') 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)) -- cgit v1.2.3