From 70928745565b01f3fae0e32ea007266aa2e1edc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Sat, 16 Jul 2022 00:23:54 +0200 Subject: Ensure c++-mode is used in header files. --- .dir-locals.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.dir-locals.el') 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")))) -- cgit v1.2.3