From e2883a54261dab9fc1c2cbb39f86a8841047bae4 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Wed, 29 Sep 2021 21:35:54 -0400 Subject: [PATCH] Support reload on custom chmod and unlink events These were recently added to eunuch.vim, but other plugins may use them as well. --- autoload/fugitive.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index ba31beb..119cdab 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -4193,6 +4193,7 @@ endfunction augroup fugitive_status autocmd! autocmd BufWritePost * call fugitive#DidChange(+expand(''), 0) + autocmd User FileChmodPost,FileUnlinkPost call fugitive#DidChange(+expand(''), 0) autocmd ShellCmdPost,ShellFilterPost * nested call fugitive#DidChange(0) autocmd BufDelete * nested \ if getbufvar(+expand(''), 'buftype') ==# 'terminal' |