diff options
author | John Turner <jturner.usa@gmail.com> | 2025-07-12 13:10:20 -0400 |
---|---|---|
committer | John Turner <jturner.usa@gmail.com> | 2025-07-12 13:10:20 -0400 |
commit | c032244a8a87cefdedf2d25c9b1f1d2b578d613a (patch) | |
tree | 35932a1d0424def5a789f206de3a44e868c0e6dd /dir-locals/c++-flycheck-dir-locals.el | |
parent | 612c11ce8aac8517a5dc30ce213af816b4a89642 (diff) | |
download | emacs.d-c032244a8a87cefdedf2d25c9b1f1d2b578d613a.tar.gz |
add c++-clangd-dir-locals.el
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))))) |