aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/plugins.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/plugins.vim b/core/plugins.vim
index 8f901fa..9af4b61 100644
--- a/core/plugins.vim
+++ b/core/plugins.vim
@@ -421,6 +421,9 @@ let g:airline_symbols.branch = '⎇'
let g:airline_symbols.paste = 'ρ'
let g:airline_symbols.spell = 'Ꞩ'
+" Custom branch name
+let g:airline#extensions#branch#custom_head = 'utils#GetGitBranch'
+
" Only show git hunks which are non-zero
let g:airline#extensions#hunks#non_zero_only = 1