about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_vim2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 53d751d37..e2f7511cb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-05-17  Clint Adams  <clint@zsh.org>
+
+	* Nikolai Weibull: 23443: Completion/Unix/Command/_vim:
+	mark --nofork and -f as redundant.
+
 2007-05-16  Clint Adams  <clint@zsh.org>
 
 	* Ag. D. Hatzimanikas: 23442: Completion/Unix/Command/_vim:
diff --git a/Completion/Unix/Command/_vim b/Completion/Unix/Command/_vim
index 5765087d2..684e027c8 100644
--- a/Completion/Unix/Command/_vim
+++ b/Completion/Unix/Command/_vim
@@ -27,7 +27,7 @@ arguments=(
   '-l[lisp mode]'
   '-C[make vim compatible with vi]'
   '-N[do not force compatibility with vi]'
-  {--nofork,-f}'[do not detach the GUI version from the shell]'
+  '(--nofork -f)'{--nofork,-f}'[do not detach the GUI version from the shell]'
   '-V-[verbosity level]::verbosity:((0\:"do not display any messages"
                                      1\:"display when viminfo file is read or written"
                                      2\:"display sourced files"