From ad522a091429ba180c930f84b2a023b40de4dbcc Mon Sep 17 00:00:00 2001
From: jsoizo <jun.skmt.12@gmail.com>
Date: Mon, 10 Apr 2017 00:44:30 +0900
Subject: [PATCH] driver: Fix printing error message to file when cannot
 resolve highlighters directory location

Fixes #426.

Review-by: Matthew Martin, me
---
 zsh-syntax-highlighting.zsh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/zsh-syntax-highlighting.zsh b/zsh-syntax-highlighting.zsh
index e70e689..2c376e7 100644
--- a/zsh-syntax-highlighting.zsh
+++ b/zsh-syntax-highlighting.zsh
@@ -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
 }