commit
61e2c7f86a
|
@ -86,7 +86,7 @@ function! airline#parts#iminsert()
|
|||
endfunction
|
||||
|
||||
function! airline#parts#readonly()
|
||||
" only consider regular buffers (e.g. ones that represent actual files,
|
||||
" only consider regular buffers (e.g. ones that represent actual files,
|
||||
" but not special ones like e.g. NERDTree)
|
||||
if !empty(&buftype) || airline#util#ignore_buf(bufname('%'))
|
||||
return ''
|
||||
|
|
Loading…
Reference in New Issue