about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_vim3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index cbf91653e..833534d5f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-09-26  Clint Adams  <clint@zsh.org>
+
+	* Mikael Magnusson: 25617: Completion/Unix/Command/_vim:
+	complete -t <tags>.
+
 2008-09-26  Peter Stephenson  <pws@csr.com>
 
 	* 25744: Doc/Zsh/expn.yo, Src/exec.c, Src/math.c, Src/signals.c,
diff --git a/Completion/Unix/Command/_vim b/Completion/Unix/Command/_vim
index 684e027c8..a79e0a0c2 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