You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If it's broken, I would defer to perltidy to fix the issue. The -t option has no option for tab size which would mean we would need to ignore that setting from the client.
Sorry, it's probably too early in the morning, but why is there even a tab size setting? The whole point of using tabs is that I don't have to care about sizes and widths and stuff, I just say "indent by one level" and insert a tab. If you look at my example in the first comment of that bug, if PLS used -t instead it would have Just Worked.
I don't know, I don't use tabs so I guess I didn't even really think it through. I suppose I'm fine switching back to -t but the perltidy documentation says that option is deprecated. So if they change their documentation to say it's no longer deprecated, I will use it.
Long story short, despite the documentation recommending
-et
over-t
,-et
is basically broken:perltidy/perltidy#90
If you want sane indentation using tabs, use
-t
instead.The text was updated successfully, but these errors were encountered: