diff --git a/docs/highlighters/brackets.md b/docs/highlighters/brackets.md index df47d8c6f..90010744a 100644 --- a/docs/highlighters/brackets.md +++ b/docs/highlighters/brackets.md @@ -22,5 +22,8 @@ for example in `~/.zshrc`: ZSH_HIGHLIGHT_STYLES[bracket-level-3]='fg=yellow,bold' ZSH_HIGHLIGHT_STYLES[bracket-level-4]='fg=magenta,bold' -The syntax for declaring styles is documented in [the `zshzle(1)` manual -page](http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#SEC135). +The syntax for values is the same as the syntax of "types of highlighting" of +the zsh builtin `$zle_highlight` array, which is documented in [the `zshzle(1)` +manual page][zshzle-Character-Highlighting]. + +[zshzle-Character-Highlighting]: http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#Character-Highlighting diff --git a/docs/highlighters/cursor.md b/docs/highlighters/cursor.md index 3ff6c8ec9..7295fd191 100644 --- a/docs/highlighters/cursor.md +++ b/docs/highlighters/cursor.md @@ -15,5 +15,8 @@ for example in `~/.zshrc`: ZSH_HIGHLIGHT_STYLES[cursor]='bg=blue' -The syntax for declaring styles is documented in [the `zshzle(1)` manual -page](http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#SEC135). +The syntax for values is the same as the syntax of "types of highlighting" of +the zsh builtin `$zle_highlight` array, which is documented in [the `zshzle(1)` +manual page][zshzle-Character-Highlighting]. + +[zshzle-Character-Highlighting]: http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#Character-Highlighting diff --git a/docs/highlighters/line.md b/docs/highlighters/line.md index ac69f68fe..4ba14e9ba 100644 --- a/docs/highlighters/line.md +++ b/docs/highlighters/line.md @@ -15,5 +15,8 @@ for example in `~/.zshrc`: ZSH_HIGHLIGHT_STYLES[line]='bold' -The syntax for declaring styles is documented in [the `zshzle(1)` manual -page](http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#SEC135). +The syntax for values is the same as the syntax of "types of highlighting" of +the zsh builtin `$zle_highlight` array, which is documented in [the `zshzle(1)` +manual page][zshzle-Character-Highlighting]. + +[zshzle-Character-Highlighting]: http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#Character-Highlighting diff --git a/docs/highlighters/main.md b/docs/highlighters/main.md index bbf87ce4c..c3228ba59 100644 --- a/docs/highlighters/main.md +++ b/docs/highlighters/main.md @@ -59,5 +59,8 @@ for example in `~/.zshrc`: # To disable highlighting of globbing expressions ZSH_HIGHLIGHT_STYLES[globbing]='none' -The syntax for declaring styles is documented in [the `zshzle(1)` manual -page](http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#SEC135). +The syntax for values is the same as the syntax of "types of highlighting" of +the zsh builtin `$zle_highlight` array, which is documented in [the `zshzle(1)` +manual page][zshzle-Character-Highlighting]. + +[zshzle-Character-Highlighting]: http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#Character-Highlighting diff --git a/docs/highlighters/pattern.md b/docs/highlighters/pattern.md index b64746b3c..d1b99e937 100644 --- a/docs/highlighters/pattern.md +++ b/docs/highlighters/pattern.md @@ -12,5 +12,8 @@ To use this highlighter, associate patterns with styles in the # To have commands starting with `rm -rf` in red: ZSH_HIGHLIGHT_PATTERNS+=('rm -rf *' 'fg=white,bold,bg=red') -The syntax for declaring styles is documented in [the `zshzle(1)` manual -page](http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#SEC135). +The syntax for values is the same as the syntax of "types of highlighting" of +the zsh builtin `$zle_highlight` array, which is documented in [the `zshzle(1)` +manual page][zshzle-Character-Highlighting]. + +[zshzle-Character-Highlighting]: http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#Character-Highlighting diff --git a/docs/highlighters/root.md b/docs/highlighters/root.md index 0b1f217cc..0b0d41f0f 100644 --- a/docs/highlighters/root.md +++ b/docs/highlighters/root.md @@ -16,5 +16,8 @@ for example in `~/.zshrc`: ZSH_HIGHLIGHT_STYLES[root]='bg=red' -The syntax for declaring styles is documented in [the `zshzle(1)` manual -page](http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#SEC135). +The syntax for values is the same as the syntax of "types of highlighting" of +the zsh builtin `$zle_highlight` array, which is documented in [the `zshzle(1)` +manual page][zshzle-Character-Highlighting]. + +[zshzle-Character-Highlighting]: http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#Character-Highlighting