Skip to content

Commit 7cc6226

Browse files
committed
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.
1 parent cba4a1b commit 7cc6226

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ calls and after running `compinit`) in order to be able to wrap all of them.
5555
Widgets created after z-sy-h is sourced will work, but will not update the
5656
syntax highlighting.
5757

58-
In zsh 5.3 and newer,
58+
In zsh newer than 5.8 (not including 5.8 itself),
5959
zsh-syntax-highlighting uses the `add-zle-hook-widget` facility to install
6060
a `zle-line-pre-redraw` hook. Hooks are run in order of registration,
6161
therefore, z-sy-h must be sourced (and register its hook) after anything else

0 commit comments

Comments
 (0)