mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-12-22 15:21:30 +01:00
vim: fix GitStatus()
This commit is contained in:
parent
79e584b7e8
commit
53b5d0f9f7
|
@ -88,9 +88,10 @@ endfunction
|
|||
|
||||
function! GitStatus()
|
||||
let [a,m,r] = GitGutterGetHunkSummary()
|
||||
return printf('+%d ~%d -%d', a, m, r)
|
||||
echo printf('+%d ~%d -%d', a, m, r)
|
||||
endfunction
|
||||
|
||||
command! GitStatus call GitStatus()
|
||||
|
||||
" Redirect command into scratch buffer. Stolen from romainl
|
||||
function! Redir(cmd, rng, start, end)
|
||||
|
|
Loading…
Reference in New Issue
Block a user