-
Notifications
You must be signed in to change notification settings - Fork 23
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
allow preceding whitespace #14
Comments
IIRC this is a matter of |
I tried to play around it for some time but without any success. I'm not sure if I want same thing as @JohnLunzer but I think so :) If you see screenshot bellow, what I want is I belive that this behaviour is intentional as documented in You can see in screenshot, that faces are working and it is displayed as it should, but cycle is not working. If this is related to regexp, can you help me with pointing out which one? I was trying to play with |
It's complicated. IIRC there are two regexps, one for matching outline headings and one for determining heading levels. You'll have to dig into the It might be better to look into alternative outline packages, like Origami. |
Based on my reading of the code, it seems that
It then chomps off the leading whitespace from the computed regexp:
So it seems like this is within |
Looks like a outline-mode problem. Outshine recognizes indented headings, it even highlights it. But I tried to change |
[...one year later...] Thanks. The interaction and overlap between For that reason, I'd still recommend trying to fix this in Then we should try to make Outshine reuse that functionality rather than redefining its own regexps. |
Is there any way to allow preceding whitespace before headlines?
I'm having some issues getting my outlines working properly in Python because in Python there is a lot of indentation.
Any advice?
The text was updated successfully, but these errors were encountered: