diff --git a/autoload/airline/extensions/branch.vim b/autoload/airline/extensions/branch.vim index 579c88ae..39f0a939 100644 --- a/autoload/airline/extensions/branch.vim +++ b/autoload/airline/extensions/branch.vim @@ -175,7 +175,7 @@ endfunction function! s:update_untracked() let file = expand("%:p") - if empty(file) || isdirectory(file) + if empty(file) || isdirectory(file) || !empty(&buftype) return endif