We don't need this hook as we have already bound every widget we could find (stop me if I'm wrong)
This commit is contained in:
parent
08dae96eb1
commit
5003fa7c9b
@ -162,9 +162,6 @@ for cur_widget in ${${(f)"$(builtin zle -la)"}:#(.*|orig-*|run-help|which-comman
|
|||||||
done
|
done
|
||||||
unset cur_widget
|
unset cur_widget
|
||||||
|
|
||||||
# Start highlighting immediately after the creation of a new command line.
|
|
||||||
autoload add-zsh-hook && add-zsh-hook precmd _zsh_highlight
|
|
||||||
|
|
||||||
# Load highlighters from highlighters directory and check they define required functions.
|
# Load highlighters from highlighters directory and check they define required functions.
|
||||||
for highlighter_dir ($highlighters_dir/*/); do
|
for highlighter_dir ($highlighters_dir/*/); do
|
||||||
highlighter="${highlighter_dir:t}"
|
highlighter="${highlighter_dir:t}"
|
||||||
|
Loading…
Reference in New Issue
Block a user