patch 9.1.1283: quickfix stack is limited to 10 items

Problem:  quickfix and location-list stack is limited to 10 items
Solution: add the 'chistory' and 'lhistory' options to configure a
          larger quickfix/location list stack
          (64-bitman)

closes: #16920

Co-authored-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: 64-bitman <60551350+64-bitman@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
64-bitman
2025-04-06 17:20:39 +02:00
committed by Christian Brabandt
parent c54a8eb258
commit 88d41ab270
19 changed files with 642 additions and 85 deletions

View File

@ -1024,6 +1024,13 @@ common_init_2(mparm_T *paramp)
#ifdef FEAT_SIGNS
init_signs();
#endif
#ifdef FEAT_QUICKFIX
// initialize global quickfix list
// don't send an error message when memory allocation fails
// do it when the user tries to access the quickfix list
qf_init_quickfix_stack();
#endif
}
/*