main: Highlight command substitutions

This commit is contained in:
Matthew Martin
2018-03-10 15:03:02 -06:00
parent ce592bd5c7
commit b75169597e
4 changed files with 33 additions and 5 deletions

View File

@@ -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' # :
)

View File

@@ -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
)