From 1e6f60a869e578bdd390029da71d5dc920ef1b70 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Sun, 14 Apr 2024 16:49:37 +0630 Subject: Added C++ dir locals --- .dir-locals.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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))))) -- cgit v1.2.3-13-gbd6f