aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-11 16:50:59 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-11 16:51:55 +1200
commit831ecd219d88cd4a005e1a9657601803d9b701b9 (patch)
treec20769dfdecfbe51e8a1cb36bc9fccfc814fa099 /plugin
parentMerge branch 'release/v0.3.0' into develop (diff)
downloadvim-keep-position-831ecd219d88cd4a005e1a9657601803d9b701b9.tar.gz
vim-keep-position-831ecd219d88cd4a005e1a9657601803d9b701b9.zip
Remove range support
I didn't realise how new the <range> expansion was; it's only in Vim 8.1, by the looks.
Diffstat (limited to 'plugin')
-rw-r--r--plugin/keep_position.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/keep_position.vim b/plugin/keep_position.vim
index 68adb54..3be0ab3 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! -bar -nargs=+ -complete=command -range KeepPosition
- \ call keep_position#(<q-args>, <range>, <line1>, <line2>)
+command! -bar -nargs=+ -complete=command KeepPosition
+ \ call keep_position#(<q-args>)