Skip to content

Commit

Permalink
[powershell] Various enhancements
Browse files Browse the repository at this point in the history
- Commands:
    - remove not workable regex
    - change to use *official-approved verbs* instead
    - add 157 builtin aliases
- Comparison operators:
    - add 47 more operators not been covered
- Keywords (statement):
    - add 28 more keywords not been covered
- Types:
    - add 14 new types highlighting
- Comments:
    - fix a buggy case of block comment
- Quoted text:
    - add a here-string case not been covered
  • Loading branch information
davidhcefx authored and Efreak committed Sep 28, 2023
1 parent 9e8a49d commit 8432d99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion powershell.nanorc
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ icolor brightcyan "\<(class|enum|function|using|assembly|command|module|namespac
icolor green "\<(string|char|byte|int|long|bool|decimal|single|double|DateTime|xml|array|hashtable|void)\>"

## Comments
color cyan "#.*$"
color cyan start="<#" end="#>"
color cyan "(^|[[:space:]])#[^>].*$"

## Quoted text
color brightyellow "\"[^\"]*\""
Expand Down

0 comments on commit 8432d99

Please sign in to comment.