mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-12-06 20:24:27 +08:00
@@ -86,7 +86,7 @@ function! airline#parts#iminsert()
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! airline#parts#readonly()
|
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)
|
" but not special ones like e.g. NERDTree)
|
||||||
if !empty(&buftype) || airline#util#ignore_buf(bufname('%'))
|
if !empty(&buftype) || airline#util#ignore_buf(bufname('%'))
|
||||||
return ''
|
return ''
|
||||||
|
|||||||
Reference in New Issue
Block a user