mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-02-18 07:44:11 +08:00
Disable fugitiveline if bufferline is activated
This fixes the conflict of both plugins redifining the 'file' (or 'path') function. Closes #1670. As fugitiveline modifies the path display and bufferline replaces it, the latter should be the plugin to be used if both are activated.
This commit is contained in:
@@ -406,6 +406,7 @@ vim-bufferline <https://github.com/bling/vim-bufferline>
|
||||
------------------------------------- *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.
|
||||
It is deactivated by default if *airline-bufferline* is activated.
|
||||
|
||||
* enable/disable bufferline integration >
|
||||
let g:airline#extensions#fugitiveline#enabled = 1
|
||||
|
||||
Reference in New Issue
Block a user