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

Improve paired delimiters which close themselves #46

Merged
merged 2 commits into from
Dec 15, 2024
Merged

Conversation

lnay
Copy link
Collaborator

@lnay lnay commented Dec 15, 2024

Zed improved their docs relating to paired brackets/delimiters: https://zed.dev/docs/extensions/languages#syntax-overrides

This PR takes this into account to make the bracket/delimiter closing more context aware.
There also doesn't seem to be any issues with having \[ closed by \] anymore, so these are added as well as \(, \), addressing #42.

@lnay lnay marked this pull request as ready for review December 15, 2024 14:04
@lnay lnay merged commit 108253a into rzukic:main Dec 15, 2024
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.

1 participant