summaryrefslogtreecommitdiffstats
path: root/dotvimrc
diff options
context:
space:
mode:
Diffstat (limited to 'dotvimrc')
-rw-r--r--dotvimrc4
1 files changed, 3 insertions, 1 deletions
diff --git a/dotvimrc b/dotvimrc
index 4e535bf..083c95e 100644
--- a/dotvimrc
+++ b/dotvimrc
@@ -175,7 +175,9 @@ set statusline+=%{((exists(\"+bomb\")\ &&\ &bomb)?\"B,\":\"\")}]\ " BOM
set statusline+=%{strftime('%a\ %b\ %e\ %H:%M')}\ " hour
"set statusline+=%{SyntaxItem()} " syntax highlight group under cursor
set statusline+=%= " right align
-set statusline+=%{fugitive#statusline()}\ " git branch
+if !empty(glob("bundle/vim-fugitive/plugin/fugitive.vim"))
+ set statusline+=%{fugitive#statusline()}\ " git branch
+endif
set statusline+=0x%-8B\ " current char
set statusline+=%-14.(%l,%c%V%)\ %<%P " offset