mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-12-07 12:44:26 +08:00
Merge pull request #1603 from Cimbali/master
Improve fugitive integration
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user