mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-05-04 04:25:47 +08:00
c7e05efb76
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).