brackets: Highlight the closing brackets of subshells and blocks. (Issue #226.)
This commit is contained in:
@@ -27,12 +27,15 @@
|
||||
# vim: ft=zsh sw=2 ts=2 et
|
||||
# -------------------------------------------------------------------------------------------------
|
||||
|
||||
BUFFER='tar cf - * | (cd /target; tar xfp -)'
|
||||
BUFFER='tar cf - * | (cd /target; tar xfp -) | { cat }'
|
||||
|
||||
expected_region_highlight=(
|
||||
"1 3 $ZSH_HIGHLIGHT_STYLES[command]" # tar
|
||||
"14 14 $ZSH_HIGHLIGHT_STYLES[reserved-word]" # (
|
||||
"15 16 $ZSH_HIGHLIGHT_STYLES[command]" # cd
|
||||
"27 29 $ZSH_HIGHLIGHT_STYLES[command]" # tar
|
||||
#"36 36 $ZSH_HIGHLIGHT_STYLES[?]" # )
|
||||
"36 36 $ZSH_HIGHLIGHT_STYLES[reserved-word]" # )
|
||||
"40 40 $ZSH_HIGHLIGHT_STYLES[reserved-word]" # {
|
||||
"42 44 $ZSH_HIGHLIGHT_STYLES[command]" # cat
|
||||
"46 46 $ZSH_HIGHLIGHT_STYLES[reserved-word]" # }
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user