Skip to content

paredit/wrap-fully-forward-slurp removes indents #257

Open
@mrkam2

Description

@mrkam2

Version
rewrite-clj/rewrite-clj {:mvn/version "1.1.47"}

Platform
Clojure version: 1.11.1

Symptom
wrap-fully-forward-slurp kills all the indents of the code it is slurping

Reproduction

(-> (z/of-string "
    [indented
     list
     of
     symbols]")
    z/down
    (pe/wrap-fully-forward-slurp :map)
    z/print-root)

Actual behavior

    [{indented
list
of
symbols}]

Expected behavior

    [{indented
      list
      of
      symbols}]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions