Skip to content

Add editorconfig to have uniform settings for every contributors #1320

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

Merged
merged 3 commits into from
May 4, 2025

Conversation

bew
Copy link
Contributor

@bew bew commented Apr 5, 2025

TSIA

Reference: https://editorconfig.org
The file is automatically read by Neovim since a few versions already ✨

This is useful as I personally use 2 spaces for Lua indents, but this project uses tabs exclusively and I had to run :set shiftwidth=2 noexpandtab to avoid making a completely different formatting as the rest of the project.
Now I only have to open a Lua file, and Neovim is automatically configured to use tabs

@L3MON4D3
Copy link
Owner

L3MON4D3 commented May 4, 2025

Good idea!
I'll bump max_line_length/textwidth to 80, I think that's what I've been using so far and most longer comments adhere to it.
If you're fine with that, I'll merge :)

@L3MON4D3 L3MON4D3 force-pushed the add-editorconfig branch from 2e953ff to 2311a2c Compare May 4, 2025 09:01
@bew
Copy link
Contributor Author

bew commented May 4, 2025

Yes, let's go ;)

@L3MON4D3
Copy link
Owner

L3MON4D3 commented May 4, 2025

A'ight :)

@L3MON4D3 L3MON4D3 merged commit ba6d753 into L3MON4D3:master May 4, 2025
@bew bew deleted the add-editorconfig branch May 4, 2025 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants