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 editor config for tabs. #212

Merged
merged 1 commit into from
Oct 31, 2019
Merged

Conversation

schveiguy
Copy link
Collaborator

I hate tabs. But I don't want my edits to be inconsistent. This config file helps me do that without having to muck with my editor settings.

@schveiguy schveiguy changed the title Add editor config for yucky tabs. Add editor config for tabs. Oct 31, 2019
@Abscissa
Copy link

Haha, yea, tabs (and spaces) are like cilantro: Some people love 'em, to others they just taste like soap ;)

This is the first I've ever heard of this .editorconfig though; just looked it up - it's seriously awesome! So glad to see this 1. exists and 2. isn't over-engineered.

I think I'll also add insert_final_newline=true (unless you know of a reason not to.)

@Abscissa Abscissa merged commit 78f454c into mysql-d:master Oct 31, 2019
@schveiguy
Copy link
Collaborator Author

It's your repo ;) I just tried to put in something that mimics what you have, and also some extra niceties like the no trailing whitespace.

it's seriously awesome!

Yes, a colleague of mine turned me onto it earlier this year (he's a tab guy working on a project I created with spaces).

@schveiguy schveiguy deleted the addeditorconfig branch October 31, 2019 18:02
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