Reputation: 625
When editing folded Python code with IdeaVim, if the caret/cursor touches a folded zone represented by ...
(or region_name
if using a #region
tag), the folded section immediately unfolds.
I'd like to disable this behavior so that no fold ever unfolds unless specifically told to do so with a specific command.
Notes:
#region
/#endregion
folds and long comments, but not folded functions....
zone, sometimes it unfolds even if I'm just "passing through" with up or down.EDIT (based on @Feedforward's comment below):
This bug was signaled here on jetBrain's bug tracker: https://youtrack.jetbrains.com/issue/VIM-629
It was dismissed because the problem was "non-reproducible". I'll see if there's a way to arrange that, but apparently there's no hope of solving this problem anytime soon.
Upvotes: 0
Views: 427
Reputation: 4869
Unfortunately, there is no way to disable it because it's more like a bug in IdeaVim. You can file an issue on the bug tracker: https://youtrack.jetbrains.com/issues/VIM
Upvotes: 1