aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.dir-locals.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
index 9eecf88..c735a37 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -1,3 +1,4 @@
-((c++-mode . ((flycheck-gcc-include-path . ("C:/Program Files/swipl/include"))
+((c-mode . ((mode . c++)))
+ (c++-mode . ((flycheck-gcc-include-path . ("C:/Program Files/swipl/include"))
(flycheck-gcc-definitions . ("UNICODE" "_UNICODE"))
(flycheck-gcc-language-standard . "c++17"))))