0
0
mirror of https://github.com/vim/vim.git synced 2025-07-25 10:54:51 -04:00

patch 8.2.3797: no good reason to limit the message history in tiny version

Problem:    No good reason to limit the message history in the tiny version.
Solution:   Always use 200.
This commit is contained in:
Bram Moolenaar 2021-12-13 14:40:53 +00:00
parent 851f86b951
commit 1e78deb077
3 changed files with 6 additions and 9 deletions

View File

@ -29,8 +29,7 @@ depends on the 'shortmess' option.
Clear messages, keeping only the {count} most Clear messages, keeping only the {count} most
recent ones. recent ones.
The number of remembered messages is fixed at 20 for the tiny version and 200 The number of remembered messages is fixed at 200.
for other versions.
*g<* *g<*
The "g<" command can be used to see the last page of previous command output. The "g<" command can be used to see the last page of previous command output.

View File

@ -32,7 +32,7 @@
* ============== * ==============
* *
* +tiny almost no features enabled, not even multiple windows * +tiny almost no features enabled, not even multiple windows
* +small few features enabled, as basic as possible * +small as tiny plus cmdline window
* +normal A default selection of features enabled * +normal A default selection of features enabled
* +big many features enabled, as rich as possible. * +big many features enabled, as rich as possible.
* +huge all possible features enabled. * +huge all possible features enabled.
@ -120,13 +120,9 @@
*/ */
/* /*
* Message history is fixed at 200 message, 20 for the tiny version. * Message history is fixed at 200 messages.
*/ */
#ifdef FEAT_SMALL #define MAX_MSG_HIST_LEN 200
# define MAX_MSG_HIST_LEN 200
#else
# define MAX_MSG_HIST_LEN 20
#endif
#if defined(FEAT_SMALL) #if defined(FEAT_SMALL)
# define FEAT_CMDWIN # define FEAT_CMDWIN

View File

@ -749,6 +749,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
3797,
/**/ /**/
3796, 3796,
/**/ /**/