vim-patch:9.1.1288: Using wrong window in ll_resize_stack() (#33397)

Problem:  Using wrong window in ll_resize_stack()
          (after v9.1.1287)
Solution: Use "wp" instead of "curwin", even though they are always the
          same value.  Fix typos in documentation (zeertzjq).

closes: vim/vim#17080

b71f1309a2
This commit is contained in:
zeertzjq
2025-04-09 07:40:55 +08:00
committed by GitHub
parent 3647b821ea
commit c73a827564
4 changed files with 20 additions and 24 deletions

View File

@@ -5046,13 +5046,12 @@ local options = {
cb = 'did_set_xhistory',
defaults = 10,
desc = [=[
Like 'chistory', but for the location list stack associated with the
current window. If the option is changed in either the location list
window itself or the the window that is associated with the location
list stack, the new value will also be applied to the other one. This
means this value will always be the same for a given location list
window and its corresponding window. See |quickfix-stack| for
additional info.
Like 'chistory', but for the location list stack associated with a
window. If the option is changed in either the location list window
itself or the window that is associated with the location list stack,
the new value will also be applied to the other one. This means this
value will always be the same for a given location list window and its
corresponding window. See |quickfix-stack| for additional info.
]=],
full_name = 'lhistory',
scope = { 'win' },