Skip to content

Fix $(...)? highlighting #477

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

Closed
wants to merge 1 commit into from
Closed

Conversation

rhysd
Copy link
Contributor

@rhysd rhysd commented Jun 17, 2022

$(...)? is a macro repeat operator (0 or 1) like $(...)* (0 or more) or $(...)+ (1 or more). + and * are correctly highlighted, but ? is not highlighted. This PR adds highlight for $(...)?. * and + allows delimiter like $(...),*, but ? doesn't.

Before:

before

After:

after

@rust-highfive
Copy link

r? @da-x

(rust-highfive has picked a reviewer for you, use r? to override)

@Iron-E
Copy link

Iron-E commented Jul 26, 2022

Already fixed by / in scope of #431

@Iron-E Iron-E mentioned this pull request Jul 26, 2022
1 task
@rhysd
Copy link
Contributor Author

rhysd commented Jul 26, 2022

Looks good. Then I'll close this as duplicate. Thank you for notifying that, @Iron-E.

@rhysd rhysd closed this Jul 26, 2022
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.

4 participants