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

Rogue "begin/endCaptures" #206

Open
RedCMD opened this issue Nov 20, 2023 · 2 comments
Open

Rogue "begin/endCaptures" #206

RedCMD opened this issue Nov 20, 2023 · 2 comments

Comments

@RedCMD
Copy link

RedCMD commented Nov 20, 2023

There is a rogue "beginCaptures" with no "begin" rule
should it be "captures"?

"beginCaptures": {

also a rogue "endCaptures" with no "end" rule
should it be "whileCaptures"?

"endCaptures": {

@MangelMaxime
Copy link
Contributor

The first one should probably be "captures"

For the second one, yes probably. I can't find a documentation related to the TextMate grammar syntax on VSCode site.

@RedCMD
Copy link
Author

RedCMD commented Nov 20, 2023

yeah
documentation around TextMate is very unpolished and fragmented

heres a little snippet on "while"
https://github.com/jeff-hykin/better-cpp-syntax/blob/fe873cdfacd1df7072e7b8c95df3df369c1ffcaa/documentation/library/textmate_while.md

"whileCaptures" acts the same as "endCaptures"; but for the "while" rule instead

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

No branches or pull requests

2 participants