summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_vim
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2022-04-11 00:18:04 +0200
committerAxel Beckert <abe@deuxchevaux.org>2022-04-11 00:18:04 +0200
commit31bcc5c263aea983e967426e2b94269e7605dcd4 (patch)
tree7b48ad9d7799afe09b7d7d8adc980bd5db935bdf /Completion/Unix/Command/_vim
parent5086b5356abcef8849dc8a09902b7c55f01db3c0 (diff)
parentb09f4483416c54c1782824633dfabaf2ec0265b6 (diff)
downloadzsh-31bcc5c263aea983e967426e2b94269e7605dcd4.tar.gz
zsh-31bcc5c263aea983e967426e2b94269e7605dcd4.zip
Update upstream source from tag 'upstream/5.8.1.2-test'
Update to upstream version '5.8.1.2-test' with Debian dir b380d582bf51cd93149e4dea28fffa1ad85db4f5
Diffstat (limited to 'Completion/Unix/Command/_vim')
-rw-r--r--Completion/Unix/Command/_vim8
1 files changed, 5 insertions, 3 deletions
diff --git a/Completion/Unix/Command/_vim b/Completion/Unix/Command/_vim
index d9dc1a5b3..5c6054e70 100644
--- a/Completion/Unix/Command/_vim
+++ b/Completion/Unix/Command/_vim
@@ -27,9 +27,8 @@ arguments=(
'-D[debugging mode]'
'-n[no swap file (memory only)]'
{-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]'
+ '(-H)-A[start in Arabic mode]'
+ '(-A)-H[start in Hebrew mode]'
'-u[use given vimrc file instead of default .vimrc]:config:->config'
"--noplugin[don't load plugin scripts]"
'-o-[number of windows to open (default: one for each file)]::window count: '
@@ -99,8 +98,11 @@ fi
[[ $service != *view ]] && arguments+='-R[readonly mode]'
[[ $service = *g* ]] || (( ${words[(I)-g]} )) && arguments+=(
'(--nofork -f)'{--nofork,-f}'[do not detach the GUI version from the shell]'
+ '(-background -bg)'{-background,-bg}'[use specified color for the background]:color:_x_color'
+ '(-foreground -fg)'{-foreground,-fg}'[use specified color for normal text]:color:_x_color'
'-font:font:_xft_fonts'
'-geometry:geometry:_x_geometry'
+ '-iconic[start vim iconified]'
'(-rv -reverse)'{-rv,-reverse}'[use reverse video]'
'-display:display:_x_display'
'--role[set unique role to identify main window]:role'