mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-02-28 19:31:53 +08:00
add fugitive statusline
This commit is contained in:
parent
f2241b61b2
commit
073d760689
@ -24,6 +24,7 @@ let s:script_path = tolower(resolve(expand('<sfile>:p:h')))
|
|||||||
|
|
||||||
let s:filetype_overrides = {
|
let s:filetype_overrides = {
|
||||||
\ 'defx': ['defx', '%{b:defx.paths[0]}'],
|
\ 'defx': ['defx', '%{b:defx.paths[0]}'],
|
||||||
|
\ 'fugitive': ['fugitive', '%{airline#util#wrap(airline#extensions#branch#get_head(),80)}'],
|
||||||
\ 'gundo': [ 'Gundo', '' ],
|
\ 'gundo': [ 'Gundo', '' ],
|
||||||
\ 'help': [ 'Help', '%f' ],
|
\ 'help': [ 'Help', '%f' ],
|
||||||
\ 'minibufexpl': [ 'MiniBufExplorer', '' ],
|
\ 'minibufexpl': [ 'MiniBufExplorer', '' ],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user