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

PowerShell comments not always highlighted as a comment #1535

Closed
pekspro opened this issue Jun 7, 2020 · 0 comments · Fixed by #1536
Closed

PowerShell comments not always highlighted as a comment #1535

pekspro opened this issue Jun 7, 2020 · 0 comments · Fixed by #1536
Assignees
Labels
bugfix-request A request for a bugfix to be developed.

Comments

@pekspro
Copy link

pekspro commented Jun 7, 2020

Name of the lexer
powershell

Code sample
In this code there is one line of code, and one line as a comment:

Write-Output "Updating: $($file.FullName)"
# $content = Get-Content $file.FullName

But the second line is not highlighted like a comment. It do this however if you remove the first line, or makes the first line to a comment.

Additional context
Example on jneen.rouge.net.

@pekspro pekspro added the bugfix-request A request for a bugfix to be developed. label Jun 7, 2020
@pyrmont pyrmont self-assigned this Jun 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix-request A request for a bugfix to be developed.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants