summary refs log tree commit diff
path: root/Completion/Zsh
diff options
context:
space:
mode:
authorSebastian Gniazdowski <psprint@zdharma.org>2017-10-29 12:40:11 +0100
committerOliver Kiddle <opk@zsh.org>2017-10-29 13:54:05 +0100
commit37c5e20a80dec93a48d85518d34c49f2168847bb (patch)
treef0692e17546a4782a178506a9b3e11c6931af10c /Completion/Zsh
parent08e865ed90621895149debde39525cad4ba97675 (diff)
downloadzsh-37c5e20a80dec93a48d85518d34c49f2168847bb.tar.gz
zsh-37c5e20a80dec93a48d85518d34c49f2168847bb.tar.xz
zsh-37c5e20a80dec93a48d85518d34c49f2168847bb.zip
41960: add missing local declarations for MATCH, MBEGIN and MEND
Diffstat (limited to 'Completion/Zsh')
-rw-r--r--Completion/Zsh/Command/_zstyle3
-rw-r--r--Completion/Zsh/Type/_globquals3
2 files changed, 4 insertions, 2 deletions
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