From 7cc6226477a46e7f8217239686912c9cc4a7696b Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Sun, 9 Aug 2020 10:54:01 +0000 Subject: [PATCH] docs: Track making the new codepath conditional upon the 'memo=' feature. The new codepath is used in 5.8.0.2 and newer; see zsh-syntax-highlighting.zsh:417. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 52896c0..303ee1e 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ calls and after running `compinit`) in order to be able to wrap all of them. Widgets created after z-sy-h is sourced will work, but will not update the syntax highlighting. -In zsh 5.3 and newer, +In zsh newer than 5.8 (not including 5.8 itself), zsh-syntax-highlighting uses the `add-zle-hook-widget` facility to install a `zle-line-pre-redraw` hook. Hooks are run in order of registration, therefore, z-sy-h must be sourced (and register its hook) after anything else