Merge pull request #1603 from Cimbali/master

Improve fugitive integration
This commit is contained in:
Christian Brabandt
2017-12-21 09:09:44 +01:00
committed by GitHub
4 changed files with 78 additions and 67 deletions

View File

@@ -400,6 +400,13 @@ vim-bufferline <https://github.com/bling/vim-bufferline>
* determine whether bufferline will overwrite customization variables >
let g:airline#extensions#bufferline#overwrite_variables = 1
<
------------------------------------- *airline-fugitiveline*
This extension hides the fugitive://**// part of the buffer names, to only
show the file name as if it were in the current working tree.
* enable/disable bufferline integration >
let g:airline#extensions#fugitiveline#enabled = 1
<
------------------------------------- *airline-branch*
vim-airline will display the branch-indicator together with the branch name in
@@ -446,6 +453,9 @@ notexists symbol will be displayed after the branch name.
return '[' . a:name . ']'
endfunction
<
* truncate sha1 commits at this number of characters >
let g:airline#extensions#branch#sha1_len = 10
<
------------------------------------- *airline-syntastic*
syntastic <https://github.com/vim-syntastic/syntastic>