origami.el
origami.el copied to clipboard
python: can't close a 2nd level node
In python mode, the 2nd level can't be closed alone. If I want to close the 2nd level node, its parent node will be closed.
See the attached file.
The add() can's be closed alone. If I want to close add(), the parent of add(), i.e, Sequential will be closed, as show in the 2nd attached file.
Same problem here. Makes this pretty much useless for navigating large Python sources -- which was the point of trying it in the first place!
I modified python-parser to support multi level folding tree. #64
with imenu
parsing from #69 python looks like this: