aboutsummaryrefslogtreecommitdiff
path: root/.dir-locals.el
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-04-14 16:49:37 +0630
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-04-14 16:49:37 +0630
commit1e6f60a869e578bdd390029da71d5dc920ef1b70 (patch)
tree3144c5a1763a82970d173d8ec7cc6c7590b1c8c9 /.dir-locals.el
parent3b912495dec2868f1afae0319471d5ea9451c371 (diff)
downloadovm-1e6f60a869e578bdd390029da71d5dc920ef1b70.tar.gz
ovm-1e6f60a869e578bdd390029da71d5dc920ef1b70.tar.bz2
ovm-1e6f60a869e578bdd390029da71d5dc920ef1b70.zip
Added C++ dir locals
Diffstat (limited to '.dir-locals.el')
-rw-r--r--.dir-locals.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
index 2bbc275..1e8b181 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -7,4 +7,8 @@
(c-mode . ((flycheck-gcc-include-path . (".."))
(flycheck-clang-include-path . (".."))
(company-clang-arguments . ("-I.."))
- (eval . (clang-format-mode t)))))
+ (eval . (clang-format-mode t))))
+ (c++-mode . ((flycheck-gcc-include-path . (".."))
+ (flycheck-clang-include-path . (".."))
+ (company-clang-arguments . ("-I.."))
+ (eval . (clang-format-mode t)))))