diff options
-rw-r--r-- | nvim/init.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nvim/init.vim b/nvim/init.vim index efa2066..09a22f5 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -104,9 +104,9 @@ set statusline+=%#identifier# set statusline+=%r set statusline+=%* -"if neobundle#is_sourced('vim-fugitive') +if exists('g:loaded_fugitive') set statusline+=%{fugitive#statusline()} -"endif +endif " Show a warning if file format isn’t unix set statusline+=%#warningmsg# |