Add cursor highlighter

This commit is contained in:
Julien Nicoulaud
2011-07-27 00:13:41 +02:00
parent 4ff08dcfa6
commit 11de634b33
3 changed files with 71 additions and 1 deletions

View File

@@ -6,6 +6,7 @@ Syntax highlighting is done by pluggable highlighters:
* [***main***](highlighters/main) - the base highlighter, and the only one active by default.
* [***brackets***](highlighters/brackets) - matches brackets and parenthesis.
* [***pattern***](highlighters/pattern) - matches user-defined patterns.
* [***cursor***](highlighters/cursor) - matches the cursor position.
How to activate highlighters
@@ -13,7 +14,7 @@ How to activate highlighters
To activate an highlighter, add it to the `ZSH_HIGHLIGHT_HIGHLIGHTERS` array in `~/.zshrc`, for example:
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern)
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern cursor)
How to tweak highlighters