EditorSyntax
EditorSyntax copied to clipboard
Cmdlet parameter scopes
Environment
- Sublime 3176
- Monokai
Issue Description
Cmdlet parameters are scoped as assignment operators...
Screenshots

Expected Behavior
The scope of the - should be punctuation.definition.parameter, and the scope of the parameter should be variable.parameter, this is currently unscoped.
Code Samples
Get-Service -Name test
Extra Notes
Also, test in the code snippet above should probably be scoped as string.unquoted
This is related to #76
Was thinking about this on the drive to work... I think I may have a way to define function invocation from start to finish in a way that we can grab even unapproved verbs and private functions without Verb-Noun without clobbering anything else. Will experiment with it later and hopefully we can nail a bunch of issues with one little string of regex ;D