Zulip Chat Archive

Stream: new members

Topic: Tabs are not allowed


andme.fikri (Mar 03 2025 at 05:26):

Hi, is there a particular reason why Lean decidedly must use spaces rather than tabs for its indentations? I don't think this is a reasonable opinionated design choice.

Even Python, for example, allows authors to either use tabs or spaces, so long as they are consistent.

Henrik Böving (Mar 03 2025 at 07:07):

I think given some time the parser could be made to understand tabs as well but that seems like a rather low priority problem to me. At least AFAIK you are the first person to have an issue with it. If you want to tab you can just configure your tab to be rendered as 2 spaces and be happy no?


Last updated: May 02 2025 at 03:31 UTC