about summary refs log tree commit diff
path: root/Completion/Unix/Command/_vim
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2012-02-10 17:09:05 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2012-02-10 17:09:05 +0000
commitc5fce37bced3c516bfb47cb84f336598fc26b277 (patch)
tree8636c3ef1f60f92348177a2916781e36fc8b3656 /Completion/Unix/Command/_vim
parent32eb4faf7c4295d029533ff85473894887f2bc36 (diff)
downloadzsh-c5fce37bced3c516bfb47cb84f336598fc26b277.tar.gz
zsh-c5fce37bced3c516bfb47cb84f336598fc26b277.tar.xz
zsh-c5fce37bced3c516bfb47cb84f336598fc26b277.zip
30199: add (-.) to many completion _files globs
Diffstat (limited to 'Completion/Unix/Command/_vim')
-rw-r--r--Completion/Unix/Command/_vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_vim b/Completion/Unix/Command/_vim
index 7aec1ecf7..2c9b0a1a4 100644
--- a/Completion/Unix/Command/_vim
+++ b/Completion/Unix/Command/_vim
@@ -46,7 +46,7 @@ arguments=(
   '-D[debugging mode]'
   '-n[no swap file (memory only)]'
   '-nb[start as NetBean server]'
-  {-r,-L}'[list swap files and exit or recover from a swap file]::swap file:_vim_files -g \*.sw\?'
+  {-r,-L}'[list swap files and exit or recover from a swap file]::swap file:_vim_files -g "*.sw?(-.)"'
   '(   -H -F)-A[start in Arabic mode]'
   '(-A    -F)-H[start in Hebrew mode]'
   '(-A -H   )-F[start in Farsi mode]'