driver: Fix printing error message to file when cannot resolve highlighters directory location

Fixes #426.

Review-by: Matthew Martin, me
This commit is contained in:
jsoizo 2017-04-10 00:44:30 +09:00 committed by Daniel Shahaf
parent 462779629a
commit ad522a0914

View File

@ -388,7 +388,7 @@ _zsh_highlight_bind_widgets || {
# Resolve highlighters directory location.
_zsh_highlight_load_highlighters "${ZSH_HIGHLIGHT_HIGHLIGHTERS_DIR:-${${0:A}:h}/highlighters}" || {
print -r -- >&@ 'zsh-syntax-highlighting: failed loading highlighters, exiting.'
print -r -- >&2 'zsh-syntax-highlighting: failed loading highlighters, exiting.'
return 1
}