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

Leading tab / space detection shouldn't get thrown off by a single leading space. #506

Closed
nedtwigg opened this issue Dec 30, 2024 · 0 comments · Fixed by #507
Closed

Leading tab / space detection shouldn't get thrown off by a single leading space. #506

nedtwigg opened this issue Dec 30, 2024 · 0 comments · Fixed by #507
Labels
bug Something isn't working jvm

Comments

@nedtwigg
Copy link
Member

nedtwigg commented Dec 30, 2024

It is common to have a copyright header at the top of a file like this:

/* Copyright blah
 * Blah blah blah
 */

If the whole file is space-indented, that's fine. But even in a tab-indented file, it's common to have these single spaces in the copyright header at top. That should not throw off the indent detection in

@nedtwigg nedtwigg added bug Something isn't working jvm labels Dec 30, 2024
nedtwigg added a commit that referenced this issue Dec 31, 2024
…verride an otherwise 100% tab-indented file. (fixes #506)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working jvm
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant