You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a file gets sufficiently large (I'm not sure of the threshold, but around 90,000 lines seems to do it (I deal with json files up to almost 800,000 lines regularly), the lowest fold seems to "eat" all folds beneath it. So once you open up the top-level fold, you'll only have, say, three folds. But the third one (at the bottom) will be 60,000 lines. In reality, there should be say 10 top level folds, but the last 6 are being eaten up by the third one. On expanding the third top-level fold, the last fold within that is the remainder of the file folded as well. This continues. It makes the syntax folding pretty unusable for 80% of the file. I've temporarily switched my vimrc to set foldmethod to indent instead, which works fine (if a bit more verbose than I wish).
The text was updated successfully, but these errors were encountered:
When a file gets sufficiently large (I'm not sure of the threshold, but around 90,000 lines seems to do it (I deal with json files up to almost 800,000 lines regularly), the lowest fold seems to "eat" all folds beneath it. So once you open up the top-level fold, you'll only have, say, three folds. But the third one (at the bottom) will be 60,000 lines. In reality, there should be say 10 top level folds, but the last 6 are being eaten up by the third one. On expanding the third top-level fold, the last fold within that is the remainder of the file folded as well. This continues. It makes the syntax folding pretty unusable for 80% of the file. I've temporarily switched my vimrc to set foldmethod to
indent
instead, which works fine (if a bit more verbose than I wish).The text was updated successfully, but these errors were encountered: