Skip to content

Commit 9d77a6b

Browse files
authored
Merge pull request #6 from davidhcefx/powershell-fix-comment
fix(powershell): block comment in comment
2 parents b4b5543 + aa40a1d commit 9d77a6b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

powershell.nanorc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,9 @@ icolor brightcyan "\<(class|enum|function|using|assembly|command|module|namespac
2424
## Types
2525
icolor green "\<(string|char|byte|int|long|bool|decimal|single|double|DateTime|xml|array|hashtable|void)\>"
2626

27-
# TODO: This logic seems a bit off... look into this
2827
## Comments
2928
color cyan start="<#" end="#>"
30-
color cyan "(^|[[:space:]])#[^>].*$"
29+
color cyan "(^|[[:space:]])#[^>]([^#]|#[^>])*$"
3130

3231
## Quoted text
3332
color brightyellow "\"[^\"]*\""

0 commit comments

Comments
 (0)