From 831ecd219d88cd4a005e1a9657601803d9b701b9 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 11 Jun 2019 16:50:59 +1200 Subject: Remove range support I didn't realise how new the expansion was; it's only in Vim 8.1, by the looks. --- plugin/keep_position.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugin') 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#(, , , ) +command! -bar -nargs=+ -complete=command KeepPosition + \ call keep_position#() -- cgit v1.2.3