Skip to content

Code folding cancelled when touching code #48

@zanona

Description

@zanona

Hey guys,

I am having problems with the code folding feature that apparently opens up all folded structures when editing the code. i.e: when creating a new function and typing the opening curly brace, all the remaining folds are then opened and I am required to re-close them with zx. The same happens with if statements when typing the closing curly brace.

As per the instructions shown on the README file, my ~/.vimrc file contains:

au FileType javascript call JavaScriptFold()

Here is a demo of the current behaviour:
vim-js-folding

If someone could point a workaround that it would be appreciated.
Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions