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>
diff --git a/src/option.h b/src/option.h
index 0b568f1..54bdeed 100644
--- a/src/option.h
+++ b/src/option.h
@@ -859,6 +859,7 @@
EXTERN long p_report; // 'report'
#if defined(FEAT_QUICKFIX)
EXTERN long p_pvh; // 'previewheight'
+EXTERN long p_chi; // 'chistory'
#endif
#ifdef MSWIN
EXTERN int p_rs; // 'restorescreen'
@@ -1323,6 +1324,7 @@
#endif
#if defined(FEAT_QUICKFIX)
, WV_PVW
+ , WV_LHI
#endif
#ifdef FEAT_RIGHTLEFT
, WV_RL