[PATCH] _vim: Add '--log' option

Shohei YOSHIDA <[email protected]> Wed, 15 Jul 2026 11:29:43 +0900
Newsgroups gmane.comp.shells.zsh.devel
Message-ID <[email protected]>
'--log' option was introduced at Vim 9.1
---
 Completion/Unix/Command/_vim | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Completion/Unix/Command/_vim b/Completion/Unix/Command/_vim
index 5a805b9f6..2e7c70064 100644
--- a/Completion/Unix/Command/_vim
+++ b/Completion/Unix/Command/_vim
@@ -91,6 +91,7 @@ else
     '(- *)--serverlist[list available vim servers and exit]'
     '--servername[name of vim server to send to or name of server to become]:server name:->server'
     '--socketid[run GVIM in another window]'
+    '--log[start logging to given file]:log file:_files'
     '-i[use specified viminfo file]:viminfo file [~/.viminfo]:_files'
   )
 fi
-- 
2.53.0