tabline: Ignore buffers in buflist matching ignore_bufadd_pat

closes #1777
This commit is contained in:
Christian Brabandt
2018-09-20 10:26:32 +02:00
parent a60eabb82f
commit 012229fe08
2 changed files with 7 additions and 4 deletions
-2
View File
@@ -48,8 +48,6 @@ function! s:update_tabline()
return
endif
let match = expand('<afile>')
let ignore_bufadd_pat = get(g:, 'airline#extensions#tabline#ignore_bufadd_pat',
\ '\c\vgundo|undotree|vimfiler|tagbar|nerd_tree|startify')
if pumvisible()
return
elseif !get(g:, 'airline#extensions#tabline#enabled', 0)