-
Notifications
You must be signed in to change notification settings - Fork 6
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
Ignore indentation in comments #7
Comments
Is this in a .less file? I think there is a combination of issues around less and comments here (#5) There didn't used to be an atom event for when syntax parsing and highlighting was complete but I can see if that exists now. |
It's CSS, yeah. Here's the file: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css |
Can you update to version 0.5.0 and see if you still have this issue? I think I found a solution to re-checking after tokenization |
Nope, still detects as 3 spaces in 0.5.0. |
Does it show 3 spaces in the status bar? |
Yes. I opened a PR that fixes this. |
Is it possible to ignore indentation in comments? For example, the following is detected as 3-space indentation (this is from HTML5 Boilerplate):
but the code actually uses 4 spaces for indentation. It would be nice it comments were completely ignored.
The text was updated successfully, but these errors were encountered: