Skip to content

Conversation

@God-damnit-all
Copy link

Note: This PR is targeting the refactor branch.

Because _ is considered an alphanumeric character, it is not matched by \b. This means that it can be moved into the non-capture group that is surrounded by \b. This will make it so something like $___ doesn't have the $_ portion of it turned orange and italic.

@God-damnit-all God-damnit-all changed the title Fix $__ highlighting Fix $__ highlighting & add $PsNativeCommand variables Dec 9, 2025
@God-damnit-all
Copy link
Author

Added the $PsNativeCommandArgumentPassing and $PsNativeCommandUseErrorActionPreference variables.

Also grouped the PsSession variables together.

@God-damnit-all
Copy link
Author

As an aside, the refactor messed with the type highlighting:

image

It's only highlighting the very end. Unless that's intentional...?

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.

1 participant