disable vcscommand integration by default. resolves #340.

This commit is contained in:
Bailey Ling
2013-11-12 09:45:04 -05:00
parent f2f164bda1
commit 253974506a
2 changed files with 5 additions and 1 deletions

View File

@@ -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