editorconfig / editorconfig-vim

EditorConfig plugin for Vim
http://editorconfig.org
Other
3.11k stars 135 forks source link

Ignore netrw buffers #213

Closed pmeinhardt closed 1 year ago

pmeinhardt commented 1 year ago

Previously, when starting Neovim with a directory, opening a netrw buffer, it would encounter the following errors when trying to close (:q):

E37: No write since last change
E162: No write since last change for buffer "…"

Since editorconfig is concerned with source files, not directory listings (as in the case of netrw buffers), I thought it makes sense to not apply the config for such buffers.

For further details of the issue and my investigation, please see: #212

Thank you so much for this awesome project. 💚