From c1355e3003a079d4006c63fbddf055e05300c250 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Sun, 15 Sep 2024 14:51:26 +0100 Subject: Clang format in C and C++ mode --- .dir-locals.el | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .dir-locals.el diff --git a/.dir-locals.el b/.dir-locals.el new file mode 100644 index 0000000..4be980a --- /dev/null +++ b/.dir-locals.el @@ -0,0 +1,5 @@ +;;; Directory Local Variables -*- no-byte-compile: t; -*- +;;; For more information see (info "(emacs) Directory Variables") + +((c-mode . ((mode . clang-format))) + (c++-mode . ((mode . clang-format)))) -- cgit v1.2.3-13-gbd6f