Skip to content
This repository has been archived by the owner on Jul 24, 2019. It is now read-only.

Slurp sexp forward should be able to "push" multiple layers of close delimiters. #22

Closed
mtnygard opened this issue May 5, 2019 · 1 comment

Comments

@mtnygard
Copy link

mtnygard commented May 5, 2019

I'm using Emacs paredit as the model here:

Given something like this:

(let [x 1])
(println x)

When the cursor is positioned immediately after the 1, slurp-sexp-forward should first push the outermost ) forward to yield this:

(let [x 1]
 (println x))

(In current implementation, slurp-sexp-forward does nothing when the cursor is inside the let binding.)

A second execution of slurp-sexp-forward should then push the ] forward to yield the valid sexp:

(let [x 1
  (println x)])

I know this is not useful, but that's an effect of the simplified example I'm using.

@PEZ
Copy link
Collaborator

PEZ commented Jul 24, 2019

Archiving this repo now, please open any remaining issues against the Calva repository.

@PEZ PEZ closed this as completed Jul 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants