Hacker News new | ask | show | jobs
by benatkin 3831 days ago
I wonder how many of those with tabs prefer their tab stops to be at something other than multiples of eight spaces. If it's half of them that would be about a sixth of the repositories.

GitHub has addressed them by supporting .editorconfig. Setting a tab size in .editorconfig changes the tab size for viewing files but not diffs (last I checked, a couple of months ago). If any GitHubber is reading, it would be great for that preference to be used for diffs as well!

http://editorconfig.org/

1 comments

Huh. Never noticed that GH itself supported EditorConfig. Cool :)