Skip to content

Commit

Permalink
driver: Fix printing error message to file when cannot resolve highli…
Browse files Browse the repository at this point in the history
…ghters directory location

Fixes #426.

Review-by: Matthew Martin, me
  • Loading branch information
jsoizo authored and danielshahaf committed Apr 9, 2017
1 parent 4627796 commit ad522a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zsh-syntax-highlighting.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit ad522a0

Please sign in to comment.