From 2703e5c577012f6db66cda5b2977a17f63a2c21f Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Wed, 1 Nov 2023 15:25:58 +0000 Subject: Enable clang-format-mode in dir-locals --- .dir-locals.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.dir-locals.el') diff --git a/.dir-locals.el b/.dir-locals.el index 02fbd7a..2bbc275 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -6,4 +6,5 @@ (+license/license-choice . "GPLv2"))) (c-mode . ((flycheck-gcc-include-path . ("..")) (flycheck-clang-include-path . ("..")) - (company-clang-arguments . ("-I.."))))) + (company-clang-arguments . ("-I..")) + (eval . (clang-format-mode t))))) -- cgit v1.2.3-13-gbd6f