Lars Jellema
Lars Jellema
Nixfmt is built not to preserve any whitespace in order to make results independent of how messy the input formatting is. That said, I'm willing to consider a feature where...
Thank you for the suggestion and for helping out! I have the following thoughts: First of all, sorting can never be default in a formatter because it is not always...
I think that would be cool too, but I don't really know anything about Github actions. There is already the -c flag to check if files are formatted, for use...
nixfmt already reads from stdin by default when no positional argument is passed.
I suppose this issue is about compatibility with `nix fmt` in general. I can't find any specification that needs to be followed in order to be compatible with it, but...
Reporting errors about duplicate assignments is relatively hard in the current code base, because location information isn't stored, it's only available during parsing. This feature won't really become valuable until...
After thinking about it, a, b and c can be detected easily if we accept that the error specifies the surrounding set/setparameter as location.
e can also be detected if we implement simplification of redundant instructions. I don't think d should be a parsing error.
This is probably a bug in cabal. Nothing we can do about it.
Thanks for reporting! I made a PR with a fix that should be merged soon. Unfortunately, our releases go through hackage and that can be kind of slow. If you...