A formatter for Fennel code
Test cases are just single files now, not pairs.
Improve comment detection.
Some nicer comments.

refs

master
browse log

clone

read-only
https://git.sr.ht/~technomancy/fnlfmt
read/write
git@git.sr.ht:~technomancy/fnlfmt

You can also use your local clone with git send-email.

Fennel Format

Format your Fennel!

$ ./fnlfmt mycode.fnl # prints formatted code to standard out

Right now it is strictly for indentation only. It's up to you to keep your column lengths at 80 or under, so please do that.

For contributions, send patches directly to the maintainer or the Fennel mailing list

Known issues

Multi-line strings containing semicolons or delimiters may result in incorrect indentation in certain situations.

License

Copyright © 2019 Phil Hagelberg and contributors

Released under the terms of the GNU Lesser General Public License version 3 or later; see the file LICENSE.