Skip to content

Commit 5bed92a

Browse files
Alexander KurbatovAlexander Kurbatov
Alexander Kurbatov
authored and
Alexander Kurbatov
committed
chore: Force C+ mode for headers
Signed-off-by: Alexander Kurbatov <Alexander.Kurbatov@acronis.com>
1 parent 935863d commit 5bed92a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.dir-locals.el

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
((nil
55
(eval . (let ((root (projectile-project-root)))
6+
(add-to-list 'auto-mode-alist '("\\.h\\'" . c++-mode))
67
(setq-local flycheck-cppcheck-standards "c++14")
78
(setq-local flycheck-clang-language-standard "c++14")
89
(setq-local flycheck-clang-include-path

0 commit comments

Comments
 (0)