Package fnlfmt
A formatter for Fennel code
Format your Fennel!
The goal of `fnlfmt` is *not* to be The One Formatter that all Fennel
programmers use to format their code. We assume that most of the time,
Fennel programmers will use a text editor that already knows how to
indent code correctly, and that `fnlfmt` supplements existing editor
support in cases where for whatever reason the editor functionality
cannot be used. This means that `fnlfmt` should be treated as one
implementation of the standard format rather than being canonical itself.
By design there is no way to configure it. When it comes to
indentation, the choices it makes should be correct other than bugs or
when new features are added to Fennel itself. When it comes to where
the line breaks are inserted, it tries its best, but there are
certainly cases where a human could do better. Sometimes when it comes
to line breaks it will defer to the existing code where possible.
Version: 0.3.2
General Commands | |
| fnlfmt | a code formatter for Fennel |