Skip to content

Commit d0fb0df

Browse files
danielshahafphy1729
authored andcommitted
driver: Make the shadowing $WIDGET read only.
1 parent f665eec commit d0fb0df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zsh-syntax-highlighting.zsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ then
349349
# A nested function is required to hide zle parameters; see
350350
# "User-defined widgets" in zshall.
351351
() {
352-
local -h +r WIDGET=zle-line-finish
352+
local -h -r WIDGET=zle-line-finish
353353
_zsh_highlight "$@"
354354
} "$@"
355355
}

0 commit comments

Comments
 (0)