From 21e5e2692344d0346e49e48e4b09a70462aab64f Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Tue, 17 Nov 2015 03:22:14 +0000 Subject: [PATCH] docs: Clarify 'create a new highlighter' documentation. --- highlighters/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/highlighters/README.md b/highlighters/README.md index 987cc83..833b840 100644 --- a/highlighters/README.md +++ b/highlighters/README.md @@ -31,7 +31,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: +* Implement the `_zsh_highlight_myhighlighter_highlighter_predicate` function. This function must return 0 when the highlighter needs to be called and non-zero otherwise, for example: _zsh_highlight_myhighlighter_highlighter_predicate() { # Call this highlighter in SVN repositories