Skip to content

Commit ffc0716

Browse files
committed
patch 8.1.1877: graduated features scattered
Problem: Graduated features scattered. Solution: Put graduated and obsolete features together.
1 parent f8b055d commit ffc0716

File tree

2 files changed

+15
-41
lines changed

2 files changed

+15
-41
lines changed

src/feature.h

Lines changed: 13 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -94,15 +94,23 @@
9494
*/
9595

9696
/*
97-
* These features used to be optional but are now always enabled.
97+
* These features used to be optional but are now always enabled:
9898
* +windows Multiple windows. Without this there is no help
9999
* window and no status lines.
100100
* +vertsplit Vertically split windows.
101-
*/
102-
103-
/*
104101
* +cmdhist Command line history.
105-
* Now always included.
102+
* +localmap Mappings and abbreviations local to a buffer.
103+
* +visual Visual mode
104+
* +visualextra Extra features for Visual mode (mostly block operators).
105+
* +virtualedit 'virtualedit' option and its implementation
106+
* +user_commands Allow the user to define his own commands.
107+
* +multi_byte Generic multi-byte character handling.
108+
*
109+
* Obsolete:
110+
* +tag_old_static Old style static tags: "file:tag file ..".
111+
* Support was removed in 8.1.1093.
112+
* +farsi Farsi (Persian language) Keymap support.
113+
* Removed in patch 8.1.0932
106114
*/
107115

108116
/*
@@ -161,11 +169,6 @@
161169
# define FEAT_KEYMAP
162170
#endif
163171

164-
/*
165-
* +localmap Mappings and abbreviations local to a buffer.
166-
* Now always included.
167-
*/
168-
169172
/*
170173
* +insert_expand CTRL-N/CTRL-P/CTRL-X in insert mode. Takes about
171174
* 4Kbyte of code.
@@ -186,17 +189,6 @@
186189
# define VIM_BACKTICK /* internal backtick expansion */
187190
#endif
188191

189-
/*
190-
* +visual Visual mode - now always included.
191-
* +visualextra Extra features for Visual mode (mostly block operators).
192-
* Now always included.
193-
*/
194-
195-
/*
196-
* +virtualedit 'virtualedit' option and its implementation
197-
* Now always included.
198-
*/
199-
200192
/*
201193
* +cmdline_info 'showcmd' and 'ruler' options.
202194
*/
@@ -258,11 +250,6 @@
258250
# define FEAT_RIGHTLEFT
259251
#endif
260252

261-
/*
262-
* +farsi Farsi (Persian language) Keymap support.
263-
* Removed in patch 8.1.0932
264-
*/
265-
266253
/*
267254
* +arabic Arabic keymap and shaping support.
268255
* Requires FEAT_RIGHTLEFT
@@ -299,11 +286,6 @@
299286
# define FEAT_TAG_BINS
300287
#endif
301288

302-
/*
303-
* +tag_old_static Old style static tags: "file:tag file ..".
304-
* Support was removed in 8.1.1093.
305-
*/
306-
307289
/*
308290
* +cscope Unix only: Cscope support.
309291
*/
@@ -372,11 +354,6 @@
372354
# define FEAT_COMPL_FUNC
373355
#endif
374356

375-
/*
376-
* +user_commands Allow the user to define his own commands.
377-
* Now always enabled.
378-
*/
379-
380357
/*
381358
* +printer ":hardcopy" command
382359
* +postscript Printing uses PostScript file output.
@@ -573,11 +550,6 @@
573550
# define FEAT_GETTEXT
574551
#endif
575552

576-
/*
577-
* +multi_byte Generic multi-byte character handling.
578-
* Now always enabled.
579-
*/
580-
581553
/*
582554
* +multi_byte_ime Win32 IME input method. Only for far-east Windows, so
583555
* IME can be used to input chars. Not tested much!

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -769,6 +769,8 @@ static char *(features[]) =
769769

770770
static int included_patches[] =
771771
{ /* Add new patch number below this line */
772+
/**/
773+
1877,
772774
/**/
773775
1876,
774776
/**/

0 commit comments

Comments
 (0)