Skip to content

Numbered anonymous function arguments are being incorrectly auto-formatted  #676

@aisamu

Description

@aisamu

Just reporting a minor inconvenience involving numbered anonymous function arguments (%n) in Clojurescript and Clojure

Pressing i on the top-level forms, between the hash and the opening parens (i.e. #|()

#(println %)
;; nothing happens (expected!)

#(apply println %&)
;; nothing happens (also expected!)

#(println %1 %2 %3)
#(println % 1 % 2 % 3) ; (oh no)

Currently running version:0.27.0 on Emacs 29.1 (doom), OSX

Once again, thank you for writing Lispy! (and secretly looking forward to your tree-sitter machinations)

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