parent
d848de4918
commit
018688a90f
|
@ -124,7 +124,7 @@ endfunction
|
|||
function! airline#util#ignore_buf(name)
|
||||
let pat = '\c\v'. get(g:, 'airline#ignore_bufadd_pat', '').
|
||||
\ get(g:, 'airline#extensions#tabline#ignore_bufadd_pat',
|
||||
\ 'gundo|undotree|vimfiler|tagbar|nerd_tree|startify|!')
|
||||
\ 'defx|gundo|undotree|vimfiler|tagbar|nerd_tree|startify|!')
|
||||
return match(a:name, pat) > -1
|
||||
endfunction
|
||||
|
||||
|
|
|
@ -390,7 +390,7 @@ window.
|
|||
Determines a pattern to ignore a buffer name for various things (e.g. the
|
||||
tabline extension) or the read-only check. Default is
|
||||
`g:airline#extensions#tabline#ignore_bufadd_pat` (see below) or
|
||||
`'gundo|undotree|vimfiler|tagbar|nerd_tree|startify|!'` if it is unset.
|
||||
`'defx|gundo|undotree|vimfiler|tagbar|nerd_tree|startify|!'` if it is unset.
|
||||
|
||||
The "!" prevents terminal buffers to appear in the tabline.
|
||||
|
||||
|
|
Loading…
Reference in New Issue