diff --git a/autoload/airline/parts.vim b/autoload/airline/parts.vim index a9820622..98de7316 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 : ''