|
|
@ -85,10 +85,13 @@ function! DetectMode(mode) |
|
|
|
|
|
|
|
|
|
|
|
" git branch |
|
|
|
" git branch |
|
|
|
if exists("*FugitiveHead") |
|
|
|
if exists("*FugitiveHead") |
|
|
|
|
|
|
|
let head = FugitiveHead() |
|
|
|
|
|
|
|
if head != '' |
|
|
|
let statusline .= "%#GruvboxBg4#\ " . left |
|
|
|
let statusline .= "%#GruvboxBg4#\ " . left |
|
|
|
let statusline .= "%#PmenuThumb#%{FugitiveHead()}" |
|
|
|
let statusline .= "%#PmenuThumb#" . head |
|
|
|
let statusline .= "%#GruvboxBg4#" . right . "\ " |
|
|
|
let statusline .= "%#GruvboxBg4#" . right . "\ " |
|
|
|
endif |
|
|
|
endif |
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
" Filetype |
|
|
|
" Filetype |
|
|
|
let statusline .= "%#GruvboxBlue#\ " . left |
|
|
|
let statusline .= "%#GruvboxBlue#\ " . left |
|
|
|