lokinet/.dir-locals.el

5 lines
151 B
EmacsLisp

((c++-mode
(eval add-hook 'before-save-hook #'clang-format-buffer nil t))
(c-mode
(eval add-hook 'before-save-hook #'clang-format-buffer nil t)))