mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-12-20 02:41:13 +08:00
disable vcscommand integration by default. resolves #340.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
let s:has_fugitive = exists('*fugitive#head')
|
||||
let s:has_fugitive_detect = exists('*fugitive#detect')
|
||||
let s:has_lawrencium = exists('*lawrencium#statusline')
|
||||
let s:has_vcscommand = exists('*VCSCommandGetStatusLine')
|
||||
let s:has_vcscommand = get(g:, 'airline#extensions#branch#use_vcscommand', 0) && exists('*VCSCommandGetStatusLine')
|
||||
|
||||
if !s:has_fugitive && !s:has_lawrencium && !s:has_vcscommand
|
||||
finish
|
||||
|
||||
Reference in New Issue
Block a user