From c73a827564083b4dadb3a70468466306fb416d08 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Wed, 9 Apr 2025 07:40:55 +0800 Subject: 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 https://github.com/vim/vim/commit/b71f1309a210bf8f61a24f4eda336de64c6f0a07 --- runtime/lua/vim/_meta/options.lua | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'runtime/lua/vim') diff --git a/runtime/lua/vim/_meta/options.lua b/runtime/lua/vim/_meta/options.lua index 54c8c0c6b3..b7df98934d 100644 --- a/runtime/lua/vim/_meta/options.lua +++ b/runtime/lua/vim/_meta/options.lua @@ -3744,13 +3744,12 @@ vim.o.lz = vim.o.lazyredraw vim.go.lazyredraw = vim.o.lazyredraw vim.go.lz = vim.go.lazyredraw ---- 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. --- --- @type integer vim.o.lhistory = 10 -- cgit