Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Config option to inline short threading macros in function bodies #335

@chrischambers

Description

@chrischambers

I'd like short threading macros in function bodies to occur on a single line - is there a config option for this?

Preferred:

(defn level-order
  [bst]
  (->> bst rest (remove leaf-node?)))

Actual:

(defn level-order
  [bst]
  (->> bst
       rest
       (remove leaf-node?)))

I'm currently using the community style settings with :justified and :respect-nl.

As an aside, thanks for the great software! :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions