Merge pull request #1995 from kazukazuinaina/add_fugitive_statusline

add fugitive statusline
This commit is contained in:
Christian Brabandt 2019-11-10 08:45:25 +01:00 committed by GitHub
commit a66f7ae13e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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', '' ],