tree-sitter-langs
tree-sitter-langs copied to clipboard
dart-mode's highlighting is incorrect
Hello,
The recently added dart-mode's syntax highlight is unfortunately not correct.
There are multiple problems with it, basically, to be frank, it is all over the place. Example: the keyword if gets highlighted correctly in a main() method, but somewhere inside of a class' method it is just plain white. Same goes for some other keywords. Also, something like 'final' gets highlighted as a 'type' face. There are many many more errors.
@jcs090218 you might wanna look into this.
This somehow flies under my radar. Let me take a look!
I've made improvements in #226. Hope it's a lot better now! 🤔
Hi @jcs090218 I'm afraid it still is not. I have to leave now, but I'll give you a better breakdown tomorrow.