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

Improved PowerShell lexer #700

Merged
merged 2 commits into from Nov 11, 2022
Merged

Improved PowerShell lexer #700

merged 2 commits into from Nov 11, 2022

Conversation

JohnRoos
Copy link
Contributor

@JohnRoos JohnRoos commented Nov 8, 2022

Problem:
Variables inside doublequoted strings were not highlighted properly in PowerShell. The variables looked like they do when using singlequoted strings.

Solution:
Added rules and tests for variables inside doublequoted strings in PowerShell.

It took me a while to understand how the lexers work, but I think I have understood it properly. I could not find any contributing guidelines so I hope I have not broken any rules now :)

@alecthomas alecthomas merged commit 42e5421 into alecthomas:master Nov 11, 2022
@alecthomas
Copy link
Owner

Thanks!

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.

None yet

2 participants