dot_files/vim-plugins/vim-powerline/autoload/Powerline/Segments/fugitive.vim
2017-10-08 12:00:02 +01:00

5 lines
229 B
VimL

let g:Powerline#Segments#fugitive#segments = Pl#Segment#Init(['fugitive',
\ (exists('g:loaded_fugitive') && g:loaded_fugitive == 1),
\
\ Pl#Segment#Create('branch', '%{Powerline#Functions#fugitive#GetBranch("$BRANCH")}')
\ ])