Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Complete -t <tags> for _vim
- X-seq: zsh-workers 25617
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: zsh workers <zsh-workers@xxxxxxxxxx>
- Subject: Complete -t <tags> for _vim
- Date: Fri, 5 Sep 2008 11:24:50 +0200 (CEST)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author