Skip to main content
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() &...
Charles G's user avatar
  • 165

Only top scored, non community-wiki answers of a minimum length are eligible