Browse Source

vim: fix GitStatus()

feature/improve-speed
bretello 4 months ago
parent
commit
53b5d0f9f7
Signed by: brethil GPG Key ID: 876AAC6290170FE7
  1. 3
      vim/functions.vim

3
vim/functions.vim

@ -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…
Cancel
Save