mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
Add cursor highlighter
This commit is contained in:
parent
4ff08dcfa6
commit
11de634b33
3 changed files with 71 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue