When writing #1560, I noticed that my nvim was making tabs which is against Limnoria's style guidelines. Thus I added .editorconfig that follows the Limnoria style guidelines so supported editors and plugins will automatically attempt to use four spaces as indentation and stay within 79 lines.
I am not sure if I should add it to .gitattributes as export-ignore, because someone could download the repository archive and send a patch by email or pastebin and thus benefit from .editorconfig being present.
I think copying it to repositories containing plugins would also be a good idea.
As
.gitattributes
was already there I thought it might be a good idea to add end-of-line normalization of git from this decade.When writing #1560, I noticed that my
nvim
was making tabs which is against Limnoria's style guidelines. Thus I added.editorconfig
that follows the Limnoria style guidelines so supported editors and plugins will automatically attempt to use four spaces as indentation and stay within 79 lines.I am not sure if I should add it to
.gitattributes
asexport-ignore
, because someone could download the repository archive and send a patch by email or pastebin and thus benefit from.editorconfig
being present.I think copying it to repositories containing plugins would also be a good idea.