vim to use the "git branch" powerline font char
dblume

dblume commited on 2024-04-16 08:23:16
Showing 1 changed files, with 1 additions and 1 deletions.


I've already got nvim using  the powerline font char on the status
line. Give vim feature parity.
... ...
@@ -99,7 +99,7 @@ set laststatus=2
99 99
 
100 100
 function! GitBranch()
101 101
   let l:branchname = system("git -C " . expand('%:p:h') . " rev-parse --abbrev-ref HEAD 2>/dev/null | tr -d '\n'")
102
-  return strlen(l:branchname) > 0 ? '  │ '.l:branchname : ''
102
+  return strlen(l:branchname) > 0 ? '  │  '.l:branchname : ''
103 103
 endfunction
104 104
 
105 105
 function! EncodingAndFormat()
106 106