Turn off clang-format-mode with an eval in dir-locals

This commit is contained in:
2024-04-18 11:10:05 +01:00
parent 92a9e09643
commit d1e0e1e8c6

View File

@@ -2,4 +2,5 @@
;;; For more information see (info "(emacs) Directory Variables")
((c-mode . ((clang-format-mode . nil)
(flycheck-mode . nil))))
(flycheck-mode . nil)
(eval . (remove-hook 'c-mode-hook #'clang-format-mode)))))