diff options
Diffstat (limited to 'dir-locals/c++-flycheck-dir-locals.el')
-rw-r--r-- | dir-locals/c++-flycheck-dir-locals.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dir-locals/c++-flycheck-dir-locals.el b/dir-locals/c++-flycheck-dir-locals.el new file mode 100644 index 0000000..bf588c5 --- /dev/null +++ b/dir-locals/c++-flycheck-dir-locals.el @@ -0,0 +1,5 @@ +((c++-ts-mode + . ((fmt-executable . "clang-format") + (flycheck-gcc-language-standard . "c++23") + (eval . (add-hook 'before-save-hook 'fmt-current-buffer nil t)) + (eval . (company-mode 1))))) |