driver: Clarify comment. No functional change.
This commit is contained in:
parent
2cbb3fb24e
commit
56ba7f082d
@ -342,8 +342,9 @@ then
|
|||||||
_zsh_highlight__zle-line-finish() {
|
_zsh_highlight__zle-line-finish() {
|
||||||
# Reset $WIDGET since the 'main' highlighter depends on it.
|
# Reset $WIDGET since the 'main' highlighter depends on it.
|
||||||
#
|
#
|
||||||
# A nested function is required to hide zle parameters; see
|
# Since $WIDGET is declared by zle as read-only in this function's scope,
|
||||||
# "User-defined widgets" in zshall.
|
# a nested function is required in order to shadow its built-in value;
|
||||||
|
# see "User-defined widgets" in zshall.
|
||||||
() {
|
() {
|
||||||
local -h -r WIDGET=zle-line-finish
|
local -h -r WIDGET=zle-line-finish
|
||||||
_zsh_highlight "$@"
|
_zsh_highlight "$@"
|
||||||
|
Loading…
Reference in New Issue
Block a user