Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paren Mode should move "child" indentation when backspacing #15

Open
oakmac opened this issue Nov 11, 2015 · 6 comments
Open

Paren Mode should move "child" indentation when backspacing #15

oakmac opened this issue Nov 11, 2015 · 6 comments
Assignees

Comments

@oakmac
Copy link
Owner

oakmac commented Nov 11, 2015

Paren Mode is not correctly moving indentation below the current line like it should. Shaun says this is something to do with the :cursor-dx option being passed into the paren-mode/format-text function.

As a courtesy, this mode also maintains relative indentation of child elements when their parent expressions shift.

@oakmac oakmac self-assigned this Nov 11, 2015
@oakmac
Copy link
Owner Author

oakmac commented Nov 14, 2015

Shaun says he is going to change the way this works after he gets back from ClojureConj.

Some preliminary thoughts on how it will work can be found here.

@oakmac oakmac changed the title make sure Paren Mode is working correctly Paren Mode should move "child" indentation when backspacing Nov 14, 2015
@comamitc
Copy link

comamitc commented Apr 5, 2016

I think this is related so I'm posting it here:

parinfer

@oakmac
Copy link
Owner Author

oakmac commented Apr 5, 2016

@comamitc - that gif appears to be Indent Mode "working as expected"

@shaunlebron
Copy link
Collaborator

oh, we can take the same changes we pass to Smart Mode and pass them to Paren Mode now to achieve this

@paulbutcher
Copy link

I just ran into this - can I ask what the status is? Is there anything that I can do to help?

@aurmer
Copy link

aurmer commented Aug 21, 2020

I came here for this. Recorded this video before I knew it was documented.

backsp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants