aboutsummaryrefslogtreecommitdiff
path: root/vim/after/plugin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2012-02-14 18:36:18 +1300
committerTom Ryder <tom@sanctum.geek.nz>2012-02-14 18:36:18 +1300
commite13319caeefc8d85fbbc073837fce92e941e0971 (patch)
treea9ebcfa65b273e657beeb3f88a927d5dbb14cd7a /vim/after/plugin
parentAdded feature check wrapper to user commands. (diff)
downloaddotfiles-e13319caeefc8d85fbbc073837fce92e941e0971.tar.gz
dotfiles-e13319caeefc8d85fbbc073837fce92e941e0971.zip
Added a few more conditional checks.
Just in the interests of compatibility. There's technically at least one other place that there should be such a check, in the +user_commands section, where I define typo correction stuff. I should be making sure that +cmdline_compl is available, but it just makes things a little bit too convoluted.
Diffstat (limited to 'vim/after/plugin')
-rw-r--r--vim/after/plugin/eunuch.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/after/plugin/eunuch.vim b/vim/after/plugin/eunuch.vim
index 5d2befd9..67f97e80 100644
--- a/vim/after/plugin/eunuch.vim
+++ b/vim/after/plugin/eunuch.vim
@@ -1,3 +1,3 @@
" Discard Eunuch's remapping of :W.
-command! -bang -nargs=? -complete=file W w<bang> <args>
+command! -bang -complete=file -nargs=? W w<bang> <args>