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

Add bracket matching #7

Closed
wants to merge 1 commit into from
Closed

Conversation

jmmk
Copy link

@jmmk jmmk commented Jan 23, 2025

I noticed in vim mode I was unable to jump to matching brackets/parens using %. I found zed-industries/zed#6702, where the solution was to update brackets.scm.

This PR adds brackets.scm following those examples, which highlights bracket pairs when the cursor is over them and enables jumping between the pairs in vim.

docs: https://zed.dev/docs/extensions/languages#bracket-matching

@jmmk
Copy link
Author

jmmk commented Jan 23, 2025

I just noticed, this is issue #2 and there is an existing PR #5

@maxdeviant
Copy link
Member

Thank you for the PR! Going to close this as a dupe of #5.

@maxdeviant maxdeviant closed this Jan 30, 2025
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

Successfully merging this pull request may close these issues.

2 participants