Skip to content

Bug with folding #825

Closed
Closed

Description

@rqy2002

It works well, until I start editing my setup.py.
When I open the file, vim pauses. I press ctrl-c to continue, but once I press any key, it pauses again.
It also occupies a lot CPU time.
If I disable pymode_folding, the problem disappears.
Here is my setup.py:
setup.py

Activity

  1. fmv1992 commented on Dec 13, 2017

    @fmv1992
    Contributor

    @rqy1458814497,

    Can you please report using our reporting mechanism?

    Take a look at:
    https://github.com/python-mode/python-mode#troubleshootingdebugging

    Hope to hear from you soon.

    Best.

  2. nineKnight commented on Jan 25, 2018

    @nineKnight

    I get into the same trouble.
    What's more, when I insert in the first line like this:

    def my_name():

    and then input Enter and go to the second line, I can't edit any more until I press <C-c>. But when I can edit finally, problem comes again and then I press <C-c> again to make vim show what I've input.
    Now, it makes me to disable pymode_folding to get out of it. Jesus!!!

    PS: Only when the first line is a def thing, the problem turns up.

  3. fmv1992 commented on Jan 25, 2018

    @fmv1992
    Contributor

    See issue #839. Let's use that one for discussion (closing this).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions