kevinhwang91 / nvim-ufo

Not UFO in the sky, but an ultra fold in Neovim.
BSD 3-Clause "New" or "Revised" License
2.18k stars 38 forks source link

do not fold on <esc> #124

Closed jfmoulin closed 1 year ago

jfmoulin commented 1 year ago

Feature description

Maybe I missed something but:

I would like to avoid the folds closing after an edit when I type an escape.

I am editing python code and every ESC closes all folds, I usually have to make more than one edit per block ;0)

Describe the solution you'd like

an option to (de)activate folding upon ESC after an edit (i.e going from insert to normal mode)

Additional context

No response

kevinhwang91 commented 1 year ago

RTFM

jfmoulin commented 1 year ago

I tried ;0) I'll try again, now that I know it should be possible. Anyways, thanks for the nice plugin.