265
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 23 May 2024
265 points (91.5% liked)
Programmer Humor
19588 readers
512 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 1 year ago
MODERATORS
What, you don't like tabs and spaces being syntactically different?
(Sarcasm/deadpan detected but I'll respond anyways).
Not when they are visibly the same and the spaces have no other meaning in that context.
Not to mention tabs being annoying in general because of how badly it works to adjust the distance of tab stops. That doesn't really affect this particular case, but it's why I generally use spaces instead of tabs.
Most of the annoyance is from vim recognizing that spaces are an error in makefile recipes but still using them unless I copy paste a tab in, including when I hit enter on a line that is using a tab already. It matches the indentation but uses spaces instead of tabs. I'm sure there's a way to adjust vim config to fix this, but I have yet to acquire the esoteric knowledge required to do so.
If by vim you mean neovim
Slap this in your config, done
Nah, it's just vim in my work env. But thanks anyways, I appreciate that you tried!