diff --git a/.dir-locals.el b/.dir-locals.el new file mode 100644 index 00000000..4fa9120b --- /dev/null +++ b/.dir-locals.el @@ -0,0 +1,6 @@ +;;; Directory Local Variables -*- no-byte-compile: t -*- +;;; For more information see (info "(emacs) Directory Variables") + +;; for C and C++, we use 2 space offset, no tabs +((prog-mode . ((c-basic-offset . 2) + (indent-tabs-mode . nil)))