Skip to content
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

spaces before tabs create weird indentation #260

Closed
joshinils opened this issue Oct 6, 2018 · 1 comment
Closed

spaces before tabs create weird indentation #260

joshinils opened this issue Oct 6, 2018 · 1 comment
Assignees
Labels
Milestone

Comments

@joshinils
Copy link

joshinils commented Oct 6, 2018

I noticed weird behaviour with mixed spaces and tabs. I have enabled the whitespace visualization for clarity in the images.

one tab before the curly-brace, works as expected:
tab
one space, a tab and the brace:
spacetab
two spaces before the tab:
spacespacetab
three spaces and a tab:
spacespacespacetab
four spaces and a tab:
spacespacespacespacetab
only four spaces, no tab, also works as expected:
spacesfortabs

@tomasr tomasr self-assigned this Dec 7, 2018
@tomasr tomasr added the bug label Dec 7, 2018
@tomasr tomasr added this to the v4.2 milestone Dec 7, 2018
@tomasr
Copy link
Owner

tomasr commented Dec 7, 2018

Thanks for reporting. I've made some changes to handle this better, which you should be able to check on the dev builds.

@tomasr tomasr closed this as completed Dec 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants