Skip to content

Two space alignment #2

Description

@arichiardi

Hello @kkinnear first of all thank you!

Second, I don't know if this is actually something that I missed from Tomsky's blog post but it seems like zprint-std indents one space instead of tho here:

Couple of diff examples against my code base:

 (defn error?
-  "Return true if it is an error of any type."
-  [m]
-  (:error m))
+ "Return true if it is an error of any type."
+ [m]
+ (:error m))
 
 (defn ^:export unknown-command-error?
-  "Return true if it is an unknown command error."
-  [m]
-  (and (:error m) (= :unknown-command (-> m :error :type))))
+ "Return true if it is an unknown command error."
+ [m]
+ (and (:error m) (= :unknown-command (-> m :error :type))))

Not a fan of this way either, just trying it out so I am not even sure it is worth fixing anything at the moment 😄

Thank you for giving up a way to play with it a bit!

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