Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add .editorconfig #411

Closed
Iron-E opened this issue Apr 1, 2023 · 2 comments · Fixed by #422
Closed

Add .editorconfig #411

Iron-E opened this issue Apr 1, 2023 · 2 comments · Fixed by #422
Labels
chore Misc. maintenance

Comments

@Iron-E
Copy link
Collaborator

Iron-E commented Apr 1, 2023

Nvim 0.9 is adding support for editorconfigs, which will help in establishing the repo's conventions.

Users <0.9 can use editorconfig.nvim

@Iron-E Iron-E added the chore Misc. maintenance label Apr 1, 2023
@romgrk
Copy link
Owner

romgrk commented Apr 1, 2023

I've never seen the interest of editorconfig for neovim. Neovim forces users to learn a lot about it to use it, I don't see the need to support a small simplistic config format in addition to its already existing config options.

@Iron-E
Copy link
Collaborator Author

Iron-E commented Apr 2, 2023

I wrote one in #422— 0.9 supports it so in worst case if users haven't updated, their editor will safely ignore it. Best case, they won't have to futz with their Neovim config / install something like indent-o-matic in order to contribute with our basic settings.

We can even extend it to show lint messages, e.g.:

cap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Misc. maintenance
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants