Runic versions 1.1, 1.2, 1.3
Runic versions 1.1, 1.2, and 1.3 are released, see CHANGELOG for all changes.
Runic now support ranged formatting with the new --lines=a:b
option which enables more surgical formatting of code. Based on this I want to highlight the new Git integration provided by the git-runic
script. git runic
applies formatting only to your staged changes (but it can also be used to format the diff from multiple commits, see git runic -h
for details). This enables incremental formatting of a code base as an alternative to going all in with Runic in a single large commit.
git-runic
was contributed by @maleadt (thanks!) and is based on git-clang-format
(git integration for clang-format
). The following two blog posts give some more details about how git-clang-format
(and thus git-runic
) can be used:
Thanks!