-
Notifications
You must be signed in to change notification settings - Fork 59
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
Add comment statement #199
Conversation
endif | ||
TSFLAGS ?= |
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.
for example: make test TSFLAGS=--debug-build
to speed up the testing cycle
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.
thanks for the makefile improvements! there are a few incorrect paths in _comment_target
; it's pretty self-contained so I'm not too too worried about it but a little more test coverage would also help
grammar.js
Outdated
@@ -723,6 +724,59 @@ module.exports = grammar({ | |||
), | |||
), | |||
|
|||
comment_text: $ => $._literal_string, |
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.
comment text is a reasonably special case imo but consider the common alias($._literal_string, $.literal)
pattern here!
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.
Ah, I was already wondering how to get a literal string to be visible in the test cases, I hadn't figured out alias
yet. Thanks!
Co-authored-by: Dian Fay <dmfay@users.noreply.github.com>
Thanks! |
Part of #189