aboutsummaryrefslogtreecommitdiff
path: root/vim/plugin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-11 11:59:54 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-11 11:59:54 +1200
commit762d72b1b4c811afba59cd1da0da39a5c5315930 (patch)
tree74f539e731a742e7a4889bb403670d4c70672fc6 /vim/plugin
parentMerge branch 'release/v5.37.0' (diff)
parentBump VERSION (diff)
downloaddotfiles-762d72b1b4c811afba59cd1da0da39a5c5315930.tar.gz
dotfiles-762d72b1b4c811afba59cd1da0da39a5c5315930.zip
Merge branch 'release/v5.38.0'v5.38.0
* release/v5.38.0: Update vim-toggle-flags plugin to v3.1.0 Update vim-strip-trailing-whitespace to v3.2.0 Update vim-squeeze-repeat-plans to v0.6.0 Update vim-keep-position to v0.3.0 Allow -bar in custom commands Mention the sources of a few mapping commands Arrange for :PutDate maps to accept line numbers Completely refactor vimrc/filetype reloading Check correct scope for filetype load guard var
Diffstat (limited to 'vim/plugin')
-rw-r--r--vim/plugin/put_date.vim2
-rw-r--r--vim/plugin/utc.vim2
2 files changed, 2 insertions, 2 deletions
diff --git a/vim/plugin/put_date.vim b/vim/plugin/put_date.vim
index 29cf886e..0828abe4 100644
--- a/vim/plugin/put_date.vim
+++ b/vim/plugin/put_date.vim
@@ -7,5 +7,5 @@ let loaded_put_date = 1
" RFC-2822 date string, using the system strftime() implementation. Allow it
" to accept a range which defaults to the current line.
"
-command! -range PutDate
+command! -bar -range PutDate
\ <line1>put =strftime('%a, %d %b %Y %T %z')
diff --git a/vim/plugin/utc.vim b/vim/plugin/utc.vim
index 39eebad8..8fb84890 100644
--- a/vim/plugin/utc.vim
+++ b/vim/plugin/utc.vim
@@ -27,5 +27,5 @@ endfunction
" The :UTC command itself completes another command name, and accepts one
" required argument, which it passes in quoted form to the helper function.
"
-command! -complete=command -nargs=1 UTC
+command! -bar -complete=command -nargs=1 UTC
\ call s:UTC(<q-args>)