From e13319caeefc8d85fbbc073837fce92e941e0971 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 14 Feb 2012 18:36:18 +1300 Subject: 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. --- vim/after/plugin/eunuch.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vim/after/plugin/eunuch.vim') 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 +command! -bang -complete=file -nargs=? W w -- cgit v1.2.3