diff options
Diffstat (limited to 'vim/plugin/put_date.vim')
-rw-r--r-- | vim/plugin/put_date.vim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vim/plugin/put_date.vim b/vim/plugin/put_date.vim index d911486e..e78f5fcd 100644 --- a/vim/plugin/put_date.vim +++ b/vim/plugin/put_date.vim @@ -1,6 +1,6 @@ -if exists('loaded_put_date') +if exists('loaded_put_date') || &compatible || !has('*strftime') finish endif let loaded_put_date = 1 -command! -bar -range PutDate - \ <line1>put =strftime('%a, %d %b %Y %T %z') +command! -bang -bar -nargs=* -range PutDate + \ call put_date#(<q-line1>, <q-bang> ==# '!', <q-args>) |