-*options.txt* For Vim version 9.1. Last change: 2025 Apr 07
+*options.txt* For Vim version 9.1. Last change: 2025 Apr 08
VIM REFERENCE MANUAL by Bram Moolenaar
local to window
{only available when compiled with the |+quickfix|
feature}
- 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.
*'linebreak'* *'lbr'* *'nolinebreak'* *'nolbr'*
'linebreak' 'lbr' boolean (default off)
}
/*
- * Free a qf_ifo_T struct completely
+ * Free a qf_info_T struct completely
*/
static void
qf_free_lists(qf_info_T *qi)
int
ll_resize_stack(win_T *wp, int n)
{
- // check if current window is a location list window;
+ // check if given window is a location list window;
// if so then sync its 'lhistory' to the parent window or vice versa
- if (IS_LL_WINDOW(curwin))
+ if (IS_LL_WINDOW(wp))
qf_sync_llw_to_win(wp);
else
qf_sync_win_to_llw(wp);
/*
* Allocate memory for qf_lists member of qf_info_T struct.
- * 'actual' is the actual amount of lists that have been allocated for
- * (only set when function returns sucessfully)
*/
static qf_list_T *
qf_alloc_list_stack(int n)