mirror of
https://github.com/tpope/vim-fugitive.git
synced 2026-10-07 12:44:39 +08:00
Activate in netrw directories
This commit is contained in:
1 parent
b65030cd3b
commit
4c1562c15b
1 file changed
+1
@@ -107,6 +107,7 @@ endfunction
|
||||
augroup fugitive
|
||||
autocmd!
|
||||
autocmd BufNewFile,BufReadPost * call s:Detect()
|
||||
autocmd FileType netrw call s:Detect()
|
||||
autocmd BufWinLeave * execute getbufvar(+expand('<abuf>'), 'fugitive_restore')
|
||||
augroup END
|
||||
|
||||
|
||||
Reference in new issue
Block a user