zokugun / vscode-explicit-folding

Customize your Folding for Visual Studio Code
MIT License
99 stars 14 forks source link

Extension hangs when using "nested": false together with "foldLastLine": false #50

Closed HolyBlackCat closed 3 years ago

HolyBlackCat commented 3 years ago

Describe the issue

The extension hangs, and I can't type anything unti I reload the window.

To reproduce

Code Example

XY

Settings

    "folding": {
        "cpp": [
            {
                "beginRegex": "X",
                "endRegex": "Y",
                "nested": false,
                "foldLastLine": false,
            },
        ],
    },

Expected behavior

No hanging.

Additional context

This used to work in previous versions.

daiyam commented 3 years ago

Please check if it's ok with the version 0.14.3. Thx