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.
This commit is contained in:
parent
56ba7f082d
commit
8d4c6355e6
@ -347,8 +347,8 @@ then
|
|||||||
# see "User-defined widgets" in zshall.
|
# see "User-defined widgets" in zshall.
|
||||||
() {
|
() {
|
||||||
local -h -r WIDGET=zle-line-finish
|
local -h -r WIDGET=zle-line-finish
|
||||||
_zsh_highlight "$@"
|
_zsh_highlight
|
||||||
} "$@"
|
}
|
||||||
}
|
}
|
||||||
_zsh_highlight_bind_widgets(){}
|
_zsh_highlight_bind_widgets(){}
|
||||||
if [[ -o zle ]]; then
|
if [[ -o zle ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user