-
Notifications
You must be signed in to change notification settings - Fork 39
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
Enhanced enums break highlighting #38
Comments
@lukepighetti is this still an issue for you? I tried the same in NeoVim which also uses this parser for dart, and seems to work in my case |
NeoVim uses a different highlights file for various reasons (including that they have some rules that are NeoVim specific and wouldn't work in the general highlights file). I'm happy to merge PRs, but right now I'll be trying to get the newer features of dart working for the parser and trying to clean up some old issues that are more functional in nature rather than highlighting. In this particular case it would be probably straightforward to look at what rules NeoVim has in terms of the highlights file and see what subset can be upstreamed into this repo. |
I just realized enhanced enums were previously not supported. I don't know what NeoVim is using. Maybe their own fork. I just added parsing support. |
Just checked the neovim-treesitter library, it seems to still be pointing to this repo, so I don't think enhanced enums should have been working previously. |
In helix-editor/helix (which uses UserNobody14/tree-sitter-dart), enhanced enums break syntax highlighting in the remainder of the file
The text was updated successfully, but these errors were encountered: