spf13 / spf13-vim

The ultimate vim distribution
http://vim.spf13.com
Apache License 2.0
15.56k stars 3.63k forks source link

Proposition to change the fugitive#statusline() to a conditional provided bellow. #626

Open doumkine opened 10 years ago

doumkine commented 10 years ago

set statusline+=%{exists('g:loaded_fugitive')?fugitive#statusline():''}

ghost commented 10 years ago

@doumkine : can you submit this as a pull request?