~technomancy/fnlfmt

A formatter for Fennel code
make cli standalone
add support for stdin via `fnlfmt -`
Test cases are just single files now, not pairs.

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!

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.

Usage

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

$ cat my-file.fnl | fnlfmt - # pipe fennel to stdin, get formatted stdout

Contributing

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.