This commit is contained in:
Kovid Goyal 2014-08-06 13:50:47 +05:30
parent 20553e8234
commit 8b42cae6e4

View File

@ -240,7 +240,7 @@ class ZshCompleter(object): # {{{
if not self.dest:
return
exts = sorted(set(exts))
extra = (''''*:filename:_files -g '(#i)*.(%s)' ''' % '|'.join(exts),)
extra = ('''"*:filename:_files -g '(#i)*.(%s)" ''' % '|'.join(exts),)
opts = '\\\n '.join(tuple(self.get_options(
op(), cover_opts=cover_opts, opf_opts=opf_opts, file_map=file_map)) + extra)
txt = '_arguments -s \\\n ' + opts