Handle file renames

See #872.
This commit is contained in:
Andy Stewart
2023-11-09 09:42:42 +00:00
parent f7b97666ae
commit feffce19fc
2 changed files with 64 additions and 1 deletions

View File

@@ -195,6 +195,7 @@ function! s:clear(bufnr)
call gitgutter#hunk#reset(a:bufnr)
call s:reset_tick(a:bufnr)
call gitgutter#utility#setbufvar(a:bufnr, 'path', '')
call gitgutter#utility#setbufvar(a:bufnr, 'basepath', '')
endfunction