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

forward-sexp and backward-sexp are incoherent #574

Open
DamienCassou opened this issue Sep 15, 2021 · 1 comment
Open

forward-sexp and backward-sexp are incoherent #574

DamienCassou opened this issue Sep 15, 2021 · 1 comment

Comments

@DamienCassou
Copy link
Contributor

Given this content

values
    .filter((a) => a)
    .filter((a) => a);

in a js2-mode buffer, forward-sexp seems to work fine but backward-sexp goes back to the beginning of the first line when invoked with point at the end of second line.

More information at AmaiKinono/puni#9.

@dgutov
Copy link
Collaborator

dgutov commented Sep 18, 2021

Yes, there is certain imbalance in their working. It has been that way for basically ever, I think.

I'll look into this when I have the time. If someone would like to propose a patch, though -- welcome.

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

2 participants