Fix READMEs

This commit is contained in:
Julien Nicoulaud
2011-06-12 23:16:41 +02:00
parent bb7fcb79fa
commit ef4f5ed638
4 changed files with 8 additions and 6 deletions

View File

@@ -3,9 +3,9 @@ zsh-syntax-highlighting / highlighters
Syntax highlighting is done by pluggable highlighters:
* [***main***](main) - the base highlighter, and the only one active by default.
* [***brackets***](brackets) - matches brackets and parenthesis.
* [***pattern***](pattern) - matches user-defined patterns.
* [***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.
How to activate highlighters
@@ -26,7 +26,7 @@ How to implement a new highlighter
----------------------------------
To create your own ***myhighlighter*** highlighter:
* Create your script at **highlighters/*myhighlighter*/*myhighlighter*-highlighter.zsh**.
* Implement the `_zsh_highlight_myhighlighter_highlighter_predicate` function. This function must return 0 when the highlighter needs to be called, for example: