From e7a5c97df13b3bcf1313e8dff6acf8a4675d6762 Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Fri, 1 Sep 2017 09:19:39 +0200 Subject: [PATCH] readonly: remove modifiable check --- autoload/airline/parts.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 : ''