mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
main: Highlight command substitutions
This commit is contained in:
parent
ce592bd5c7
commit
b75169597e
4 changed files with 33 additions and 5 deletions
|
|
@ -34,5 +34,6 @@ expected_region_highlight=(
|
|||
'1 1 builtin' # :
|
||||
'3 8 default' # "$(:)"
|
||||
'3 8 double-quoted-argument' # "$(:)"
|
||||
'4 4 dollar-double-quoted-argument' # $
|
||||
'4 7 command-substitution' # $(:)
|
||||
'6 6 builtin' # :
|
||||
)
|
||||
|
|
|
|||
|
|
@ -33,4 +33,7 @@ BUFFER=$': $(<foo)'
|
|||
expected_region_highlight=(
|
||||
'1 1 builtin' # :
|
||||
'3 9 default' # $(<foo)
|
||||
'3 9 command-substitution' # $(<foo)
|
||||
'5 5 redirection' # <
|
||||
'6 8 default' # foo
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue