Retab: Remove tab to spaces
This commit is contained in:
parent
4102d46fda
commit
c37a86d6c9
@ -175,12 +175,12 @@ highlight ColorColumn ctermbg=236
|
|||||||
" Status Line
|
" Status Line
|
||||||
""""""""""""""""""""""""""""""""
|
""""""""""""""""""""""""""""""""
|
||||||
function! GitBranch()
|
function! GitBranch()
|
||||||
return system("git rev-parse --abbrev-ref HEAD 2>/dev/null | tr -d '\n'")
|
return system("git rev-parse --abbrev-ref HEAD 2>/dev/null | tr -d '\n'")
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! StatuslineGit()
|
function! StatuslineGit()
|
||||||
let l:branchname = GitBranch()
|
let l:branchname = GitBranch()
|
||||||
return strlen(l:branchname) > 0?' '.l:branchname.' ':''
|
return strlen(l:branchname) > 0?' '.l:branchname.' ':''
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
set statusline=
|
set statusline=
|
||||||
|
Loading…
x
Reference in New Issue
Block a user