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

match bracket wrong in <style> tag of html #9423

Closed
jqhr opened this issue Jan 25, 2024 · 3 comments · Fixed by #9424
Closed

match bracket wrong in <style> tag of html #9423

jqhr opened this issue Jan 25, 2024 · 3 comments · Fixed by #9424
Labels
C-bug Category: This is a bug

Comments

@jqhr
Copy link

jqhr commented Jan 25, 2024

Summary

match bracket position wrong for style tag in html file.

<style>
.example { // <- I want to move to here by `mm` cmd.
   box-sizing: border-box;
} // <- cursor here
</style> 

But position was at > of </style> when I press mm.

Reproduction Steps

图片

100_1706206493.mp4

Helix log

No response

Platform

macOS

Terminal Emulator

wezterm-20230712-072601-f4abf8fd

Installation Method

brew

Helix Version

23.10

@jqhr jqhr added the C-bug Category: This is a bug label Jan 25, 2024
@woojiq
Copy link
Contributor

woojiq commented Jan 25, 2024

I'm not sure, but I changed mm behavior a bit here: #8294.
It is unlikely that this will be merged soon, since helix-core needs to be refactored.

@jqhr
Copy link
Author

jqhr commented Jan 26, 2024

Maybe.

101_1706245970.mp4

I have try mi{, it works.

@jqhr
Copy link
Author

jqhr commented Jan 26, 2024

For vim, the % works well, whatever current filetype has treesitter.
I think it is a bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants