Honestly it continually surprises me how people forget about TSV
It's the perfect format, more or less! CSV, but no difficulty around commas, and the only major risk being an editor that converts tabs to spaces
It's the perfect format, more or less! CSV, but no difficulty around commas, and the only major risk being an editor that converts tabs to spaces
Especially in Zed where the only way to switch hard tabs is buried in the settings menu, and impossible to change per buffer.
We could, however, make the Tab key insert spaces if the cursor is in the beginning of a line, and a literal \t if it’s in the middle. This way, you can write a TSV table pretty much anywhere you want.
Even vim lets you set that per-buffer so that's more of an editor problem than anything else, lmao