-
Notifications
You must be signed in to change notification settings - Fork 37
Fix quoted with spaces #250
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
Fix quoted with spaces #250
Conversation
370c4b8
to
15a17db
Compare
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.
LGTM Looks like it's working nicely on some macros we had
15a17db
to
bb5e498
Compare
@tgodzik I had to rebase to fix some conflicts. Could you have a quick look before merging? |
'{ 2 } | ||
// ^^ punctuation.section.block.begin.scala | ||
// ^ keyword.control.flow.staging.scala |
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.
Actually, should {
have some kind of scope like in imports/exports? (for example we have meta.export.scala meta.export.selector.scala meta.bracket.scala
) Or it doesn't really matter since braces are anyway interpreted correctly?
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.
{
have punctuation.section.block.begin.scala
and [
have meta.bracket.scala
.
I updated the tests
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!
Syntax for quotes and symbols overlap. We can tag these as symbols and quotes at the same time.
bb5e498
to
cd24dc8
Compare
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.
LGTM
Based on #227