We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e3dde4 commit 776249aCopy full SHA for 776249a
zsh-syntax-highlighting.zsh
@@ -244,7 +244,7 @@ _zsh_highlight_bind_widgets()
244
245
# Override ZLE widgets to make them invoke _zsh_highlight.
246
local -U widgets_to_bind
247
- widgets_to_bind=(${${(f)"$(builtin zle -la)"}:#(.*|orig-*|run-help|which-command|beep|set-local-history|yank)})
+ widgets_to_bind=(${${(k)widgets}:#(.*|orig-*|run-help|which-command|beep|set-local-history|yank)})
248
249
# Always wrap special zle-line-finish widget. This is needed to decide if the
250
# current line ends and special highlighting logic needs to be applied.
0 commit comments