mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-12-12 07:40:53 +01:00
41960: add missing local declarations for MATCH, MBEGIN and MEND
This commit is contained in:
parent
08e865ed90
commit
37c5e20a80
3 changed files with 7 additions and 2 deletions
|
|
@ -1,5 +1,8 @@
|
||||||
2017-10-29 Oliver Kiddle <opk@zsh.org>
|
2017-10-29 Oliver Kiddle <opk@zsh.org>
|
||||||
|
|
||||||
|
* Sebastian: 41960: Completion/Zsh/Command/_zstyle,
|
||||||
|
Completion/Zsh/Type/_globquals: declare MATCH, MBEGIN, MEND local
|
||||||
|
|
||||||
* 41961: Completion/Unix/Command/_ansible: new ansible completion
|
* 41961: Completion/Unix/Command/_ansible: new ansible completion
|
||||||
|
|
||||||
* 41958: Completion/Linux/Command/_losetup,
|
* 41958: Completion/Linux/Command/_losetup,
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,8 @@
|
||||||
#compdef zstyle
|
#compdef zstyle
|
||||||
|
|
||||||
local state context ostate line expl ctop suf
|
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
|
typeset -A opt_args styles
|
||||||
|
|
||||||
_vcs_info_hooks() {
|
_vcs_info_hooks() {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
#autoload
|
#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 alts tdisp sdisp tmatch smatch
|
||||||
local -A specmap
|
local -A specmap
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue