From 5043e201b8d198615272dec0b7bc967799b70ac2 Mon Sep 17 00:00:00 2001 From: William Casarin Date: Tue, 9 Jan 2018 09:04:11 -0800 Subject: [PATCH] emacs: add .dir-locals.el for linux style C This will automatically configure proper indent settings for new contributors using emacs. Signed-off-by: William Casarin --- .dir-locals.el | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .dir-locals.el diff --git a/.dir-locals.el b/.dir-locals.el new file mode 100644 index 000000000..1ca27d4ff --- /dev/null +++ b/.dir-locals.el @@ -0,0 +1,7 @@ +((c-mode . ((c-file-style . "linux") + (indent-tabs-mode . t) + (show-trailing-whitespace . t) + (c-basic-offset . 8) + (tab-width . 8) + )) +)