README: Expand the at-end-of-.zshrc FAQ answer.
Fixes zsh-users/zsh-syntax-highlighting#185.
This commit is contained in:
parent
908c4fe150
commit
4ec0c6d7a7
@ -54,7 +54,9 @@ FAQ
|
|||||||
### Why must `zsh-syntax-highlighting.zsh` be sourced at the end of the `.zshrc` file?
|
### 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
|
`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
|
How to tweak
|
||||||
------------
|
------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user