aboutsummaryrefslogtreecommitdiff
path: root/.dir-locals.el
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2023-11-01 15:25:58 +0000
committerAryadev Chavali <aryadev@aryadevchavali.com>2023-11-01 15:25:58 +0000
commit2703e5c577012f6db66cda5b2977a17f63a2c21f (patch)
tree4bafc0e29f81bfd34eb5fdcb98917d2b393d5c11 /.dir-locals.el
parent6d35283ef01114475b6069f1a3c24e3b537bd510 (diff)
downloadovm-2703e5c577012f6db66cda5b2977a17f63a2c21f.tar.gz
ovm-2703e5c577012f6db66cda5b2977a17f63a2c21f.tar.bz2
ovm-2703e5c577012f6db66cda5b2977a17f63a2c21f.zip
Enable clang-format-mode in dir-locals
Diffstat (limited to '.dir-locals.el')
-rw-r--r--.dir-locals.el3
1 files changed, 2 insertions, 1 deletions
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)))))