aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-11 11:54:31 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-11 11:54:31 +1200
commit004dc916bb9d3c6935252093df154277f1b2e03c (patch)
treebaecdf0fc963611a15c9103d6846177868772290
parent9f4b1b8886338ebd0ab63329d7fb537a51970ba5 (diff)
downloadvim-keep-position-004dc916bb9d3c6935252093df154277f1b2e03c.tar.gz
vim-keep-position-004dc916bb9d3c6935252093df154277f1b2e03c.zip
Allow -bar after command
-rw-r--r--plugin/keep_position.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/keep_position.vim b/plugin/keep_position.vim
index 01227c3..68adb54 100644
--- a/plugin/keep_position.vim
+++ b/plugin/keep_position.vim
@@ -11,5 +11,5 @@ endif
let loaded_keep_position = 1
" User command definition refers to autoloaded function
-command! -nargs=+ -complete=command -range KeepPosition
+command! -bar -nargs=+ -complete=command -range KeepPosition
\ call keep_position#(<q-args>, <range>, <line1>, <line2>)