aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)))))