Skip to content

Commit 8d4c635

Browse files
committed
driver: Do not pass widget arguments to _zsh_highlight
This avoids a bug in zsh 4.3.12 and prior which affects passing arguments to an anonymous function.
1 parent 56ba7f0 commit 8d4c635

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

zsh-syntax-highlighting.zsh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -347,8 +347,8 @@ then
347347
# see "User-defined widgets" in zshall.
348348
() {
349349
local -h -r WIDGET=zle-line-finish
350-
_zsh_highlight "$@"
351-
} "$@"
350+
_zsh_highlight
351+
}
352352
}
353353
_zsh_highlight_bind_widgets(){}
354354
if [[ -o zle ]]; then

0 commit comments

Comments
 (0)