fontconfig's source code apparently uses 4 spaces to indicate an indent of one, and a singular tab (which you then need to set to width 8) to mean an indent of 2.
Conversation
Notices
-
Embed this notice
CounterPillow (counterpillow@mastodon.social)'s status on Thursday, 04-Jul-2024 19:44:23 JST CounterPillow -
Embed this notice
:umu: :umu: (a1ba@suya.place)'s status on Thursday, 04-Jul-2024 19:44:23 JST :umu: :umu: @CounterPillow that's exactly how you solve a tab vs. spaces discourse. By making both sides mad. Haelwenn /элвэн/ :triskell: likes this. -
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Thursday, 04-Jul-2024 19:45:11 JST Haelwenn /элвэн/ :triskell: @a1ba @CounterPillow Reminds me that mesa uses 3 spaces.
Thank fuck for indent(1) and clang-format(1). -
Embed this notice
:umu: :umu: (a1ba@suya.place)'s status on Thursday, 04-Jul-2024 19:49:27 JST :umu: :umu: @lanodan @CounterPillow I use tabs to indent and just change how much space they take depending on my today's mood.
Also with odd spaces count it's easy to notice those who contribute code and can't configure their editor.Haelwenn /элвэн/ :triskell: likes this. -
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Thursday, 04-Jul-2024 19:50:54 JST Haelwenn /элвэн/ :triskell: @a1ba @CounterPillow I never configure my editor for indentation things, even if I might at some point but due to PEP8.
-
Embed this notice