You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
740 B

3 years ago
  1. zsh-syntax-highlighting / highlighters / line
  2. ---------------------------------------------
  3. This is the `line` highlighter, that highlights the whole line.
  4. ### How to tweak it
  5. This highlighter defines the following styles:
  6. * `line` - the style for the whole line
  7. To override one of those styles, change its entry in `ZSH_HIGHLIGHT_STYLES`,
  8. for example in `~/.zshrc`:
  9. ```zsh
  10. ZSH_HIGHLIGHT_STYLES[line]='bold'
  11. ```
  12. The syntax for values is the same as the syntax of "types of highlighting" of
  13. the zsh builtin `$zle_highlight` array, which is documented in [the `zshzle(1)`
  14. manual page][zshzle-Character-Highlighting].
  15. [zshzle-Character-Highlighting]: http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#Character-Highlighting