News for hackers. Stuff that matters.
Re:What's the deal with tab size (8 spaces) in the GitHub UI? by est31 on Monday September 20, 2021 @10:33PM (#28601471)
What the linked thread doesn't mention is that github respects editorconfig files. If you create one in your repo and set the number of spaces a tab should represent, it uses that as default for the repo. Maybe the feature hadn't been launched yet in 2018?

https://editorconfig.org/

Re:What's the deal with tab size (8 spaces) in the GitHub UI? by ncann on Monday September 20, 2021 @10:47PM (#28601563)
It's about gist, not a general git repo, so no .editorconfig there.
Re:What's the deal with tab size (8 spaces) in the GitHub UI? by est31 on Tuesday September 21, 2021 @01:51PM (#28607657)
Good point. I've tried out adding an editorconfig to a gist, it didn't work.