1
vote
How to clang-format the current buffer on save?
Building on ideasman42's answer, I wanted to be able to turn this feature on an off, per buffer or globally.
Minor modes to the rescue :
(use-package clang-format)
(defun clang-format-save-hook()
&...
Only top scored, non community-wiki answers of a minimum length are eligible