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

Support ? in PowerShell lexer #1559

Merged

Conversation

pyrmont
Copy link
Contributor

@pyrmont pyrmont commented Jul 4, 2020

The ? symbol is an alias for the Where-Object. This PR adds support for it to the PowerShell lexer.

It closes #1557.

@pyrmont pyrmont added the needs-review The PR needs to be reviewed label Jul 4, 2020
@pyrmont pyrmont self-assigned this Jul 4, 2020
@pyrmont
Copy link
Contributor Author

pyrmont commented Jul 4, 2020

@pekspro This fix is I think pretty simple.

@pyrmont pyrmont merged commit 43846d2 into rouge-ruby:master Jul 14, 2020
@pyrmont pyrmont removed the needs-review The PR needs to be reviewed label Jul 14, 2020
@pyrmont pyrmont deleted the bugfix.powershell-where-object-alias branch July 14, 2020 15:22
mattt pushed a commit to NSHipster/rouge that referenced this pull request May 19, 2021
The `?` symbol is an alias for the `Where-Object` in PowerShell. This
commit adds support for it to Rouge.
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.

PowerShell and ? alias
1 participant