-
Notifications
You must be signed in to change notification settings - Fork 109
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
How to enable folding ? #51
Comments
@amigrave I'd like to point out some things about 'trivial' indent folding.
|
Hi @purpleP Well I guess it's a matter of taste and workflow. In my case, I don't want to fold more levels than classes and functions. For some rare exceptions such as big dictionaries I use markers which is the third token set I want to be folded along with When I open a python file, I want all classes, functions and markers to be folded, but I would hate to have all possible indent levels folded too. I guess we have different ways to use folding and my way would not suit your needs, but your way does not suit mine either :-) |
SimpylFold is by far the best Python folding plugin. |
@nfnty Thanks, looks great except for the lack of support for markers ( I see you're pretty active in the development of SimpylFold. |
Is there a preferred way to use proper folding with python-syntax ?
By "proper folding" I mean not a trivial folding solely indent based but a more decent one based on
def
,class
and# {{{
}}}
markers declarations.I tried to use Python-Syntax-Folding and braceless.vim but none seems to be compatible with python-syntax.
The indent mode of Python-Syntax-Folding suits my needs but lacks python 3 syntax.
The text was updated successfully, but these errors were encountered: