Skip to content

The thread commands do not properly indent resulting code #26

Description

@daveyarwood

Given a form like this:

      (is (= (pitch/hz->midi 7.95) 0))

The thread commands do not correctly indent the resulting forms:

;; crtf (thread-first-all)
      (-> 7.95
pitch/hz->midi
(= 0)
is)

;; crtl (thread-last-all)
      (->> 0
(= (pitch/hz->midi 7.95))
is)

;; crtt (thread-last)
      (->> (= (pitch/hz->midi 7.95) 0)
is)

;; crth (thread)
      (-> (= (pitch/hz->midi 7.95) 0)
is)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions