zsh-workers
 help / color / mirror / code / Atom feed
* Complete -t <tags> for _vim
@ 2008-09-05  9:24 Mikael Magnusson
  0 siblings, 0 replies; only message in thread
From: Mikael Magnusson @ 2008-09-05  9:24 UTC (permalink / raw)
  To: zsh workers

Not exactly sure why you don't get to open multiple files and files with 
tags, but there you have it. Only multiple files or a single tag works.

diff --git a/Completion/Unix/Command/_vim b/Completion/Unix/Command/_vim
index 684e027..a79e0a0 100644
--- a/Completion/Unix/Command/_vim
+++ b/Completion/Unix/Command/_vim
@@ -71,7 +71,8 @@ arguments=(
    '-i[use given viminfo file instead of default .viminfo]:viminfo 
file:_files'
    '(- *)'{-h,--help}'[print help and exit]'
    '(- *)--version[print version information and exit]'
-  '*:file:_vim_files'
+  '(*)-t[edit file where tag is defined]:tag:_complete_tag'
+  '(-t)*:file:_vim_files'
  )

  _arguments -S $arguments


--
Mikael Magnusson


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-09-05  9:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-05  9:24 Complete -t <tags> for _vim Mikael Magnusson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).