mirror of
https://github.com/davegallant/nix-config
synced 2025-08-07 05:02:28 +00:00
Add branch glyph to vim statusline
This commit is contained in:
@@ -55,7 +55,7 @@ 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
|
||||||
|
|
||||||
augroup SetStatusline
|
augroup SetStatusline
|
||||||
|
Reference in New Issue
Block a user