mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-01-21 18:42:04 +08:00
Recently, NERDTree added the &readonly setting to its buffer. Unfortunately, this caused airline to render the '[noperm]' string in it. Fix this by only making the readonly check for buffers that actually represent files (e.g. the buftype option is empty).