diff --git a/plugin/fugitive.vim b/plugin/fugitive.vim index 0ee9d04..96dfa23 100644 --- a/plugin/fugitive.vim +++ b/plugin/fugitive.vim @@ -2906,6 +2906,11 @@ function! fugitive#head(...) abort return s:repo().head(a:0 ? a:1 : 0) endfunction +augroup fugitive_statusline + autocmd! + autocmd User Flags call Hoist('buffer', function('fugitive#statusline')) +augroup END + " Section: Folding function! fugitive#foldtext() abort