diff --git a/autoload/airline/util.vim b/autoload/airline/util.vim index 22f01483..4ca5778d 100644 --- a/autoload/airline/util.vim +++ b/autoload/airline/util.vim @@ -174,7 +174,7 @@ function! airline#util#has_custom_scm() endfunction function! airline#util#doautocmd(event) - if !exists('#airline') + if !exists('#airline') && a:event !=? 'AirlineToggledOff' " airline disabled return endif