-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Bracket pair colourization / Rainbow parenthesis #695
Comments
With tree-sitter we can likely do this in a much easier way: simply scan the start and end of each named node. VSCode still relies on textmate grammars so it has to parse the whole file by hand to determine matching pairs. |
here's a nvim plugin based on tree-sitter https://github.com/p00f/nvim-ts-rainbow maybe the queries can be re-used |
Looks pretty easy to implement. |
The plug in has issues with performance. I'm not sure if this is an implementation issue or not though. |
|
I think I have a clever idea of how to do this efficiently. I'll make a PR |
ref: helix-editor/helix#695 ref: helix-editor/helix#2857 Co-authored-by: Michael Davis <[email protected]>
good to see this pseudo-PR pick back up, the feature would be very nice to have. Is there any rough idea if / when it might actually become a real PR? |
Hey its been so many years, any updates? |
https://marketplace.visualstudio.com/items?itemName=CoenraadS.bracket-pair-colorizer-2
microsoft/vscode#129231
The text was updated successfully, but these errors were encountered: