mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-08 11:33:47 -05:00
Correctly handle :Gedit + +SecondCommand
This commit is contained in:
@@ -5981,6 +5981,9 @@ function! s:OpenParse(string, wants_cmd) abort
|
||||
while !empty(args)
|
||||
if args[0] =~# '^++'
|
||||
call add(opts, ' ' . s:PlusEscape(remove(args, 0)))
|
||||
elseif a:wants_cmd && args[0] ==# '+'
|
||||
call remove(args, 0)
|
||||
call add(cmds, '$')
|
||||
elseif a:wants_cmd && args[0] =~# '^+'
|
||||
call add(cmds, remove(args, 0)[1:-1])
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user