From 797f3508b54099da03ae6dc3dd62f8d69255579e Mon Sep 17 00:00:00 2001 From: Lukas Larsson Date: Tue, 26 Oct 2021 10:51:51 +0200 Subject: Add .editorconfig --- .dir-locals.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to '.dir-locals.el') diff --git a/.dir-locals.el b/.dir-locals.el index 970aecb551..09d02274c3 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -5,11 +5,9 @@ (java-mode (indent-tabs-mode . nil)) (perl-mode (indent-tabs-mode . nil)) (xml-mode (indent-tabs-mode . nil)) - ;; In C code indentation is 4 spaces and in C++ 2 spaces - ;; erts/ overrides C++ to 4 spaces (c++-mode (indent-tabs-mode . nil) - (c-basic-offset . 2)) + (c-basic-offset . 4)) (c-mode (indent-tabs-mode . nil) (c-basic-offset . 4))) -- cgit v1.2.1