[vim/vim] fold size is compared against 'foldminlines' of the wrong window (PR #20864)

5 views
Skip to first unread message

Igor Mikushkin

unread,
3:48 PM (5 hours ago) 3:48 PM
to vim/vim, Subscribed

Problem

checkSmall() compares the fold size of window wp against the current window's foldminlines. A fold of another window, e.g. measured while it is redrawn, is judged by an unrelated option value.

Solution:

Use foldminlines of the window containing the fold


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/20864

Commit Summary

  • 52ab9fb fold size is compared against 'foldminlines' of the wrong window

File Changes

(2 files)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/20864@github.com>

Reply all
Reply to author
Forward
0 new messages