-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tabs? #10
Comments
I don't use tabs, but PRs welcome. Though I wonder what the expected behaviour is when tabs and spaces are mixed. |
Presumably ignoring whichever wasn't at the start of the line would be sane behavior. :) |
Hi, I ran into the issue that this library still isn't supporting tabs. I did some research with the result that packages like outdent are handling tabs like a single space character. This makes the implementation really simple. In most cases there are no mixed spaces/tabs and if there are and we would handle tabs like spaces, we have an equally broken result as we would encounter with the current implementation (since spaces are trimmed, but tabs are still there). I will try to implement this and open a pull request, if you are still fine with that @dmnd. |
Hey,
Is it me or doesn't
dedent
support dedenting tabs?Cheers
The text was updated successfully, but these errors were encountered: