Turn off clang-format-mode with an eval in dir-locals
This commit is contained in:
@@ -2,4 +2,5 @@
|
|||||||
;;; For more information see (info "(emacs) Directory Variables")
|
;;; For more information see (info "(emacs) Directory Variables")
|
||||||
|
|
||||||
((c-mode . ((clang-format-mode . nil)
|
((c-mode . ((clang-format-mode . nil)
|
||||||
(flycheck-mode . nil))))
|
(flycheck-mode . nil)
|
||||||
|
(eval . (remove-hook 'c-mode-hook #'clang-format-mode)))))
|
||||||
|
|||||||
Reference in New Issue
Block a user