comparison src/feature.h @ 26532:255bc9a08e58 v8.2.3795

patch 8.2.3795: too many #ifdefs Commit: https://github.com/vim/vim/commit/739f13a55b4982efb37ebc9282e7f79975fff982 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Dec 13 13:12:53 2021 +0000 patch 8.2.3795: too many #ifdefs Problem: Too many #ifdefs. Solution: Graduate the jumplist feature.
author Bram Moolenaar <Bram@vim.org>
date Mon, 13 Dec 2021 14:15:03 +0100
parents a2e6da79274d
children 08241cd6091b
comparison
equal deleted inserted replaced
26531:b8398b0fb0ed 26532:255bc9a08e58
108 * +cmdline_compl completion of mappings/abbreviations in cmdline mode. 108 * +cmdline_compl completion of mappings/abbreviations in cmdline mode.
109 * +insert_expand CTRL-N/CTRL-P/CTRL-X in insert mode. 109 * +insert_expand CTRL-N/CTRL-P/CTRL-X in insert mode.
110 * +modify_fname modifiers for file name. E.g., "%:p:h". 110 * +modify_fname modifiers for file name. E.g., "%:p:h".
111 * +comments 'comments' option. 111 * +comments 'comments' option.
112 * +title 'title' and 'icon' options 112 * +title 'title' and 'icon' options
113 * +jumplist Jumplist, CTRL-O and CTRL-I commands.
113 * 114 *
114 * Obsolete: 115 * Obsolete:
115 * +tag_old_static Old style static tags: "file:tag file ..". 116 * +tag_old_static Old style static tags: "file:tag file ..".
116 * Support was removed in 8.1.1093. 117 * Support was removed in 8.1.1093.
117 * +farsi Farsi (Persian language) Keymap support. 118 * +farsi Farsi (Persian language) Keymap support.
123 */ 124 */
124 #ifdef FEAT_SMALL 125 #ifdef FEAT_SMALL
125 # define MAX_MSG_HIST_LEN 200 126 # define MAX_MSG_HIST_LEN 200
126 #else 127 #else
127 # define MAX_MSG_HIST_LEN 20 128 # define MAX_MSG_HIST_LEN 20
128 #endif
129
130 /*
131 * +jumplist Jumplist, CTRL-O and CTRL-I commands.
132 */
133 #ifdef FEAT_SMALL
134 # define FEAT_JUMPLIST
135 #endif 129 #endif
136 130
137 #if defined(FEAT_SMALL) 131 #if defined(FEAT_SMALL)
138 # define FEAT_CMDWIN 132 # define FEAT_CMDWIN
139 #endif 133 #endif