bracket highlighter: small typo in testcase - document new style

This commit is contained in:
Andreas Gahr 2011-08-08 17:01:51 +02:00
parent 06ad03e32c
commit b1b65dc486
2 changed files with 2 additions and 1 deletions

View File

@ -17,6 +17,7 @@ This highlighter defines the following styles:
* `bracket-error` - unmatched brackets * `bracket-error` - unmatched brackets
* `bracket-level-N` - brackets with nest level N * `bracket-level-N` - brackets with nest level N
* `cursor-matchingbracket` - the matching bracket, if cursor is on a bracket
To override one of those styles, change its entry in `ZSH_HIGHLIGHT_STYLES`, for example in `~/.zshrc`: To override one of those styles, change its entry in `ZSH_HIGHLIGHT_STYLES`, for example in `~/.zshrc`:

View File

@ -28,7 +28,7 @@
# vim: ft=zsh sw=2 ts=2 et # vim: ft=zsh sw=2 ts=2 et
# ------------------------------------------------------------------------------------------------- # -------------------------------------------------------------------------------------------------
BUFFER='echo $(echo x{(z)array})' BUFFER='echo $(echo ${(z)array})'
expected_region_highlight=( expected_region_highlight=(
"6 6 $ZSH_HIGHLIGHT_STYLES[bracket-level-1]" # ( "6 6 $ZSH_HIGHLIGHT_STYLES[bracket-level-1]" # (