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

Support snake case in subword-mode #418

Open
hanryhu opened this issue Jun 6, 2023 · 0 comments
Open

Support snake case in subword-mode #418

hanryhu opened this issue Jun 6, 2023 · 0 comments

Comments

@hanryhu
Copy link

hanryhu commented Jun 6, 2023

go-mode does not respect subwords in snake case.

E.g., if point is at the start of my_snake_variable, M-f results in point at the end of my, but M-f M-f does not result in point at the end of my_snake. Instead, it jumps to the end of the whole name. Also, M-b always goes to the start of the whole name.

I suspect it's related to:
https://github.com/dominikh/go-mode.el/blame/166dfb1e090233c4609a50c2ec9f57f113c1da72/go-mode.el#L403-L404

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

1 participant