README: Expand the at-end-of-.zshrc FAQ answer.

Fixes zsh-users/zsh-syntax-highlighting#185.
This commit is contained in:
Daniel Shahaf 2015-09-24 18:45:35 +00:00
parent 908c4fe150
commit 4ec0c6d7a7

View File

@ -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
------------