From 4ec0c6d7a7874dfca32a17251130203fe61eb7cb Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Thu, 24 Sep 2015 18:45:35 +0000 Subject: [PATCH] README: Expand the at-end-of-.zshrc FAQ answer. Fixes zsh-users/zsh-syntax-highlighting#185. --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fac07e2..f7fc896 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,9 @@ FAQ ### Why must `zsh-syntax-highlighting.zsh` be sourced at the end of the `.zshrc` file? `zsh-syntax-highlighting.zsh` wraps ZLE widgets. It must be sourced after all -custom widgets have been created (i.e., after all `zle -N` calls). +custom widgets have been created (i.e., after all `zle -N` calls and after +running `compinit`). Widgets created later will work, but will not update the +syntax highlighting. How to tweak ------------