Skip to content

v1.3.3

Choose a tag to compare

@novaugust novaugust released this 21 Jan 23:55
· 119 commits to main since this release

Improvements

  • with do: body and variations with no arrows in the head will be rewritten to just body (or ...head statements; body)

  • # styler:sort will sort arbitrary ast nodes within a do end block:

    Given:

      # styler:sort
      my_macro "some arg" do
        another_macro :q
        another_macro :w
        another_macro :e
        another_macro :r
        another_macro :t
        another_macro :y
      end
    

    We get:

      # styler:sort
      my_macro "some arg" do
        another_macro :e
        another_macro :q
        another_macro :r
        another_macro :t
        another_macro :w
        another_macro :y
      end
    

Fixes

  • fix a bug in comment-movement when multiple # styler:sort directives are added to a file at the same time