Skip to content

Commit 2cbb3fb

Browse files
committed
driver: Allow for -U in autoloaded function definition
1 parent f265ef0 commit 2cbb3fb

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
@@ -53,7 +53,7 @@ fi
5353
_zsh_highlight__function_is_autoload_stub_p() {
5454
if zmodload -e zsh/parameter; then
5555
#(( ${+functions[$1]} )) &&
56-
[[ "$functions[$1]" == *"builtin autoload -X" ]]
56+
[[ "$functions[$1]" == *"builtin autoload -X"* ]]
5757
else
5858
#[[ $(type -wa -- "$1") == *'function'* ]] &&
5959
[[ "${${(@f)"$(which -- "$1")"}[2]}" == $'\t'$histchars[3]' undefined' ]]

0 commit comments

Comments
 (0)