aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-07-16 00:23:54 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-07-16 00:23:54 +0200
commit70928745565b01f3fae0e32ea007266aa2e1edc5 (patch)
tree2b96cd64c2f7ccad955c4ded71cd4d40cf4b9a03
parent4b7b255d63e0143d4cb2d01c34d82e9285d9d8a2 (diff)
downloadEpisodeBrowser-70928745565b01f3fae0e32ea007266aa2e1edc5.tar.gz
Ensure c++-mode is used in header files.
-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"))))