From 37c5e20a80dec93a48d85518d34c49f2168847bb Mon Sep 17 00:00:00 2001 From: Sebastian Gniazdowski Date: Sun, 29 Oct 2017 12:40:11 +0100 Subject: 41960: add missing local declarations for MATCH, MBEGIN and MEND --- Completion/Zsh/Command/_zstyle | 3 ++- Completion/Zsh/Type/_globquals | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'Completion/Zsh') diff --git a/Completion/Zsh/Command/_zstyle b/Completion/Zsh/Command/_zstyle index 0e828225e..7db73c0c0 100644 --- a/Completion/Zsh/Command/_zstyle +++ b/Completion/Zsh/Command/_zstyle @@ -1,7 +1,8 @@ #compdef zstyle local state context ostate line expl ctop suf -local nm=$compstate[nmatches] taglist patterns contexts +local nm=$compstate[nmatches] taglist patterns contexts MATCH +integer MBEGIN MEND typeset -A opt_args styles _vcs_info_hooks() { diff --git a/Completion/Zsh/Type/_globquals b/Completion/Zsh/Type/_globquals index c855b540e..915f97c1c 100644 --- a/Completion/Zsh/Type/_globquals +++ b/Completion/Zsh/Type/_globquals @@ -1,6 +1,7 @@ #autoload -local state=qual expl char delim timespec default +local state=qual expl char delim timespec default MATCH +integer MBEGIN MEND local -a alts tdisp sdisp tmatch smatch local -A specmap -- cgit 1.4.1