Mercurial > vim
comparison src/feature.h @ 26536:08241cd6091b v8.2.3797
patch 8.2.3797: no good reason to limit the message history in tiny version
Commit: https://github.com/vim/vim/commit/1e78deb0779bc403a914712f0842a65d2949dfdf
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Dec 13 14:40:53 2021 +0000
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 13 Dec 2021 15:45:03 +0100 |
parents | 255bc9a08e58 |
children | 06a137af96f8 |
comparison
equal
deleted
inserted
replaced
26535:ce0b2d5b39af | 26536:08241cd6091b |
---|---|
30 /* | 30 /* |
31 * Basic choices: | 31 * Basic choices: |
32 * ============== | 32 * ============== |
33 * | 33 * |
34 * +tiny almost no features enabled, not even multiple windows | 34 * +tiny almost no features enabled, not even multiple windows |
35 * +small few features enabled, as basic as possible | 35 * +small as tiny plus cmdline window |
36 * +normal A default selection of features enabled | 36 * +normal A default selection of features enabled |
37 * +big many features enabled, as rich as possible. | 37 * +big many features enabled, as rich as possible. |
38 * +huge all possible features enabled. | 38 * +huge all possible features enabled. |
39 * | 39 * |
40 * When +small is used, +tiny is also included. +normal implies +small, etc. | 40 * When +small is used, +tiny is also included. +normal implies +small, etc. |
118 * +farsi Farsi (Persian language) Keymap support. | 118 * +farsi Farsi (Persian language) Keymap support. |
119 * Removed in patch 8.1.0932 | 119 * Removed in patch 8.1.0932 |
120 */ | 120 */ |
121 | 121 |
122 /* | 122 /* |
123 * Message history is fixed at 200 message, 20 for the tiny version. | 123 * Message history is fixed at 200 messages. |
124 */ | 124 */ |
125 #ifdef FEAT_SMALL | 125 #define MAX_MSG_HIST_LEN 200 |
126 # define MAX_MSG_HIST_LEN 200 | |
127 #else | |
128 # define MAX_MSG_HIST_LEN 20 | |
129 #endif | |
130 | 126 |
131 #if defined(FEAT_SMALL) | 127 #if defined(FEAT_SMALL) |
132 # define FEAT_CMDWIN | 128 # define FEAT_CMDWIN |
133 #endif | 129 #endif |
134 | 130 |