Skip to content

sp-forward-slurp-sexp should know about Clojure set literal, lambda #593

@lvh

Description

@lvh

Example, | being point

(abc|) #{1 2 3}

sp-forward-slurp-sexp results in:

(abc| #){1 2 3}

Doing it a second time results in:

(abc| # {1 2 3})

(having introduced a space between # and {).

Instead, I would have liked it to:

(abc| #{1 2 3})

The same thing is true for Clojure lambda expressions, e.g. #(inc %); where the # is captured separately.

I think smartparens currently gives me the configurability to fix this for my setup, but I wanted to report it upstream since this seems generally useful.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions