-
Notifications
You must be signed in to change notification settings - Fork 13
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
source-format auto does not work #398
Comments
I remember mimicking (EDIT: with a 3.3 from last December, I get a Not saying that shouldn't be fixed; but maybe both tools need a fix. A possible fix probably being, being (more) sensitive to |
Yes, we should possibly improve both The "gotcha" is: space (or any valid marker, for example "-") in column 7 - assumes fixed form (like in this case, then aborts at line 2). We could increase the lookahead (currently only 20 bytes, but in this case we'd likely have to not consider a single "last_pos_7", but multiple ones. As an alternative, we could also check for a directive What do you think? |
Yes that's a directions that makes sense, what I meant by "being more sensitive to |
Opening the following code the syntax highlighting looks strange and the outline is broken if source-format "auto" is enabled:
manually switching to "free" leads to everything working as expected
The text was updated successfully, but these errors were encountered: