Paredit icon indicating copy to clipboard operation
Paredit copied to clipboard

Grow right grows over curly braces

Open nickik opened this issue 12 years ago • 2 comments

While developing I oven had strange non matching endings of functions. I investigated and found the following problem.

{:data (+ 1) 2}

You want to get this {:data (+ 1 2)}

But when you grow (+ 1) to the right you get:

{:data (+ 1 2})

nickik avatar Jan 23 '14 10:01 nickik

I will try to fix this myself but maybe somebody is faster then me.

nickik avatar Jan 23 '14 10:01 nickik

The issue is related to line starts and ends, as it only occurs if the outer brackets are on the line start or end. It occurs for both grow left and grow right

nathanmesser avatar Jan 27 '14 19:01 nathanmesser