Highlight subshells and anonymous functions correctly.
Fixes zsh-users/zsh-syntax-highlighting#166. Fixes zsh-users/zsh-syntax-highlighting#194. Builds upon the issue #207 work.
This commit is contained in:
@@ -31,6 +31,6 @@ BUFFER='tar cf - * | (cd /target; tar xfp -)'
|
||||
|
||||
expected_region_highlight=(
|
||||
"1 3 $ZSH_HIGHLIGHT_STYLES[command]" # tar
|
||||
"15 16 $ZSH_HIGHLIGHT_STYLES[command] 'issue #166'" # cd
|
||||
"15 16 $ZSH_HIGHLIGHT_STYLES[command]" # cd
|
||||
"27 29 $ZSH_HIGHLIGHT_STYLES[command]" # tar
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user