1
0
mirror of https://github.com/amix/vimrc synced 2025-07-06 16:05:01 +08:00

Update vim-gitgutter.

This commit is contained in:
Kurtis Moxley
2022-05-19 23:20:20 +08:00
parent 2538a00dff
commit ca2bc6ca9f
11 changed files with 254 additions and 118 deletions

View File

@ -77,6 +77,10 @@ function! gitgutter#diff#run_diff(bufnr, from, preserve_full_diff) abort
throw 'gitgutter not tracked'
endif
if gitgutter#utility#repo_path(a:bufnr, 0) == -3
throw 'gitgutter assume unchanged'
endif
" Wrap compound commands in parentheses to make Windows happy.
" bash doesn't mind the parentheses.
let cmd = '('