Skip to content

Commit fb929ed

Browse files
jnooreedanielshahaf
authored andcommitted
docs: regexp highlighter: Fix a wrong associative array name in the example.
Factored out from #747.
1 parent 91d2eea commit fb929ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/highlighters/regexp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ To use this highlighter, associate regular expressions with styles in the
1111
`ZSH_HIGHLIGHT_REGEXP` associative array, for example in `~/.zshrc`:
1212

1313
```zsh
14-
typeset -A ZSH_HIGHLIGHT_PATTERNS
14+
typeset -A ZSH_HIGHLIGHT_REGEXP
1515
ZSH_HIGHLIGHT_REGEXP+=('\bsudo\b' fg=123,bold)
1616
```
1717

0 commit comments

Comments
 (0)