Skip to content
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

Release 0.9.2 #189

Merged
merged 5 commits into from
Feb 20, 2024
Merged

Release 0.9.2 #189

merged 5 commits into from
Feb 20, 2024

Conversation

nobodywasishere
Copy link
Member

@nobodywasishere nobodywasishere merged commit a1a2a67 into master Feb 20, 2024
Comment on lines +141 to +145
{
"comment": "everything being a spec keyword, not a value, and needing a block is a..",
"match": "(?<!\\.)\\b(describe|context|it|expect_raises)\\b(?![?!:])",
"name": "keyword.control.crystal"
},
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was it intentional not to mark every spec related methods like should, be_true, eq etc as a "method" equivalent ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I didn't think it was necessary and potentially cause for confusion as those method names are likely to exist outside of the spec context. I also wanted the spec highlighting to be consistent with other highlighting (i.e., there aren't any other method calls that are highlighted without parenthesis)

@nobodywasishere nobodywasishere deleted the nobody/syntax branch February 20, 2024 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants