• jason-reddit-public@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Quick feedback: you could show before and after for a small snippet in your README, maybe describe the algorithm being used, and mention what options are available to tweak the formatting (line length being the most interesting and overriding how certain “keywords” format probably being the next most useful).

    • raviqqe@alien.topOPB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      I’m actually just using a formatter library and its readme describes the algorithm although it’s a very basic one. https://github.com/raviqqe/mfmt

      Currently, Schemat doesn’t have any options for configurations. It’s made after the philosophy of `gofmt` where you insert newlines with your “sense.”