mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-04-17 11:35:32 +08:00
noop: Make a whitespace-only change to reduce noise in the next commit.
This commit is contained in:
parent
89bf578590
commit
9872a186bc
@ -274,9 +274,10 @@ _zsh_highlight_call_widget()
|
||||
_zsh_highlight
|
||||
}
|
||||
|
||||
# Rebind all ZLE widgets to make them invoke _zsh_highlights.
|
||||
_zsh_highlight_bind_widgets()
|
||||
{
|
||||
if true; then
|
||||
# Rebind all ZLE widgets to make them invoke _zsh_highlights.
|
||||
_zsh_highlight_bind_widgets()
|
||||
{
|
||||
setopt localoptions noksharrays
|
||||
|
||||
# Load ZSH module zsh/zleparameter, needed to override user defined widgets.
|
||||
@ -317,7 +318,8 @@ _zsh_highlight_bind_widgets()
|
||||
*) echo "zsh-syntax-highlighting: unhandled ZLE widget '$cur_widget'" >&2 ;;
|
||||
esac
|
||||
done
|
||||
}
|
||||
}
|
||||
fi
|
||||
|
||||
if (( $zsh_highlight_use_redrawhook )); then
|
||||
_zsh_highlight__zle-line-finish() {
|
||||
|
Loading…
Reference in New Issue
Block a user