diff --git a/autoload/airline/parts.vim b/autoload/airline/parts.vim index a982062..98de731 100644 --- a/autoload/airline/parts.vim +++ b/autoload/airline/parts.vim @@ -86,7 +86,7 @@ function! airline#parts#iminsert() endfunction function! airline#parts#readonly() - if &readonly && &modifiable && !filereadable(bufname('%')) + if &readonly && !filereadable(bufname('%')) return '[noperm]' else return &readonly ? g:airline_symbols.readonly : ''