-
Notifications
You must be signed in to change notification settings - Fork 41
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
Fixed keyword highlighting #64
Fixed keyword highlighting #64
Conversation
{ | ||
"[dart]": { | ||
"editor.formatOnPaste": true, | ||
"editor.formatOnSave": true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The existence of this field was causing formatting to get all messed up within the test/highlight/keywords.dart
file, causing invalid failures
I figured it would be better, and more project idiomatic, to just git ignore this, and let individual devs decide how they want to configure vscode
@@ -1,3 +1,5 @@ | |||
/// <reference types="tree-sitter-cli/dsl" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just lets us use typing/intellisense within this file
Looks good to me! |
Thanks for all the additional info, and the contribution! |
Current
highlight.scm
queries were fairly broken for keywords. This PR is the result of re-evaluating the keywords available in dart, and updating/fixing existinghighlight.scm
andgrammar.js
implementations.