From be083d7f37107e5b27207255ae1a64bf56f9f112 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Sun, 5 Mar 2017 14:36:41 +0000 Subject: [PATCH] =?UTF-8?q?driver:=20Improve=20=C2=ABunhandled=20ZLE=20wid?= =?UTF-8?q?get=20'foo'=C2=BB=20error=20message.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #409. --- zsh-syntax-highlighting.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/zsh-syntax-highlighting.zsh b/zsh-syntax-highlighting.zsh index 0251d1e..008970b 100644 --- a/zsh-syntax-highlighting.zsh +++ b/zsh-syntax-highlighting.zsh @@ -317,6 +317,7 @@ _zsh_highlight_bind_widgets() else # Default: unhandled case. print -r -- >&2 "zsh-syntax-highlighting: unhandled ZLE widget ${(qq)cur_widget}" + print -r -- >&2 "zsh-syntax-highlighting: (This is sometimes caused by doing \`bindkey ${(q-)cur_widget}\` without creating the ${(qq)cur_widget} widget with \`zle -N\` or \`zle -C\`.)" fi esac done