diff options
| author | Daniel Weipert <code@drogueronin.de> | 2021-11-30 21:46:50 +0100 | 
|---|---|---|
| committer | Daniel Weipert <code@drogueronin.de> | 2022-01-10 13:28:28 +0100 | 
| commit | ca44f39a27073c708857d15d363fe880165028e8 (patch) | |
| tree | 077e2dc3f6bee3eb4a1bed3dff7f908b2d8679dc /plugin | |
| parent | 0a880d74aca80949fed917fb931e503732b046c1 (diff) | |
Improve error handling, add command arguments and add sync command
Diffstat (limited to 'plugin')
| -rw-r--r-- | plugin/rclone.vim | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/plugin/rclone.vim b/plugin/rclone.vim index b3a4623..3173b6a 100644 --- a/plugin/rclone.vim +++ b/plugin/rclone.vim @@ -5,7 +5,8 @@ endif  let s:old_cpo = &cpo  set cpo&vim -command! RcloneCopy lua require('rclone').copy() +command! -nargs=? RcloneCopy lua require('rclone').copy(<f-args>) +command! -nargs=? RcloneSync lua require('rclone').sync(<f-args>)  let &cpo = s:old_cpo  unlet s:old_cpo  | 
