source-foundry / ufofmt

A fast, flexible UFO source file formatter based on the Rust Norad library
Apache License 2.0
7 stars 1 forks source link

Add custom indentation spacing support #29

Closed chrissimpkins closed 3 years ago

chrissimpkins commented 3 years ago

Closes #18

Requires norad changes as of https://github.com/linebender/norad/pull/148

We will define the default indentation as a single tab per level. This PR adds customization options for 1 - 4 space or tab char per level across glif and plist files.

TODO

chrissimpkins commented 3 years ago

Implemented as of https://github.com/source-foundry/ufofmt/pull/29/commits/96b569f4f25246946ca93ec49bd60d97c510ef33

Needs additional plist file tests and then we should be GTG

chrissimpkins commented 3 years ago

@madig I think that we are in good shape here. Custom indentation seems to be working across all UFO files. Thoughts about the approach?