diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-04 01:06:10 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-04 01:06:10 +1200 |
commit | 90e5acaf0add1d5caf78417ff544ea1b2d74c0ac (patch) | |
tree | 2646b998bdb401b0f67645871fc900922d3c26df /plugin | |
parent | Add command example (diff) | |
download | vim-keep-position-90e5acaf0add1d5caf78417ff544ea1b2d74c0ac.tar.gz vim-keep-position-90e5acaf0add1d5caf78417ff544ea1b2d74c0ac.zip |
Add ranges support
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/keep_position.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/keep_position.vim b/plugin/keep_position.vim index 1389bcf..01227c3 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 KeepPosition - \ call keep_position#(<q-args>) +command! -nargs=+ -complete=command -range KeepPosition + \ call keep_position#(<q-args>, <range>, <line1>, <line2>) |