~jbauer/vim-fastline

cdfaeca222a37879fb3a71c1aec0eeae68bc6d37 — Jake Bauer 3 months ago 4179f47 master
Remove git integration
1 files changed, 0 insertions(+), 10 deletions(-)

M plugin/statusline.vim
M plugin/statusline.vim => plugin/statusline.vim +0 -10
@@ 37,15 37,6 @@ function! CurrentMode() abort
    return l:current_status_mode
endfunction

" Get current git branch, git plugin like vim-fugitive required
function! GitBranch(git)
    if a:git == ''
        return '[-]'
    else
        return '['.a:git.']'
    endif
endfunction

function! CheckModified(modi)
    if a:modi == 1
        hi Modi guifg=#efefef guibg=#212333 gui=bold


@@ 87,7 78,6 @@ function! StatusLine()
    let statusline  = ""
    let statusline .= "%#Base#"
    let statusline .= "%#Mode# %{CurrentMode()}"
    let statusline .= "%#Git# %{GitBranch(fugitive#head())} "
    let statusline .= "%#Warn#%( %{CheckRO(&readonly)}%w%)"
    let statusline .= "%#Modi# %{CheckModified(&modified)}"
    let statusline .= "%#Base#"