mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-10 12:33:46 -05:00
Fix :Ggrep on Vim 7
This commit is contained in:
@@ -781,7 +781,7 @@ function! s:SystemList(cmd) abort
|
|||||||
endwhile
|
endwhile
|
||||||
return [lines, exit[0]]
|
return [lines, exit[0]]
|
||||||
else
|
else
|
||||||
let [output, exec_error] = call('s:SystemError', s:shellesc(a:cmd))
|
let [output, exec_error] = s:SystemError(s:shellesc(a:cmd))
|
||||||
let lines = split(output, "\n", 1)
|
let lines = split(output, "\n", 1)
|
||||||
if empty(lines[-1])
|
if empty(lines[-1])
|
||||||
call remove(lines, -1)
|
call remove(lines, -1)
|
||||||
|
|||||||
Reference in New Issue
Block a user