From b5dd4f9123ae7464708bd84c76fd7f554bd350c2 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Wed, 15 Dec 2021 23:14:25 +0100 Subject: Add variable command options --- plugin/rclone.vim | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'plugin/rclone.vim') diff --git a/plugin/rclone.vim b/plugin/rclone.vim index 31c3f1b..568c839 100644 --- a/plugin/rclone.vim +++ b/plugin/rclone.vim @@ -5,10 +5,7 @@ endif let s:old_cpo = &cpo set cpo&vim -command! -nargs=? RcloneCopy lua require('rclone').copy() -command! -nargs=? RcloneCopyFile lua require('rclone').copyFile() -command! -nargs=? RcloneSync lua require('rclone').sync() - +command! -nargs=+ Rclone lua require('rclone').run(unpack({})) let &cpo = s:old_cpo unlet s:old_cpo -- cgit v1.2.3