Mercurial > vim
annotate src/feature.h @ 17761:109a0889b900 v8.1.1877
patch 8.1.1877: graduated features scattered
commit https://github.com/vim/vim/commit/ffc0716af8e448ef8a2a3249edfd0260546933df
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 17 20:17:51 2019 +0200
patch 8.1.1877: graduated features scattered
Problem: Graduated features scattered.
Solution: Put graduated and obsolete features together.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 17 Aug 2019 20:30:03 +0200 |
parents | 10696f279e20 |
children | 04245f071792 |
rev | line source |
---|---|
10042
4aead6a9b7a9
commit https://github.com/vim/vim/commit/edf3f97ae2af024708ebb4ac614227327033ca47
Christian Brabandt <cb@256bit.org>
parents:
9669
diff
changeset
|
1 /* vi:set ts=8 sts=4 sw=4 noet: |
7 | 2 * |
3 * VIM - Vi IMproved by Bram Moolenaar | |
4 * | |
5 * Do ":help uganda" in Vim to read copying and usage conditions. | |
6 * Do ":help credits" in Vim to see a list of people who contributed. | |
7 */ | |
8 /* | |
9 * feature.h: Defines for optional code and preferences | |
10 * | |
11 * Edit this file to include/exclude parts of Vim, before compiling. | |
12 * The only other file that may be edited is Makefile, it contains machine | |
13 * specific options. | |
14 * | |
15 * To include specific options, change the "#if*" and "#endif" into comments, | |
16 * or uncomment the "#define". | |
17 * To exclude specific options, change the "#define" into a comment. | |
18 */ | |
19 | |
20 /* | |
21 * When adding a new feature: | |
22 * - Add a #define below. | |
23 * - Add a message in the table above ex_version(). | |
24 * - Add a string to f_has(). | |
25 * - Add a feature to ":help feature-list" in doc/eval.txt. | |
26 * - Add feature to ":help +feature-list" in doc/various.txt. | |
27 * - Add comment for the documentation of commands that use the feature. | |
28 */ | |
29 | |
30 /* | |
31 * Basic choices: | |
32 * ============== | |
33 * | |
34 * +tiny almost no features enabled, not even multiple windows | |
35 * +small few features enabled, as basic as possible | |
36 * +normal A default selection of features enabled | |
37 * +big many features enabled, as rich as possible. | |
1620 | 38 * +huge all possible features enabled. |
7 | 39 * |
40 * When +small is used, +tiny is also included. +normal implies +small, etc. | |
41 */ | |
42 | |
43 /* | |
44 * Uncomment one of these to override the default. For unix use a configure | |
45 * argument, see Makefile. | |
46 */ | |
47 #if !defined(FEAT_TINY) && !defined(FEAT_SMALL) && !defined(FEAT_NORMAL) \ | |
48 && !defined(FEAT_BIG) && !defined(FEAT_HUGE) | |
49 /* #define FEAT_TINY */ | |
50 /* #define FEAT_SMALL */ | |
51 /* #define FEAT_NORMAL */ | |
52 /* #define FEAT_BIG */ | |
53 /* #define FEAT_HUGE */ | |
54 #endif | |
55 | |
56 /* | |
7693
6157052a0e58
commit https://github.com/vim/vim/commit/23c4f7183cca0ff8d2c5c2ef9a5c62f6307e07ea
Christian Brabandt <cb@256bit.org>
parents:
7408
diff
changeset
|
57 * For Unix, Mac and Win32 use +huge by default. These days CPUs are fast and |
6157052a0e58
commit https://github.com/vim/vim/commit/23c4f7183cca0ff8d2c5c2ef9a5c62f6307e07ea
Christian Brabandt <cb@256bit.org>
parents:
7408
diff
changeset
|
58 * Memory is cheap. |
9536
b2aada04d84e
commit https://github.com/vim/vim/commit/a06ecab7a5159e744448ace731036f0dc5f87dd4
Christian Brabandt <cb@256bit.org>
parents:
9389
diff
changeset
|
59 * Use +big for older systems: Other MS-Windows and VMS. |
7693
6157052a0e58
commit https://github.com/vim/vim/commit/23c4f7183cca0ff8d2c5c2ef9a5c62f6307e07ea
Christian Brabandt <cb@256bit.org>
parents:
7408
diff
changeset
|
60 * Otherwise use +normal |
7 | 61 */ |
62 #if !defined(FEAT_TINY) && !defined(FEAT_SMALL) && !defined(FEAT_NORMAL) \ | |
63 && !defined(FEAT_BIG) && !defined(FEAT_HUGE) | |
15868
7fad90423bd2
patch 8.1.0941: macros for MS-Windows are inconsistent
Bram Moolenaar <Bram@vim.org>
parents:
15636
diff
changeset
|
64 # if defined(UNIX) || defined(MSWIN) || defined(MACOS_X) |
7693
6157052a0e58
commit https://github.com/vim/vim/commit/23c4f7183cca0ff8d2c5c2ef9a5c62f6307e07ea
Christian Brabandt <cb@256bit.org>
parents:
7408
diff
changeset
|
65 # define FEAT_HUGE |
7 | 66 # else |
12716
351cf7c67bbe
patch 8.0.1236: Mac features are confusing
Christian Brabandt <cb@256bit.org>
parents:
12477
diff
changeset
|
67 # if defined(MSWIN) || defined(VMS) || defined(AMIGA) |
7693
6157052a0e58
commit https://github.com/vim/vim/commit/23c4f7183cca0ff8d2c5c2ef9a5c62f6307e07ea
Christian Brabandt <cb@256bit.org>
parents:
7408
diff
changeset
|
68 # define FEAT_BIG |
7 | 69 # else |
8212
05b88224cea1
commit https://github.com/vim/vim/commit/48e330aff911be1c798c88a973af6437a8141fce
Christian Brabandt <cb@256bit.org>
parents:
8163
diff
changeset
|
70 # define FEAT_NORMAL |
7 | 71 # endif |
72 # endif | |
73 #endif | |
74 | |
75 /* | |
76 * Each feature implies including the "smaller" ones. | |
77 */ | |
78 #ifdef FEAT_HUGE | |
79 # define FEAT_BIG | |
80 #endif | |
81 #ifdef FEAT_BIG | |
82 # define FEAT_NORMAL | |
83 #endif | |
84 #ifdef FEAT_NORMAL | |
85 # define FEAT_SMALL | |
86 #endif | |
87 #ifdef FEAT_SMALL | |
88 # define FEAT_TINY | |
89 #endif | |
90 | |
91 /* | |
92 * Optional code (see ":help +feature-list") | |
93 * ============= | |
94 */ | |
95 | |
96 /* | |
17761
109a0889b900
patch 8.1.1877: graduated features scattered
Bram Moolenaar <Bram@vim.org>
parents:
17708
diff
changeset
|
97 * These features used to be optional but are now always enabled: |
7 | 98 * +windows Multiple windows. Without this there is no help |
99 * window and no status lines. | |
8643
24b43dd167eb
commit https://github.com/vim/vim/commit/44a2f923c00f1384c9ecde12fb5b4711bc20702e
Christian Brabandt <cb@256bit.org>
parents:
8577
diff
changeset
|
100 * +vertsplit Vertically split windows. |
7 | 101 * +cmdhist Command line history. |
17761
109a0889b900
patch 8.1.1877: graduated features scattered
Bram Moolenaar <Bram@vim.org>
parents:
17708
diff
changeset
|
102 * +localmap Mappings and abbreviations local to a buffer. |
109a0889b900
patch 8.1.1877: graduated features scattered
Bram Moolenaar <Bram@vim.org>
parents:
17708
diff
changeset
|
103 * +visual Visual mode |
109a0889b900
patch 8.1.1877: graduated features scattered
Bram Moolenaar <Bram@vim.org>
parents:
17708
diff
changeset
|
104 * +visualextra Extra features for Visual mode (mostly block operators). |
109a0889b900
patch 8.1.1877: graduated features scattered
Bram Moolenaar <Bram@vim.org>
parents:
17708
diff
changeset
|
105 * +virtualedit 'virtualedit' option and its implementation |
109a0889b900
patch 8.1.1877: graduated features scattered
Bram Moolenaar <Bram@vim.org>
parents:
17708
diff
changeset
|
106 * +user_commands Allow the user to define his own commands. |
109a0889b900
patch 8.1.1877: graduated features scattered
Bram Moolenaar <Bram@vim.org>
parents:
17708
diff
changeset
|
107 * +multi_byte Generic multi-byte character handling. |
109a0889b900
patch 8.1.1877: graduated features scattered
Bram Moolenaar <Bram@vim.org>
parents:
17708
diff
changeset
|
108 * |
109a0889b900
patch 8.1.1877: graduated features scattered
Bram Moolenaar <Bram@vim.org>
parents:
17708
diff
changeset
|
109 * Obsolete: |
109a0889b900
patch 8.1.1877: graduated features scattered
Bram Moolenaar <Bram@vim.org>
parents:
17708
diff
changeset
|
110 * +tag_old_static Old style static tags: "file:tag file ..". |
109a0889b900
patch 8.1.1877: graduated features scattered
Bram Moolenaar <Bram@vim.org>
parents:
17708
diff
changeset
|
111 * Support was removed in 8.1.1093. |
109a0889b900
patch 8.1.1877: graduated features scattered
Bram Moolenaar <Bram@vim.org>
parents:
17708
diff
changeset
|
112 * +farsi Farsi (Persian language) Keymap support. |
109a0889b900
patch 8.1.1877: graduated features scattered
Bram Moolenaar <Bram@vim.org>
parents:
17708
diff
changeset
|
113 * Removed in patch 8.1.0932 |
7 | 114 */ |
115 | |
116 /* | |
2251
646d34788036
Fix a few compiler warnings. Fix crash with encrypted undo file.
Bram Moolenaar <bram@vim.org>
parents:
2250
diff
changeset
|
117 * Message history is fixed at 200 message, 20 for the tiny version. |
625 | 118 */ |
119 #ifdef FEAT_SMALL | |
2233
43cad213cb7f
A bit of cleanup and simplification for undofile.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
120 # define MAX_MSG_HIST_LEN 200 |
625 | 121 #else |
122 # define MAX_MSG_HIST_LEN 20 | |
123 #endif | |
124 | |
125 /* | |
7 | 126 * +jumplist Jumplist, CTRL-O and CTRL-I commands. |
127 */ | |
128 #ifdef FEAT_SMALL | |
129 # define FEAT_JUMPLIST | |
130 #endif | |
131 | |
17652
9efb4dda9720
patch 8.1.1823: command line history code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
17576
diff
changeset
|
132 #if defined(FEAT_SMALL) |
7 | 133 # define FEAT_CMDWIN |
134 #endif | |
135 | |
136 /* | |
137 * +folding Fold lines. | |
138 */ | |
139 #ifdef FEAT_NORMAL | |
140 # define FEAT_FOLDING | |
141 #endif | |
142 | |
143 /* | |
144 * +digraphs Digraphs. | |
145 * In insert mode and on the command line you will be | |
146 * able to use digraphs. The CTRL-K command will work. | |
147 * Define OLD_DIGRAPHS to get digraphs compatible with | |
148 * Vim 5.x. The new ones are from RFC 1345. | |
149 */ | |
150 #ifdef FEAT_NORMAL | |
151 # define FEAT_DIGRAPHS | |
152 /* #define OLD_DIGRAPHS */ | |
153 #endif | |
154 | |
155 /* | |
156 * +langmap 'langmap' option. Only useful when you put your | |
157 * keyboard in a special language mode, e.g. for typing | |
158 * greek. | |
159 */ | |
160 #ifdef FEAT_BIG | |
161 # define FEAT_LANGMAP | |
162 #endif | |
163 | |
164 /* | |
165 * +keymap 'keymap' option. Allows you to map typed keys in | |
166 * Insert mode for a special language. | |
167 */ | |
168 #ifdef FEAT_BIG | |
169 # define FEAT_KEYMAP | |
170 #endif | |
171 | |
172 /* | |
173 * +insert_expand CTRL-N/CTRL-P/CTRL-X in insert mode. Takes about | |
174 * 4Kbyte of code. | |
175 */ | |
176 #ifdef FEAT_NORMAL | |
177 # define FEAT_INS_EXPAND | |
178 #endif | |
179 | |
180 /* | |
181 * +cmdline_compl completion of mappings/abbreviations in cmdline mode. | |
182 * Takes a few Kbyte of code. | |
183 */ | |
184 #ifdef FEAT_NORMAL | |
185 # define FEAT_CMDL_COMPL | |
186 #endif | |
187 | |
188 #ifdef FEAT_NORMAL | |
189 # define VIM_BACKTICK /* internal backtick expansion */ | |
190 #endif | |
191 | |
192 /* | |
193 * +cmdline_info 'showcmd' and 'ruler' options. | |
194 */ | |
195 #ifdef FEAT_NORMAL | |
196 # define FEAT_CMDL_INFO | |
197 #endif | |
198 | |
199 /* | |
200 * +linebreak 'showbreak', 'breakat' and 'linebreak' options. | |
13 | 201 * Also 'numberwidth'. |
7 | 202 */ |
203 #ifdef FEAT_NORMAL | |
204 # define FEAT_LINEBREAK | |
205 #endif | |
206 | |
207 /* | |
208 * +extra_search 'hlsearch' and 'incsearch' options. | |
209 */ | |
210 #ifdef FEAT_NORMAL | |
211 # define FEAT_SEARCH_EXTRA | |
212 #endif | |
213 | |
214 /* | |
215 * +quickfix Quickfix commands. | |
216 */ | |
217 #ifdef FEAT_NORMAL | |
218 # define FEAT_QUICKFIX | |
219 #endif | |
220 | |
221 /* | |
222 * +file_in_path "gf" and "<cfile>" commands. | |
223 */ | |
224 #ifdef FEAT_NORMAL | |
225 # define FEAT_SEARCHPATH | |
226 #endif | |
227 | |
228 /* | |
229 * +find_in_path "[I" ":isearch" "^W^I", ":checkpath", etc. | |
230 */ | |
231 #ifdef FEAT_NORMAL | |
232 # ifdef FEAT_SEARCHPATH /* FEAT_SEARCHPATH is required */ | |
233 # define FEAT_FIND_ID | |
234 # endif | |
235 #endif | |
236 | |
237 /* | |
238 * +path_extra up/downwards searching in 'path' and 'tags'. | |
239 */ | |
240 #ifdef FEAT_NORMAL | |
241 # define FEAT_PATH_EXTRA | |
242 #endif | |
243 | |
244 /* | |
245 * +rightleft Right-to-left editing/typing support. | |
2247
c40cd9aad546
Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents:
2233
diff
changeset
|
246 * |
c40cd9aad546
Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents:
2233
diff
changeset
|
247 * Disabled for EBCDIC as it requires multibyte. |
7 | 248 */ |
15136
1f3fe26f8e3f
patch 8.1.0578: cannot disable arabic, rightleft and farsi in configure
Bram Moolenaar <Bram@vim.org>
parents:
14536
diff
changeset
|
249 #if defined(FEAT_BIG) && !defined(DISABLE_RIGHTLEFT) && !defined(EBCDIC) |
7 | 250 # define FEAT_RIGHTLEFT |
251 #endif | |
252 | |
253 /* | |
254 * +arabic Arabic keymap and shaping support. | |
15450
bb421f682528
patch 8.1.0733: too many #ifdefs for the multi-byte feature
Bram Moolenaar <Bram@vim.org>
parents:
15422
diff
changeset
|
255 * Requires FEAT_RIGHTLEFT |
2247
c40cd9aad546
Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents:
2233
diff
changeset
|
256 * |
c40cd9aad546
Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents:
2233
diff
changeset
|
257 * Disabled for EBCDIC as it requires multibyte. |
7 | 258 */ |
15607
2dcaa860e3fc
patch 8.1.0811: too many #ifdefs
Bram Moolenaar <Bram@vim.org>
parents:
15517
diff
changeset
|
259 #if defined(FEAT_BIG) && !defined(DISABLE_ARABIC) && !defined(EBCDIC) |
7 | 260 # define FEAT_ARABIC |
261 #endif | |
262 #ifdef FEAT_ARABIC | |
263 # ifndef FEAT_RIGHTLEFT | |
264 # define FEAT_RIGHTLEFT | |
265 # endif | |
266 #endif | |
267 | |
268 /* | |
269 * +emacs_tags When FEAT_EMACS_TAGS defined: Include support for | |
270 * emacs style TAGS file. | |
271 */ | |
272 #ifdef FEAT_BIG | |
273 # define FEAT_EMACS_TAGS | |
274 #endif | |
275 | |
276 /* | |
277 * +tag_binary Can use a binary search for the tags file. | |
278 * | |
279 * Disabled for EBCDIC: | |
2247
c40cd9aad546
Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents:
2233
diff
changeset
|
280 * On z/OS Unix we have the problem that /bin/sort sorts ASCII instead of |
7 | 281 * EBCDIC. With this binary search doesn't work, as VIM expects a tag file |
282 * sorted by character values. I'm not sure how to fix this. Should we really | |
283 * do a EBCDIC to ASCII conversion for this?? | |
284 */ | |
10134
95e9be4bc490
commit https://github.com/vim/vim/commit/7947312871e7d01cdba058199904c212ec32f1c0
Christian Brabandt <cb@256bit.org>
parents:
10042
diff
changeset
|
285 #if !defined(EBCDIC) |
7 | 286 # define FEAT_TAG_BINS |
287 #endif | |
288 | |
289 /* | |
290 * +cscope Unix only: Cscope support. | |
291 */ | |
292 #if defined(UNIX) && defined(FEAT_BIG) && !defined(FEAT_CSCOPE) && !defined(MACOS_X) | |
293 # define FEAT_CSCOPE | |
294 #endif | |
295 | |
296 /* | |
297 * +eval Built-in script language and expression evaluation, | |
298 * ":let", ":if", etc. | |
1620 | 299 * +float Floating point variables. |
9389
32e34e574716
commit https://github.com/vim/vim/commit/22fcfad29276bd5f317faf516637dcd491b96a12
Christian Brabandt <cb@256bit.org>
parents:
9027
diff
changeset
|
300 * +num64 64-bit Number. |
7 | 301 */ |
302 #ifdef FEAT_NORMAL | |
303 # define FEAT_EVAL | |
15868
7fad90423bd2
patch 8.1.0941: macros for MS-Windows are inconsistent
Bram Moolenaar <Bram@vim.org>
parents:
15636
diff
changeset
|
304 # if defined(HAVE_FLOAT_FUNCS) || defined(MSWIN) || defined(MACOS_X) |
1620 | 305 # define FEAT_FLOAT |
306 # endif | |
15868
7fad90423bd2
patch 8.1.0941: macros for MS-Windows are inconsistent
Bram Moolenaar <Bram@vim.org>
parents:
15636
diff
changeset
|
307 # if defined(HAVE_STDINT_H) || defined(MSWIN) || (VIM_SIZEOF_LONG >= 8) |
9389
32e34e574716
commit https://github.com/vim/vim/commit/22fcfad29276bd5f317faf516637dcd491b96a12
Christian Brabandt <cb@256bit.org>
parents:
9027
diff
changeset
|
308 # define FEAT_NUM64 |
32e34e574716
commit https://github.com/vim/vim/commit/22fcfad29276bd5f317faf516637dcd491b96a12
Christian Brabandt <cb@256bit.org>
parents:
9027
diff
changeset
|
309 # endif |
7 | 310 #endif |
311 | |
14536
4caa51067cb8
patch 8.1.0281: parsing command modifiers is not separated
Christian Brabandt <cb@256bit.org>
parents:
14424
diff
changeset
|
312 #ifdef FEAT_EVAL |
4caa51067cb8
patch 8.1.0281: parsing command modifiers is not separated
Christian Brabandt <cb@256bit.org>
parents:
14424
diff
changeset
|
313 # define HAVE_SANDBOX |
4caa51067cb8
patch 8.1.0281: parsing command modifiers is not separated
Christian Brabandt <cb@256bit.org>
parents:
14424
diff
changeset
|
314 #endif |
4caa51067cb8
patch 8.1.0281: parsing command modifiers is not separated
Christian Brabandt <cb@256bit.org>
parents:
14424
diff
changeset
|
315 |
7 | 316 /* |
170 | 317 * +profile Profiling for functions and scripts. |
318 */ | |
177 | 319 #if defined(FEAT_HUGE) \ |
532 | 320 && defined(FEAT_EVAL) \ |
177 | 321 && ((defined(HAVE_GETTIMEOFDAY) && defined(HAVE_SYS_TIME_H)) \ |
15868
7fad90423bd2
patch 8.1.0941: macros for MS-Windows are inconsistent
Bram Moolenaar <Bram@vim.org>
parents:
15636
diff
changeset
|
322 || defined(MSWIN)) |
170 | 323 # define FEAT_PROFILE |
324 #endif | |
325 | |
326 /* | |
793 | 327 * +reltime reltime() function |
328 */ | |
329 #if defined(FEAT_NORMAL) \ | |
330 && defined(FEAT_EVAL) \ | |
331 && ((defined(HAVE_GETTIMEOFDAY) && defined(HAVE_SYS_TIME_H)) \ | |
15868
7fad90423bd2
patch 8.1.0941: macros for MS-Windows are inconsistent
Bram Moolenaar <Bram@vim.org>
parents:
15636
diff
changeset
|
332 || defined(MSWIN)) |
793 | 333 # define FEAT_RELTIME |
334 #endif | |
335 | |
336 /* | |
8577
63dc856bd13d
commit https://github.com/vim/vim/commit/975b5271eed4fa0500c24a8f37be0b1797cb9db7
Christian Brabandt <cb@256bit.org>
parents:
8493
diff
changeset
|
337 * +timers timer_start() |
63dc856bd13d
commit https://github.com/vim/vim/commit/975b5271eed4fa0500c24a8f37be0b1797cb9db7
Christian Brabandt <cb@256bit.org>
parents:
8493
diff
changeset
|
338 */ |
15868
7fad90423bd2
patch 8.1.0941: macros for MS-Windows are inconsistent
Bram Moolenaar <Bram@vim.org>
parents:
15636
diff
changeset
|
339 #if defined(FEAT_RELTIME) && (defined(UNIX) || defined(MSWIN) || defined(VMS) ) |
8577
63dc856bd13d
commit https://github.com/vim/vim/commit/975b5271eed4fa0500c24a8f37be0b1797cb9db7
Christian Brabandt <cb@256bit.org>
parents:
8493
diff
changeset
|
340 # define FEAT_TIMERS |
63dc856bd13d
commit https://github.com/vim/vim/commit/975b5271eed4fa0500c24a8f37be0b1797cb9db7
Christian Brabandt <cb@256bit.org>
parents:
8493
diff
changeset
|
341 #endif |
63dc856bd13d
commit https://github.com/vim/vim/commit/975b5271eed4fa0500c24a8f37be0b1797cb9db7
Christian Brabandt <cb@256bit.org>
parents:
8493
diff
changeset
|
342 |
63dc856bd13d
commit https://github.com/vim/vim/commit/975b5271eed4fa0500c24a8f37be0b1797cb9db7
Christian Brabandt <cb@256bit.org>
parents:
8493
diff
changeset
|
343 /* |
532 | 344 * +textobjects Text objects: "vaw", "das", etc. |
345 */ | |
346 #if defined(FEAT_NORMAL) && defined(FEAT_EVAL) | |
347 # define FEAT_TEXTOBJ | |
348 #endif | |
349 | |
350 /* | |
12 | 351 * Insert mode completion with 'completefunc'. |
352 */ | |
353 #if defined(FEAT_INS_EXPAND) && defined(FEAT_EVAL) | |
354 # define FEAT_COMPL_FUNC | |
355 #endif | |
356 | |
357 /* | |
7 | 358 * +printer ":hardcopy" command |
359 * +postscript Printing uses PostScript file output. | |
360 */ | |
361 #if defined(FEAT_NORMAL) && (defined(MSWIN) || defined(FEAT_EVAL)) \ | |
362 && !defined(AMIGA) | |
363 # define FEAT_PRINTER | |
364 #endif | |
365 #if defined(FEAT_PRINTER) && ((defined(MSWIN) && defined(MSWINPS)) \ | |
366 || (!defined(MSWIN) && defined(FEAT_EVAL))) | |
367 # define FEAT_POSTSCRIPT | |
368 #endif | |
369 | |
370 /* | |
371 * +modify_fname modifiers for file name. E.g., "%:p:h". | |
372 */ | |
373 #ifdef FEAT_NORMAL | |
374 # define FEAT_MODIFY_FNAME | |
375 #endif | |
376 | |
377 /* | |
378 * +diff Displaying diffs in a nice way. | |
379 * Requires +windows and +autocmd. | |
380 */ | |
13380
69517d67421f
patch 8.0.1564: too many #ifdefs
Christian Brabandt <cb@256bit.org>
parents:
13369
diff
changeset
|
381 #if defined(FEAT_NORMAL) |
7 | 382 # define FEAT_DIFF |
383 #endif | |
384 | |
385 /* | |
386 * +title 'title' and 'icon' options | |
387 * +statusline 'statusline', 'rulerformat' and special format of | |
388 * 'titlestring' and 'iconstring' options. | |
389 * +byte_offset '%o' in 'statusline' and builtin functions line2byte() | |
390 * and byte2line(). | |
391 * Note: Required for Macintosh. | |
392 */ | |
8212
05b88224cea1
commit https://github.com/vim/vim/commit/48e330aff911be1c798c88a973af6437a8141fce
Christian Brabandt <cb@256bit.org>
parents:
8163
diff
changeset
|
393 #if defined(FEAT_NORMAL) |
7 | 394 # define FEAT_TITLE |
395 #endif | |
396 | |
397 #ifdef FEAT_NORMAL | |
398 # define FEAT_STL_OPT | |
399 # ifndef FEAT_CMDL_INFO | |
400 # define FEAT_CMDL_INFO /* 'ruler' is required for 'statusline' */ | |
401 # endif | |
402 #endif | |
403 | |
404 #ifdef FEAT_NORMAL | |
405 # define FEAT_BYTEOFF | |
406 #endif | |
407 | |
408 /* | |
409 * +wildignore 'wildignore' and 'backupskip' options | |
410 * Needed for Unix to make "crontab -e" work. | |
411 */ | |
412 #if defined(FEAT_NORMAL) || defined(UNIX) | |
413 # define FEAT_WILDIGN | |
414 #endif | |
415 | |
416 /* | |
417 * +wildmenu 'wildmenu' option | |
418 */ | |
12477
68d7bc045dbe
patch 8.0.1118: FEAT_WINDOWS adds a lot of #ifdefs
Christian Brabandt <cb@256bit.org>
parents:
12212
diff
changeset
|
419 #if defined(FEAT_NORMAL) |
7 | 420 # define FEAT_WILDMENU |
421 #endif | |
422 | |
423 /* | |
424 * +viminfo reading/writing the viminfo file. Takes about 8Kbyte | |
425 * of code. | |
426 * VIMINFO_FILE Location of user .viminfo file (should start with $). | |
427 * VIMINFO_FILE2 Location of alternate user .viminfo file. | |
428 */ | |
429 #ifdef FEAT_NORMAL | |
430 # define FEAT_VIMINFO | |
431 /* #define VIMINFO_FILE "$HOME/foo/.viminfo" */ | |
432 /* #define VIMINFO_FILE2 "~/bar/.viminfo" */ | |
433 #endif | |
434 | |
435 /* | |
436 * +syntax syntax highlighting. When using this, it's a good | |
437 * idea to have +autocmd and +eval too. | |
438 */ | |
439 #if defined(FEAT_NORMAL) || defined(PROTO) | |
440 # define FEAT_SYN_HL | |
441 #endif | |
442 | |
443 /* | |
2250
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2247
diff
changeset
|
444 * +conceal 'conceal' option. Needs syntax highlighting |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2247
diff
changeset
|
445 * as this is how the concealed text is defined. |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2247
diff
changeset
|
446 */ |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2247
diff
changeset
|
447 #if defined(FEAT_BIG) && defined(FEAT_SYN_HL) |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2247
diff
changeset
|
448 # define FEAT_CONCEAL |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2247
diff
changeset
|
449 #endif |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2247
diff
changeset
|
450 |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2247
diff
changeset
|
451 /* |
16778
eda4d65f232c
patch 8.1.1391: no popup window support
Bram Moolenaar <Bram@vim.org>
parents:
16451
diff
changeset
|
452 * +textprop Text properties and popup windows |
15138
9df130fd5e0d
patch 8.1.0579: cannot attach properties to text
Bram Moolenaar <Bram@vim.org>
parents:
15136
diff
changeset
|
453 */ |
9df130fd5e0d
patch 8.1.0579: cannot attach properties to text
Bram Moolenaar <Bram@vim.org>
parents:
15136
diff
changeset
|
454 #if defined(FEAT_EVAL) && defined(FEAT_SYN_HL) |
15144
7960bf50d345
patch 8.1.0582: text properties are not enabled
Bram Moolenaar <Bram@vim.org>
parents:
15140
diff
changeset
|
455 # define FEAT_TEXT_PROP |
15138
9df130fd5e0d
patch 8.1.0579: cannot attach properties to text
Bram Moolenaar <Bram@vim.org>
parents:
15136
diff
changeset
|
456 #endif |
9df130fd5e0d
patch 8.1.0579: cannot attach properties to text
Bram Moolenaar <Bram@vim.org>
parents:
15136
diff
changeset
|
457 |
17452
f12745505a23
patch 8.1.1724: too much overhead checking for CTRL-C while processing text
Bram Moolenaar <Bram@vim.org>
parents:
17446
diff
changeset
|
458 #if defined(FEAT_SYN_HL) && defined(FEAT_RELTIME) |
f12745505a23
patch 8.1.1724: too much overhead checking for CTRL-C while processing text
Bram Moolenaar <Bram@vim.org>
parents:
17446
diff
changeset
|
459 // Can limit syntax highlight time to 'redrawtime'. |
f12745505a23
patch 8.1.1724: too much overhead checking for CTRL-C while processing text
Bram Moolenaar <Bram@vim.org>
parents:
17446
diff
changeset
|
460 # define SYN_TIME_LIMIT 1 |
f12745505a23
patch 8.1.1724: too much overhead checking for CTRL-C while processing text
Bram Moolenaar <Bram@vim.org>
parents:
17446
diff
changeset
|
461 #endif |
f12745505a23
patch 8.1.1724: too much overhead checking for CTRL-C while processing text
Bram Moolenaar <Bram@vim.org>
parents:
17446
diff
changeset
|
462 |
15138
9df130fd5e0d
patch 8.1.0579: cannot attach properties to text
Bram Moolenaar <Bram@vim.org>
parents:
15136
diff
changeset
|
463 /* |
740 | 464 * +spell spell checking |
2247
c40cd9aad546
Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents:
2233
diff
changeset
|
465 * |
2250
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2247
diff
changeset
|
466 * Disabled for EBCDIC: * Doesn't work (SIGSEGV). |
740 | 467 */ |
2247
c40cd9aad546
Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
Bram Moolenaar <bram@vim.org>
parents:
2233
diff
changeset
|
468 #if (defined(FEAT_NORMAL) || defined(PROTO)) && !defined(EBCDIC) |
740 | 469 # define FEAT_SPELL |
470 #endif | |
471 | |
472 /* | |
7 | 473 * +builtin_terms Choose one out of the following four: |
474 * | |
475 * NO_BUILTIN_TCAPS Do not include any builtin termcap entries (used only | |
476 * with HAVE_TGETENT defined). | |
477 * | |
478 * (nothing) Machine specific termcap entries will be included. | |
479 * | |
480 * SOME_BUILTIN_TCAPS Include most useful builtin termcap entries (used only | |
481 * with NO_BUILTIN_TCAPS not defined). | |
482 * This is the default. | |
483 * | |
484 * ALL_BUILTIN_TCAPS Include all builtin termcap entries | |
485 * (used only with NO_BUILTIN_TCAPS not defined). | |
486 */ | |
487 #ifdef HAVE_TGETENT | |
488 /* #define NO_BUILTIN_TCAPS */ | |
489 #endif | |
490 | |
8163
d8a8e86f39ad
commit https://github.com/vim/vim/commit/e89ff0472bc33779583d48e8d38a5e794d05613a
Christian Brabandt <cb@256bit.org>
parents:
8140
diff
changeset
|
491 #if !defined(NO_BUILTIN_TCAPS) |
7 | 492 # ifdef FEAT_BIG |
493 # define ALL_BUILTIN_TCAPS | |
494 # else | |
495 # define SOME_BUILTIN_TCAPS /* default */ | |
496 # endif | |
497 #endif | |
498 | |
499 /* | |
500 * +lispindent lisp indenting (From Eric Fischer). | |
501 * +cindent C code indenting (From Eric Fischer). | |
502 * +smartindent smart C code indenting when the 'si' option is set. | |
503 * | |
504 * These two need to be defined when making prototypes. | |
505 */ | |
506 #if defined(FEAT_NORMAL) || defined(PROTO) | |
507 # define FEAT_LISP | |
508 #endif | |
509 | |
510 #if defined(FEAT_NORMAL) || defined(PROTO) | |
511 # define FEAT_CINDENT | |
512 #endif | |
513 | |
514 #ifdef FEAT_NORMAL | |
515 # define FEAT_SMARTINDENT | |
516 #endif | |
517 | |
518 /* | |
519 * +comments 'comments' option. | |
520 */ | |
521 #ifdef FEAT_NORMAL | |
522 # define FEAT_COMMENTS | |
523 #endif | |
524 | |
525 /* | |
526 * +cryptv Encryption (by Mohsin Ahmed <mosh@sasi.com>). | |
527 */ | |
2180
f60a0c9cbe6c
Add the blowfish encryption patch from Mohsin Ahmed. Needs more work.
Bram Moolenaar <bram@vim.org>
parents:
1972
diff
changeset
|
528 #if defined(FEAT_NORMAL) && !defined(FEAT_CRYPT) || defined(PROTO) |
7 | 529 # define FEAT_CRYPT |
530 #endif | |
531 | |
532 /* | |
533 * +mksession ":mksession" command. | |
17539
554240b9574b
patch 8.1.1767: FEAT_SESSION defined separately
Bram Moolenaar <Bram@vim.org>
parents:
17452
diff
changeset
|
534 * fully depends on +eval |
7 | 535 */ |
17539
554240b9574b
patch 8.1.1767: FEAT_SESSION defined separately
Bram Moolenaar <Bram@vim.org>
parents:
17452
diff
changeset
|
536 #if defined(FEAT_EVAL) |
7 | 537 # define FEAT_SESSION |
538 #endif | |
539 | |
540 /* | |
541 * +multi_lang Multi language support. ":menutrans", ":language", etc. | |
542 * +gettext Message translations (requires +multi_lang) | |
543 * (only when "lang" archive unpacked) | |
544 */ | |
545 #ifdef FEAT_NORMAL | |
546 # define FEAT_MULTI_LANG | |
547 #endif | |
548 #if defined(HAVE_GETTEXT) && defined(FEAT_MULTI_LANG) \ | |
549 && (defined(HAVE_LOCALE_H) || defined(X_LOCALE)) | |
550 # define FEAT_GETTEXT | |
551 #endif | |
552 | |
553 /* | |
15607
2dcaa860e3fc
patch 8.1.0811: too many #ifdefs
Bram Moolenaar <Bram@vim.org>
parents:
15517
diff
changeset
|
554 * +multi_byte_ime Win32 IME input method. Only for far-east Windows, so |
2dcaa860e3fc
patch 8.1.0811: too many #ifdefs
Bram Moolenaar <Bram@vim.org>
parents:
15517
diff
changeset
|
555 * IME can be used to input chars. Not tested much! |
7 | 556 */ |
15868
7fad90423bd2
patch 8.1.0941: macros for MS-Windows are inconsistent
Bram Moolenaar <Bram@vim.org>
parents:
15636
diff
changeset
|
557 #if defined(FEAT_GUI_MSWIN) && !defined(FEAT_MBYTE_IME) |
7 | 558 /* #define FEAT_MBYTE_IME */ |
559 # endif | |
560 | |
561 /* Use iconv() when it's available. */ | |
15450
bb421f682528
patch 8.1.0733: too many #ifdefs for the multi-byte feature
Bram Moolenaar <Bram@vim.org>
parents:
15422
diff
changeset
|
562 #if (defined(HAVE_ICONV_H) && defined(HAVE_ICONV)) || defined(DYNAMIC_ICONV) |
7 | 563 # define USE_ICONV |
564 #endif | |
565 | |
566 /* | |
567 * +xim X Input Method. For entering special languages like | |
568 * chinese and Japanese. | |
569 * +hangul_input Internal Hangul input method. Must be included | |
570 * through configure: "--enable-hangulin" | |
571 * Both are for Unix and VMS only. | |
572 */ | |
573 #ifndef FEAT_XIM | |
574 /* #define FEAT_XIM */ | |
575 #endif | |
576 | |
577 #if defined(FEAT_XIM) && defined(FEAT_GUI_GTK) | |
578 # define USE_XIM 1 /* needed for GTK include files */ | |
579 #endif | |
580 | |
581 #ifdef FEAT_HANGULIN | |
582 # define HANGUL_DEFAULT_KEYBOARD 2 /* 2 or 3 bulsik keyboard */ | |
583 # define ESC_CHG_TO_ENG_MODE /* if defined, when ESC pressed, | |
584 * turn to english mode | |
585 */ | |
586 # if defined(FEAT_XIM) && !defined(LINT) | |
587 Error: You should select only ONE of XIM and HANGUL INPUT | |
588 # endif | |
589 #endif | |
590 #if defined(FEAT_HANGULIN) || defined(FEAT_XIM) | |
591 /* # define X_LOCALE */ /* for OS with incomplete locale | |
592 support, like old linux versions. */ | |
593 #endif | |
594 | |
595 /* | |
596 * +xfontset X fontset support. For outputting wide characters. | |
597 */ | |
598 #ifndef FEAT_XFONTSET | |
15450
bb421f682528
patch 8.1.0733: too many #ifdefs for the multi-byte feature
Bram Moolenaar <Bram@vim.org>
parents:
15422
diff
changeset
|
599 # if defined(HAVE_X11) && !defined(FEAT_GUI_GTK) |
7 | 600 # define FEAT_XFONTSET |
601 # else | |
602 /* # define FEAT_XFONTSET */ | |
603 # endif | |
604 #endif | |
605 | |
606 /* | |
607 * +libcall libcall() function | |
608 */ | |
609 /* Using dlopen() also requires dlsym() to be available. */ | |
610 #if defined(HAVE_DLOPEN) && defined(HAVE_DLSYM) | |
611 # define USE_DLOPEN | |
612 #endif | |
15868
7fad90423bd2
patch 8.1.0941: macros for MS-Windows are inconsistent
Bram Moolenaar <Bram@vim.org>
parents:
15636
diff
changeset
|
613 #if defined(FEAT_EVAL) && (defined(MSWIN) || ((defined(UNIX) || defined(VMS)) \ |
7 | 614 && (defined(USE_DLOPEN) || defined(HAVE_SHL_LOAD)))) |
615 # define FEAT_LIBCALL | |
616 #endif | |
617 | |
618 /* | |
619 * +menu ":menu" command | |
620 */ | |
621 #ifdef FEAT_NORMAL | |
622 # define FEAT_MENU | |
15868
7fad90423bd2
patch 8.1.0941: macros for MS-Windows are inconsistent
Bram Moolenaar <Bram@vim.org>
parents:
15636
diff
changeset
|
623 # ifdef FEAT_GUI_MSWIN |
7 | 624 # define FEAT_TEAROFF |
625 # endif | |
626 #endif | |
627 | |
13369
244ff1b6d2ad
patch 8.0.1558: no right-click menu in a terminal
Christian Brabandt <cb@256bit.org>
parents:
13314
diff
changeset
|
628 /* |
244ff1b6d2ad
patch 8.0.1558: no right-click menu in a terminal
Christian Brabandt <cb@256bit.org>
parents:
13314
diff
changeset
|
629 * popup menu in a terminal |
244ff1b6d2ad
patch 8.0.1558: no right-click menu in a terminal
Christian Brabandt <cb@256bit.org>
parents:
13314
diff
changeset
|
630 */ |
244ff1b6d2ad
patch 8.0.1558: no right-click menu in a terminal
Christian Brabandt <cb@256bit.org>
parents:
13314
diff
changeset
|
631 #if defined(FEAT_MENU) && !defined(ALWAYS_USE_GUI) && defined(FEAT_INS_EXPAND) |
244ff1b6d2ad
patch 8.0.1558: no right-click menu in a terminal
Christian Brabandt <cb@256bit.org>
parents:
13314
diff
changeset
|
632 # define FEAT_TERM_POPUP_MENU |
244ff1b6d2ad
patch 8.0.1558: no right-click menu in a terminal
Christian Brabandt <cb@256bit.org>
parents:
13314
diff
changeset
|
633 #endif |
244ff1b6d2ad
patch 8.0.1558: no right-click menu in a terminal
Christian Brabandt <cb@256bit.org>
parents:
13314
diff
changeset
|
634 |
17004
353ed7ef78df
patch 8.1.1502: cannot play any sound
Bram Moolenaar <Bram@vim.org>
parents:
16778
diff
changeset
|
635 /* |
353ed7ef78df
patch 8.1.1502: cannot play any sound
Bram Moolenaar <Bram@vim.org>
parents:
16778
diff
changeset
|
636 * sound - currently only with libcanberra |
353ed7ef78df
patch 8.1.1502: cannot play any sound
Bram Moolenaar <Bram@vim.org>
parents:
16778
diff
changeset
|
637 */ |
17059
70f424551938
patch 8.1.1529: libcanberra is linked with even when not used
Bram Moolenaar <Bram@vim.org>
parents:
17004
diff
changeset
|
638 #if !defined(FEAT_SOUND) && defined(HAVE_CANBERRA) |
17004
353ed7ef78df
patch 8.1.1502: cannot play any sound
Bram Moolenaar <Bram@vim.org>
parents:
16778
diff
changeset
|
639 # define FEAT_SOUND |
353ed7ef78df
patch 8.1.1502: cannot play any sound
Bram Moolenaar <Bram@vim.org>
parents:
16778
diff
changeset
|
640 #endif |
17708
10696f279e20
patch 8.1.1851: crash when sound_playfile() callback plays sound
Bram Moolenaar <Bram@vim.org>
parents:
17652
diff
changeset
|
641 #if defined(FEAT_SOUND) && defined(HAVE_CANBERRA) |
10696f279e20
patch 8.1.1851: crash when sound_playfile() callback plays sound
Bram Moolenaar <Bram@vim.org>
parents:
17652
diff
changeset
|
642 # define FEAT_SOUND_CANBERRA |
10696f279e20
patch 8.1.1851: crash when sound_playfile() callback plays sound
Bram Moolenaar <Bram@vim.org>
parents:
17652
diff
changeset
|
643 #endif |
17004
353ed7ef78df
patch 8.1.1502: cannot play any sound
Bram Moolenaar <Bram@vim.org>
parents:
16778
diff
changeset
|
644 |
7 | 645 /* There are two ways to use XPM. */ |
646 #if (defined(HAVE_XM_XPMP_H) && defined(FEAT_GUI_MOTIF)) \ | |
647 || defined(HAVE_X11_XPM_H) | |
648 # define HAVE_XPM 1 | |
649 #endif | |
650 | |
651 /* | |
652 * +toolbar Include code for a toolbar (for the Win32 GUI, GTK | |
653 * always has it). But only if menus are enabled. | |
654 */ | |
655 #if defined(FEAT_NORMAL) && defined(FEAT_MENU) \ | |
574 | 656 && (defined(FEAT_GUI_GTK) \ |
7 | 657 || defined(FEAT_GUI_MSWIN) \ |
658 || ((defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_ATHENA)) \ | |
659 && defined(HAVE_XPM)) \ | |
660 || defined(FEAT_GUI_PHOTON)) | |
661 # define FEAT_TOOLBAR | |
662 #endif | |
11 | 663 |
664 | |
7 | 665 #if defined(FEAT_TOOLBAR) && !defined(FEAT_MENU) |
666 # define FEAT_MENU | |
667 #endif | |
668 | |
669 /* | |
685 | 670 * GUI tabline |
671 */ | |
12477
68d7bc045dbe
patch 8.0.1118: FEAT_WINDOWS adds a lot of #ifdefs
Christian Brabandt <cb@256bit.org>
parents:
12212
diff
changeset
|
672 #if defined(FEAT_NORMAL) \ |
844 | 673 && (defined(FEAT_GUI_GTK) \ |
838 | 674 || (defined(FEAT_GUI_MOTIF) && defined(HAVE_XM_NOTEBOOK_H)) \ |
1106 | 675 || defined(FEAT_GUI_MAC) \ |
8140
563c923b1584
commit https://github.com/vim/vim/commit/cf7164a088664961e7d70dd100c5874dc5ceb293
Christian Brabandt <cb@256bit.org>
parents:
8047
diff
changeset
|
676 || (defined(FEAT_GUI_MSWIN) \ |
2250
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2247
diff
changeset
|
677 && (!defined(_MSC_VER) || _MSC_VER > 1020))) |
685 | 678 # define FEAT_GUI_TABLINE |
679 #endif | |
680 | |
681 /* | |
7 | 682 * +browse ":browse" command. |
1733 | 683 * or just the ":browse" command modifier |
7 | 684 */ |
1733 | 685 #if defined(FEAT_NORMAL) |
686 # define FEAT_BROWSE_CMD | |
687 # if defined(FEAT_GUI_MSWIN) || defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_ATHENA) || defined(FEAT_GUI_GTK) || defined(FEAT_GUI_PHOTON) || defined(FEAT_GUI_MAC) | |
688 # define FEAT_BROWSE | |
689 # endif | |
7 | 690 #endif |
691 | |
692 /* | |
4039 | 693 * On some systems, when we compile with the GUI, we always use it. On Mac |
694 * there is no terminal version, and on Windows we can't figure out how to | |
695 * fork one off with :gui. | |
696 */ | |
16451
7ae2396cef62
patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents:
16411
diff
changeset
|
697 #if (defined(FEAT_GUI_MSWIN) && !defined(VIMDLL)) \ |
7ae2396cef62
patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents:
16411
diff
changeset
|
698 || (defined(FEAT_GUI_MAC) && !defined(MACOS_X_DARWIN)) |
4039 | 699 # define ALWAYS_USE_GUI |
700 #endif | |
701 | |
702 /* | |
7 | 703 * +dialog_gui Use GUI dialog. |
704 * +dialog_con May use Console dialog. | |
705 * When none of these defined there is no dialog support. | |
706 */ | |
707 #ifdef FEAT_NORMAL | |
708 # if ((defined(FEAT_GUI_ATHENA) || defined(FEAT_GUI_MOTIF)) \ | |
709 && defined(HAVE_X11_XPM_H)) \ | |
710 || defined(FEAT_GUI_GTK) \ | |
711 || defined(FEAT_GUI_PHOTON) \ | |
712 || defined(FEAT_GUI_MSWIN) \ | |
574 | 713 || defined(FEAT_GUI_MAC) |
7 | 714 # define FEAT_CON_DIALOG |
715 # define FEAT_GUI_DIALOG | |
716 # else | |
717 # define FEAT_CON_DIALOG | |
718 # endif | |
719 #endif | |
720 #if !defined(FEAT_GUI_DIALOG) && (defined(FEAT_GUI_MOTIF) \ | |
2419
f579b934f51d
Fix build warnings and problems for tiny/small Win32 build. (Mike Williams)
Bram Moolenaar <bram@vim.org>
parents:
2378
diff
changeset
|
721 || defined(FEAT_GUI_ATHENA) || defined(FEAT_GUI_GTK) \ |
15868
7fad90423bd2
patch 8.1.0941: macros for MS-Windows are inconsistent
Bram Moolenaar <Bram@vim.org>
parents:
15636
diff
changeset
|
722 || defined(FEAT_GUI_MSWIN)) |
7 | 723 /* need a dialog to show error messages when starting from the desktop */ |
724 # define FEAT_GUI_DIALOG | |
725 #endif | |
726 #if defined(FEAT_GUI_DIALOG) && \ | |
727 (defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_ATHENA) \ | |
574 | 728 || defined(FEAT_GUI_GTK) || defined(FEAT_GUI_MSWIN) \ |
7 | 729 || defined(FEAT_GUI_PHOTON) || defined(FEAT_GUI_MAC)) |
730 # define FEAT_GUI_TEXTDIALOG | |
4039 | 731 # ifndef ALWAYS_USE_GUI |
732 # define FEAT_CON_DIALOG | |
733 # endif | |
7 | 734 #endif |
735 | |
8997
90fd01ade690
commit https://github.com/vim/vim/commit/8e9eb3a6a1e589949f1c878c839528d917fdfc4a
Christian Brabandt <cb@256bit.org>
parents:
8643
diff
changeset
|
736 /* |
9027
773d627cac0b
commit https://github.com/vim/vim/commit/61be73bb0f965a895bfb064ea3e55476ac175162
Christian Brabandt <cb@256bit.org>
parents:
8997
diff
changeset
|
737 * +termguicolors 'termguicolors' option. |
8997
90fd01ade690
commit https://github.com/vim/vim/commit/8e9eb3a6a1e589949f1c878c839528d917fdfc4a
Christian Brabandt <cb@256bit.org>
parents:
8643
diff
changeset
|
738 */ |
90fd01ade690
commit https://github.com/vim/vim/commit/8e9eb3a6a1e589949f1c878c839528d917fdfc4a
Christian Brabandt <cb@256bit.org>
parents:
8643
diff
changeset
|
739 #if (defined(FEAT_BIG) && defined(FEAT_SYN_HL)) && !defined(ALWAYS_USE_GUI) |
9027
773d627cac0b
commit https://github.com/vim/vim/commit/61be73bb0f965a895bfb064ea3e55476ac175162
Christian Brabandt <cb@256bit.org>
parents:
8997
diff
changeset
|
740 # define FEAT_TERMGUICOLORS |
8997
90fd01ade690
commit https://github.com/vim/vim/commit/8e9eb3a6a1e589949f1c878c839528d917fdfc4a
Christian Brabandt <cb@256bit.org>
parents:
8643
diff
changeset
|
741 #endif |
90fd01ade690
commit https://github.com/vim/vim/commit/8e9eb3a6a1e589949f1c878c839528d917fdfc4a
Christian Brabandt <cb@256bit.org>
parents:
8643
diff
changeset
|
742 |
7 | 743 /* Mac specific thing: Codewarrior interface. */ |
744 #ifdef FEAT_GUI_MAC | |
745 # define FEAT_CW_EDITOR | |
746 #endif | |
747 | |
748 /* | |
14175
2ad722003b36
patch 8.1.0105: all tab stops are the same
Christian Brabandt <cb@256bit.org>
parents:
13553
diff
changeset
|
749 * +vartabs 'vartabstop' and 'varsofttabstop' options. |
2ad722003b36
patch 8.1.0105: all tab stops are the same
Christian Brabandt <cb@256bit.org>
parents:
13553
diff
changeset
|
750 */ |
2ad722003b36
patch 8.1.0105: all tab stops are the same
Christian Brabandt <cb@256bit.org>
parents:
13553
diff
changeset
|
751 #ifdef FEAT_BIG |
2ad722003b36
patch 8.1.0105: all tab stops are the same
Christian Brabandt <cb@256bit.org>
parents:
13553
diff
changeset
|
752 # define FEAT_VARTABS |
2ad722003b36
patch 8.1.0105: all tab stops are the same
Christian Brabandt <cb@256bit.org>
parents:
13553
diff
changeset
|
753 #endif |
2ad722003b36
patch 8.1.0105: all tab stops are the same
Christian Brabandt <cb@256bit.org>
parents:
13553
diff
changeset
|
754 |
2ad722003b36
patch 8.1.0105: all tab stops are the same
Christian Brabandt <cb@256bit.org>
parents:
13553
diff
changeset
|
755 /* |
7 | 756 * Preferences: |
757 * ============ | |
758 */ | |
759 | |
760 /* | |
761 * +writebackup 'writebackup' is default on: | |
762 * Use a backup file while overwriting a file. But it's | |
763 * deleted again when 'backup' is not set. Changing this | |
1698 | 764 * is strongly discouraged: You can lose all your |
7 | 765 * changes when the computer crashes while writing the |
766 * file. | |
767 * VMS note: It does work on VMS as well, but because of | |
768 * version handling it does not have any purpose. | |
769 * Overwrite will write to the new version. | |
770 */ | |
771 #ifndef VMS | |
772 # define FEAT_WRITEBACKUP | |
773 #endif | |
774 | |
775 /* | |
776 * +xterm_save The t_ti and t_te entries for the builtin xterm will | |
777 * be set to save the screen when starting Vim and | |
778 * restoring it when exiting. | |
779 */ | |
780 /* #define FEAT_XTERM_SAVE */ | |
781 | |
782 /* | |
783 * DEBUG Output a lot of debugging garbage. | |
784 */ | |
785 /* #define DEBUG */ | |
786 | |
787 /* | |
1972 | 788 * STARTUPTIME Time the startup process. Writes a file with |
789 * timestamps. | |
7 | 790 */ |
1972 | 791 #if defined(FEAT_NORMAL) \ |
792 && ((defined(HAVE_GETTIMEOFDAY) && defined(HAVE_SYS_TIME_H)) \ | |
15868
7fad90423bd2
patch 8.1.0941: macros for MS-Windows are inconsistent
Bram Moolenaar <Bram@vim.org>
parents:
15636
diff
changeset
|
793 || defined(MSWIN)) |
1972 | 794 # define STARTUPTIME 1 |
795 #endif | |
7 | 796 |
797 /* | |
798 * MEM_PROFILE Debugging of memory allocation and freeing. | |
799 */ | |
800 /* #define MEM_PROFILE */ | |
801 | |
802 /* | |
803 * VIMRC_FILE Name of the .vimrc file in current dir. | |
804 */ | |
805 /* #define VIMRC_FILE ".vimrc" */ | |
806 | |
807 /* | |
808 * EXRC_FILE Name of the .exrc file in current dir. | |
809 */ | |
810 /* #define EXRC_FILE ".exrc" */ | |
811 | |
812 /* | |
813 * GVIMRC_FILE Name of the .gvimrc file in current dir. | |
814 */ | |
815 /* #define GVIMRC_FILE ".gvimrc" */ | |
816 | |
817 /* | |
818 * SESSION_FILE Name of the default ":mksession" file. | |
819 */ | |
820 #define SESSION_FILE "Session.vim" | |
821 | |
822 /* | |
823 * USR_VIMRC_FILE Name of the user .vimrc file. | |
824 * USR_VIMRC_FILE2 Name of alternate user .vimrc file. | |
825 * USR_VIMRC_FILE3 Name of alternate user .vimrc file. | |
826 */ | |
827 /* #define USR_VIMRC_FILE "~/foo/.vimrc" */ | |
828 /* #define USR_VIMRC_FILE2 "~/bar/.vimrc" */ | |
829 /* #define USR_VIMRC_FILE3 "$VIM/.vimrc" */ | |
830 | |
831 /* | |
9669
284b4eb307fc
commit https://github.com/vim/vim/commit/8c08b5b569e2a9e9f63dea514591ecfa2d3bb392
Christian Brabandt <cb@256bit.org>
parents:
9536
diff
changeset
|
832 * VIM_DEFAULTS_FILE Name of the defaults.vim script file |
284b4eb307fc
commit https://github.com/vim/vim/commit/8c08b5b569e2a9e9f63dea514591ecfa2d3bb392
Christian Brabandt <cb@256bit.org>
parents:
9536
diff
changeset
|
833 */ |
284b4eb307fc
commit https://github.com/vim/vim/commit/8c08b5b569e2a9e9f63dea514591ecfa2d3bb392
Christian Brabandt <cb@256bit.org>
parents:
9536
diff
changeset
|
834 /* #define VIM_DEFAULTS_FILE "$VIMRUNTIME/defaults.vim" */ |
284b4eb307fc
commit https://github.com/vim/vim/commit/8c08b5b569e2a9e9f63dea514591ecfa2d3bb392
Christian Brabandt <cb@256bit.org>
parents:
9536
diff
changeset
|
835 |
284b4eb307fc
commit https://github.com/vim/vim/commit/8c08b5b569e2a9e9f63dea514591ecfa2d3bb392
Christian Brabandt <cb@256bit.org>
parents:
9536
diff
changeset
|
836 /* |
7 | 837 * EVIM_FILE Name of the evim.vim script file |
838 */ | |
839 /* #define EVIM_FILE "$VIMRUNTIME/evim.vim" */ | |
840 | |
841 /* | |
842 * USR_EXRC_FILE Name of the user .exrc file. | |
843 * USR_EXRC_FILE2 Name of the alternate user .exrc file. | |
844 */ | |
845 /* #define USR_EXRC_FILE "~/foo/.exrc" */ | |
846 /* #define USR_EXRC_FILE2 "~/bar/.exrc" */ | |
847 | |
848 /* | |
849 * USR_GVIMRC_FILE Name of the user .gvimrc file. | |
850 * USR_GVIMRC_FILE2 Name of the alternate user .gvimrc file. | |
851 */ | |
852 /* #define USR_GVIMRC_FILE "~/foo/.gvimrc" */ | |
853 /* #define USR_GVIMRC_FILE2 "~/bar/.gvimrc" */ | |
854 /* #define USR_GVIMRC_FILE3 "$VIM/.gvimrc" */ | |
855 | |
856 /* | |
857 * SYS_VIMRC_FILE Name of the system-wide .vimrc file. | |
858 */ | |
859 /* #define SYS_VIMRC_FILE "/etc/vimrc" */ | |
860 | |
861 /* | |
862 * SYS_GVIMRC_FILE Name of the system-wide .gvimrc file. | |
863 */ | |
864 /* #define SYS_GVIMRC_FILE "/etc/gvimrc" */ | |
865 | |
866 /* | |
867 * DFLT_HELPFILE Name of the help file. | |
868 */ | |
869 /* # define DFLT_HELPFILE "$VIMRUNTIME/doc/help.txt.gz" */ | |
870 | |
871 /* | |
872 * File names for: | |
873 * FILETYPE_FILE switch on file type detection | |
874 * FTPLUGIN_FILE switch on loading filetype plugin files | |
875 * INDENT_FILE switch on loading indent files | |
876 * FTOFF_FILE switch off file type detection | |
877 * FTPLUGOF_FILE switch off loading settings files | |
878 * INDOFF_FILE switch off loading indent files | |
879 */ | |
880 /* # define FILETYPE_FILE "filetype.vim" */ | |
881 /* # define FTPLUGIN_FILE "ftplugin.vim" */ | |
882 /* # define INDENT_FILE "indent.vim" */ | |
883 /* # define FTOFF_FILE "ftoff.vim" */ | |
884 /* # define FTPLUGOF_FILE "ftplugof.vim" */ | |
885 /* # define INDOFF_FILE "indoff.vim" */ | |
886 | |
887 /* | |
888 * SYS_MENU_FILE Name of the default menu.vim file. | |
889 */ | |
890 /* # define SYS_MENU_FILE "$VIMRUNTIME/menu.vim" */ | |
891 | |
892 /* | |
893 * SYS_OPTWIN_FILE Name of the default optwin.vim file. | |
894 */ | |
895 #ifndef SYS_OPTWIN_FILE | |
896 # define SYS_OPTWIN_FILE "$VIMRUNTIME/optwin.vim" | |
897 #endif | |
898 | |
899 /* | |
900 * SYNTAX_FNAME Name of a syntax file, where %s is the syntax name. | |
901 */ | |
902 /* #define SYNTAX_FNAME "/foo/%s.vim" */ | |
903 | |
904 /* | |
905 * RUNTIME_DIRNAME Generic name for the directory of the runtime files. | |
906 */ | |
907 #ifndef RUNTIME_DIRNAME | |
908 # define RUNTIME_DIRNAME "runtime" | |
909 #endif | |
910 | |
911 /* | |
15205
54d2905bd5ab
patch 8.1.0612: cannot use two global runtime dirs with configure
Bram Moolenaar <Bram@vim.org>
parents:
15144
diff
changeset
|
912 * RUNTIME_GLOBAL Comma-separated list of directory names for global Vim |
54d2905bd5ab
patch 8.1.0612: cannot use two global runtime dirs with configure
Bram Moolenaar <Bram@vim.org>
parents:
15144
diff
changeset
|
913 * runtime directories. |
7 | 914 * Don't define this if the preprocessor can't handle |
915 * string concatenation. | |
916 * Also set by "--with-global-runtime" configure argument. | |
917 */ | |
918 /* #define RUNTIME_GLOBAL "/etc/vim" */ | |
919 | |
920 /* | |
15205
54d2905bd5ab
patch 8.1.0612: cannot use two global runtime dirs with configure
Bram Moolenaar <Bram@vim.org>
parents:
15144
diff
changeset
|
921 * RUNTIME_GLOBAL_AFTER Comma-separated list of directory names for global Vim |
54d2905bd5ab
patch 8.1.0612: cannot use two global runtime dirs with configure
Bram Moolenaar <Bram@vim.org>
parents:
15144
diff
changeset
|
922 * runtime after directories. |
54d2905bd5ab
patch 8.1.0612: cannot use two global runtime dirs with configure
Bram Moolenaar <Bram@vim.org>
parents:
15144
diff
changeset
|
923 * Don't define this if the preprocessor can't handle |
54d2905bd5ab
patch 8.1.0612: cannot use two global runtime dirs with configure
Bram Moolenaar <Bram@vim.org>
parents:
15144
diff
changeset
|
924 * string concatenation. |
54d2905bd5ab
patch 8.1.0612: cannot use two global runtime dirs with configure
Bram Moolenaar <Bram@vim.org>
parents:
15144
diff
changeset
|
925 * Also set by "--with-global-runtime" configure argument. |
54d2905bd5ab
patch 8.1.0612: cannot use two global runtime dirs with configure
Bram Moolenaar <Bram@vim.org>
parents:
15144
diff
changeset
|
926 */ |
54d2905bd5ab
patch 8.1.0612: cannot use two global runtime dirs with configure
Bram Moolenaar <Bram@vim.org>
parents:
15144
diff
changeset
|
927 /* #define RUNTIME_GLOBAL_AFTER "/etc/vim/after" */ |
54d2905bd5ab
patch 8.1.0612: cannot use two global runtime dirs with configure
Bram Moolenaar <Bram@vim.org>
parents:
15144
diff
changeset
|
928 |
54d2905bd5ab
patch 8.1.0612: cannot use two global runtime dirs with configure
Bram Moolenaar <Bram@vim.org>
parents:
15144
diff
changeset
|
929 /* |
7 | 930 * MODIFIED_BY Name of who modified Vim. Required when distributing |
4352 | 931 * a modified version of Vim. |
7 | 932 * Also from the "--with-modified-by" configure argument. |
933 */ | |
934 /* #define MODIFIED_BY "John Doe" */ | |
935 | |
936 /* | |
937 * Machine dependent: | |
938 * ================== | |
939 */ | |
940 | |
941 /* | |
942 * +fork Unix only: fork() support (detected by configure) | |
943 * +system Use system() instead of fork/exec for starting a | |
944 * shell. Doesn't work for the GUI! | |
945 */ | |
946 /* #define USE_SYSTEM */ | |
947 | |
948 /* | |
949 * +X11 Unix only. Include code for xterm title saving and X | |
950 * clipboard. Only works if HAVE_X11 is also defined. | |
951 */ | |
11 | 952 #if (defined(FEAT_NORMAL) || defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_ATHENA)) |
7 | 953 # define WANT_X11 |
954 #endif | |
955 | |
956 /* | |
957 * XSMP - X11 Session Management Protocol | |
958 * It may be preferred to disable this if the GUI supports it (e.g., | |
959 * GNOME/KDE) and implement save-yourself etc. through that, but it may also | |
960 * be cleaner to have all SM-aware vims do the same thing (libSM does not | |
961 * depend upon X11). | |
962 * If your GUI wants to support SM itself, change this ifdef. | |
963 * I'm assuming that any X11 implementation will cope with this for now. | |
964 */ | |
965 #if defined(HAVE_X11) && defined(WANT_X11) && defined(HAVE_X11_SM_SMLIB_H) | |
966 # define USE_XSMP | |
967 #endif | |
968 #if defined(USE_XSMP_INTERACT) && !defined(USE_XSMP) | |
969 # undef USE_XSMP_INTERACT | |
970 #endif | |
971 | |
972 /* | |
973 * +mouse_xterm Unix only: Include code for xterm mouse handling. | |
974 * +mouse_dec idem, for Dec mouse handling. | |
975 * +mouse_jsbterm idem, for Jsbterm mouse handling. | |
976 * +mouse_netterm idem, for Netterm mouse handling. | |
977 * (none) MS-DOS mouse support. | |
978 * +mouse_gpm Unix only: Include code for Linux console mouse | |
979 * handling. | |
980 * +mouse_pterm PTerm mouse support for QNX | |
3887 | 981 * +mouse_sgr Unix only: Include code for for SGR-styled mouse. |
1620 | 982 * +mouse_sysmouse Unix only: Include code for FreeBSD and DragonFly |
983 * console mouse handling. | |
3887 | 984 * +mouse_urxvt Unix only: Include code for for urxvt mosue handling. |
7 | 985 * +mouse Any mouse support (any of the above enabled). |
986 */ | |
987 /* OS/2 and Amiga console have no mouse support */ | |
7408
1886f2863437
commit https://github.com/vim/vim/commit/e7fedb6ebe72d9a475aa65109b77d5ed4667067a
Christian Brabandt <cb@256bit.org>
parents:
7208
diff
changeset
|
988 #if !defined(AMIGA) |
7 | 989 # ifdef FEAT_NORMAL |
990 # define FEAT_MOUSE_XTERM | |
991 # endif | |
992 # ifdef FEAT_BIG | |
993 # define FEAT_MOUSE_NET | |
994 # endif | |
995 # ifdef FEAT_BIG | |
996 # define FEAT_MOUSE_DEC | |
997 # endif | |
3145 | 998 # ifdef FEAT_BIG |
999 # define FEAT_MOUSE_URXVT | |
1000 # endif | |
15868
7fad90423bd2
patch 8.1.0941: macros for MS-Windows are inconsistent
Bram Moolenaar <Bram@vim.org>
parents:
15636
diff
changeset
|
1001 # if defined(FEAT_NORMAL) && defined(MSWIN) |
7 | 1002 # define DOS_MOUSE |
1003 # endif | |
1004 # if defined(FEAT_NORMAL) && defined(__QNX__) | |
1005 # define FEAT_MOUSE_PTERM | |
1006 # endif | |
1007 #endif | |
1008 | |
4301 | 1009 /* |
1010 * Note: Only one of the following may be defined: | |
1011 * FEAT_MOUSE_GPM | |
1012 * FEAT_SYSMOUSE | |
1013 * FEAT_MOUSE_JSB | |
1014 * FEAT_MOUSE_PTERM | |
1015 */ | |
7 | 1016 #if defined(FEAT_NORMAL) && defined(HAVE_GPM) |
1017 # define FEAT_MOUSE_GPM | |
1018 #endif | |
1620 | 1019 |
1020 #if defined(FEAT_NORMAL) && defined(HAVE_SYSMOUSE) | |
1021 # define FEAT_SYSMOUSE | |
1022 #endif | |
3145 | 1023 |
1024 /* urxvt is a small variation of mouse_xterm, and shares its code */ | |
1025 #if defined(FEAT_MOUSE_URXVT) && !defined(FEAT_MOUSE_XTERM) | |
1026 # define FEAT_MOUSE_XTERM | |
1027 #endif | |
1028 | |
7 | 1029 /* Define FEAT_MOUSE when any of the above is defined or FEAT_GUI. */ |
1620 | 1030 #if !defined(FEAT_MOUSE_TTY) \ |
1031 && (defined(FEAT_MOUSE_XTERM) \ | |
3145 | 1032 || defined(FEAT_MOUSE_NET) \ |
1033 || defined(FEAT_MOUSE_DEC) \ | |
1034 || defined(DOS_MOUSE) \ | |
1035 || defined(FEAT_MOUSE_GPM) \ | |
1036 || defined(FEAT_MOUSE_JSB) \ | |
1037 || defined(FEAT_MOUSE_PTERM) \ | |
1038 || defined(FEAT_SYSMOUSE) \ | |
16058
012f03e583e2
patch 8.1.1034: too many #ifdefs
Bram Moolenaar <Bram@vim.org>
parents:
15872
diff
changeset
|
1039 || defined(FEAT_MOUSE_URXVT)) |
7 | 1040 # define FEAT_MOUSE_TTY /* include non-GUI mouse support */ |
1041 #endif | |
1042 #if !defined(FEAT_MOUSE) && (defined(FEAT_MOUSE_TTY) || defined(FEAT_GUI)) | |
1043 # define FEAT_MOUSE /* include generic mouse support */ | |
1044 #endif | |
1045 | |
1046 /* | |
1047 * +clipboard Clipboard support. Always used for the GUI. | |
1048 * +xterm_clipboard Unix only: Include code for handling the clipboard | |
1049 * in an xterm like in the GUI. | |
1050 */ | |
4168 | 1051 |
1052 #ifdef FEAT_CYGWIN_WIN32_CLIPBOARD | |
1053 # define FEAT_CLIPBOARD | |
1054 #endif | |
1055 | |
7 | 1056 #ifdef FEAT_GUI |
1057 # ifndef FEAT_CLIPBOARD | |
1058 # define FEAT_CLIPBOARD | |
1059 # endif | |
1060 #endif | |
1061 | |
5735 | 1062 #if defined(FEAT_NORMAL) \ |
7 | 1063 && (defined(UNIX) || defined(VMS)) \ |
1064 && defined(WANT_X11) && defined(HAVE_X11) | |
1065 # define FEAT_XCLIPBOARD | |
1066 # ifndef FEAT_CLIPBOARD | |
1067 # define FEAT_CLIPBOARD | |
1068 # endif | |
1069 #endif | |
1070 | |
1071 /* | |
1072 * +dnd Drag'n'drop support. Always used for the GTK+ GUI. | |
1073 */ | |
1074 #if defined(FEAT_CLIPBOARD) && defined(FEAT_GUI_GTK) | |
1075 # define FEAT_DND | |
1076 #endif | |
1077 | |
1078 #if defined(FEAT_GUI_MSWIN) && defined(FEAT_SMALL) | |
1079 # define MSWIN_FIND_REPLACE /* include code for find/replace dialog */ | |
1080 # define MSWIN_FR_BUFSIZE 256 | |
1081 #endif | |
1082 | |
29 | 1083 #if defined(FEAT_GUI_GTK) || defined(FEAT_GUI_MOTIF) \ |
574 | 1084 || defined(MSWIN_FIND_REPLACE) |
29 | 1085 # define FIND_REPLACE_DIALOG 1 |
1086 #endif | |
1087 | |
7 | 1088 /* |
1089 * +clientserver Remote control via the remote_send() function | |
1090 * and the --remote argument | |
1091 */ | |
15868
7fad90423bd2
patch 8.1.0941: macros for MS-Windows are inconsistent
Bram Moolenaar <Bram@vim.org>
parents:
15636
diff
changeset
|
1092 #if (defined(MSWIN) || defined(FEAT_XCLIPBOARD)) && defined(FEAT_EVAL) |
7 | 1093 # define FEAT_CLIENTSERVER |
1094 #endif | |
1095 | |
1096 /* | |
12837
963cdeb42c41
patch 8.0.1295: cannot automatically get a server name in a terminal
Christian Brabandt <cb@256bit.org>
parents:
12716
diff
changeset
|
1097 * +autoservername Automatically generate a servername for clientserver |
963cdeb42c41
patch 8.0.1295: cannot automatically get a server name in a terminal
Christian Brabandt <cb@256bit.org>
parents:
12716
diff
changeset
|
1098 * when --servername is not passed on the command line. |
963cdeb42c41
patch 8.0.1295: cannot automatically get a server name in a terminal
Christian Brabandt <cb@256bit.org>
parents:
12716
diff
changeset
|
1099 */ |
963cdeb42c41
patch 8.0.1295: cannot automatically get a server name in a terminal
Christian Brabandt <cb@256bit.org>
parents:
12716
diff
changeset
|
1100 #if defined(FEAT_CLIENTSERVER) && !defined(FEAT_AUTOSERVERNAME) |
15868
7fad90423bd2
patch 8.1.0941: macros for MS-Windows are inconsistent
Bram Moolenaar <Bram@vim.org>
parents:
15636
diff
changeset
|
1101 # ifdef MSWIN |
12841
174e0c952b46
patch 8.0.1297: +autoservername does not show enabled on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12837
diff
changeset
|
1102 /* Always enabled on MS-Windows. */ |
174e0c952b46
patch 8.0.1297: +autoservername does not show enabled on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12837
diff
changeset
|
1103 # define FEAT_AUTOSERVERNAME |
174e0c952b46
patch 8.0.1297: +autoservername does not show enabled on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12837
diff
changeset
|
1104 # else |
174e0c952b46
patch 8.0.1297: +autoservername does not show enabled on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12837
diff
changeset
|
1105 /* Enable here if you don't use configure. */ |
12837
963cdeb42c41
patch 8.0.1295: cannot automatically get a server name in a terminal
Christian Brabandt <cb@256bit.org>
parents:
12716
diff
changeset
|
1106 /* # define FEAT_AUTOSERVERNAME */ |
12841
174e0c952b46
patch 8.0.1297: +autoservername does not show enabled on MS-Windows
Christian Brabandt <cb@256bit.org>
parents:
12837
diff
changeset
|
1107 # endif |
12837
963cdeb42c41
patch 8.0.1295: cannot automatically get a server name in a terminal
Christian Brabandt <cb@256bit.org>
parents:
12716
diff
changeset
|
1108 #endif |
963cdeb42c41
patch 8.0.1295: cannot automatically get a server name in a terminal
Christian Brabandt <cb@256bit.org>
parents:
12716
diff
changeset
|
1109 |
963cdeb42c41
patch 8.0.1295: cannot automatically get a server name in a terminal
Christian Brabandt <cb@256bit.org>
parents:
12716
diff
changeset
|
1110 /* |
7 | 1111 * +termresponse send t_RV to obtain terminal response. Used for xterm |
1112 * to check if mouse dragging can be used and if term | |
1204 | 1113 * codes can be obtained. |
7 | 1114 */ |
1115 #if (defined(FEAT_NORMAL) || defined(FEAT_MOUSE)) && defined(HAVE_TGETENT) | |
1116 # define FEAT_TERMRESPONSE | |
1117 #endif | |
1118 | |
1119 /* | |
1120 * cursor shape Adjust the shape of the cursor to the mode. | |
1121 * mouse shape Adjust the shape of the mouse pointer to the mode. | |
1122 */ | |
1123 #ifdef FEAT_NORMAL | |
16451
7ae2396cef62
patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents:
16411
diff
changeset
|
1124 // Win32 console can change cursor shape |
7ae2396cef62
patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents:
16411
diff
changeset
|
1125 # if defined(MSWIN) && (!defined(FEAT_GUI_MSWIN) || defined(VIMDLL)) |
7 | 1126 # define MCH_CURSOR_SHAPE |
1127 # endif | |
15868
7fad90423bd2
patch 8.1.0941: macros for MS-Windows are inconsistent
Bram Moolenaar <Bram@vim.org>
parents:
15636
diff
changeset
|
1128 # if defined(FEAT_GUI_MSWIN) || defined(FEAT_GUI_MOTIF) \ |
574 | 1129 || defined(FEAT_GUI_ATHENA) || defined(FEAT_GUI_GTK) \ |
7 | 1130 || defined(FEAT_GUI_PHOTON) |
1131 # define FEAT_MOUSESHAPE | |
1132 # endif | |
1133 #endif | |
1134 | |
1135 /* GUI and some consoles can change the shape of the cursor. The code is also | |
2378
85b7dc8da5eb
Add the 'concealcursor' option to decide when the cursor line is to be
Bram Moolenaar <bram@vim.org>
parents:
2330
diff
changeset
|
1136 * needed for the 'mouseshape' and 'concealcursor' options. */ |
85b7dc8da5eb
Add the 'concealcursor' option to decide when the cursor line is to be
Bram Moolenaar <bram@vim.org>
parents:
2330
diff
changeset
|
1137 #if defined(FEAT_GUI) \ |
85b7dc8da5eb
Add the 'concealcursor' option to decide when the cursor line is to be
Bram Moolenaar <bram@vim.org>
parents:
2330
diff
changeset
|
1138 || defined(MCH_CURSOR_SHAPE) \ |
85b7dc8da5eb
Add the 'concealcursor' option to decide when the cursor line is to be
Bram Moolenaar <bram@vim.org>
parents:
2330
diff
changeset
|
1139 || defined(FEAT_MOUSESHAPE) \ |
85b7dc8da5eb
Add the 'concealcursor' option to decide when the cursor line is to be
Bram Moolenaar <bram@vim.org>
parents:
2330
diff
changeset
|
1140 || defined(FEAT_CONCEAL) \ |
500 | 1141 || (defined(UNIX) && defined(FEAT_NORMAL)) |
7 | 1142 # define CURSOR_SHAPE |
1143 #endif | |
1144 | |
15868
7fad90423bd2
patch 8.1.0941: macros for MS-Windows are inconsistent
Bram Moolenaar <Bram@vim.org>
parents:
15636
diff
changeset
|
1145 #if defined(FEAT_MZSCHEME) && (defined(FEAT_GUI_MSWIN) || defined(FEAT_GUI_GTK) \ |
16 | 1146 || defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_ATHENA) \ |
574 | 1147 || defined(FEAT_GUI_MAC)) |
16 | 1148 # define MZSCHEME_GUI_THREADS |
1149 #endif | |
1150 | |
7 | 1151 /* |
1152 * +ARP Amiga only. Use arp.library, DOS 2.0 is not required. | |
1153 */ | |
1030 | 1154 #if !defined(NO_ARP) && !defined(__amigaos4__) |
7 | 1155 # define FEAT_ARP |
1156 #endif | |
1157 | |
1158 /* | |
1159 * +GUI_Athena To compile Vim with or without the GUI (gvim) you have | |
303 | 1160 * +GUI_Motif to edit the Makefile. |
7 | 1161 */ |
1162 | |
1163 /* | |
1164 * +ole Win32 OLE automation: Use Makefile.ovc. | |
1165 */ | |
1166 | |
1167 /* | |
1168 * These features can only be included by using a configure argument. See the | |
1169 * Makefile for a line to uncomment. | |
2330 | 1170 * +lua Lua interface: "--enable-luainterp" |
14 | 1171 * +mzscheme MzScheme interface: "--enable-mzscheme" |
7 | 1172 * +perl Perl interface: "--enable-perlinterp" |
1173 * +python Python interface: "--enable-pythoninterp" | |
1174 * +tcl TCL interface: "--enable-tclinterp" | |
1175 * +netbeans_intg Netbeans integration | |
7743
6069f43cea4e
commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents:
7693
diff
changeset
|
1176 * +channel Inter process communication |
7 | 1177 */ |
1178 | |
1179 /* | |
1180 * These features are automatically detected: | |
1181 * +terminfo | |
1182 * +tgetent | |
1183 */ | |
1184 | |
1185 /* | |
13553
04019fc3de93
patch 8.0.1650: too many #ifdefs
Christian Brabandt <cb@256bit.org>
parents:
13422
diff
changeset
|
1186 * The Netbeans feature requires +eval. |
7 | 1187 */ |
13553
04019fc3de93
patch 8.0.1650: too many #ifdefs
Christian Brabandt <cb@256bit.org>
parents:
13422
diff
changeset
|
1188 #if !defined(FEAT_EVAL) && defined(FEAT_NETBEANS_INTG) |
7 | 1189 # undef FEAT_NETBEANS_INTG |
1190 #endif | |
1191 | |
1192 /* | |
7957
b74549818500
commit https://github.com/vim/vim/commit/835dc636a5350f610b62f110227d2363b5b2880a
Christian Brabandt <cb@256bit.org>
parents:
7850
diff
changeset
|
1193 * The +channel feature requires +eval. |
7743
6069f43cea4e
commit https://github.com/vim/vim/commit/e0874f8cbcddfcf9965a85ba35199964efb1d01a
Christian Brabandt <cb@256bit.org>
parents:
7693
diff
changeset
|
1194 */ |
8493
caed4b2d305f
commit https://github.com/vim/vim/commit/509ce2a558e7e0c03242e32e844255af52f1c821
Christian Brabandt <cb@256bit.org>
parents:
8281
diff
changeset
|
1195 #if !defined(FEAT_EVAL) && defined(FEAT_JOB_CHANNEL) |
caed4b2d305f
commit https://github.com/vim/vim/commit/509ce2a558e7e0c03242e32e844255af52f1c821
Christian Brabandt <cb@256bit.org>
parents:
8281
diff
changeset
|
1196 # undef FEAT_JOB_CHANNEL |
7957
b74549818500
commit https://github.com/vim/vim/commit/835dc636a5350f610b62f110227d2363b5b2880a
Christian Brabandt <cb@256bit.org>
parents:
7850
diff
changeset
|
1197 #endif |
b74549818500
commit https://github.com/vim/vim/commit/835dc636a5350f610b62f110227d2363b5b2880a
Christian Brabandt <cb@256bit.org>
parents:
7850
diff
changeset
|
1198 |
b74549818500
commit https://github.com/vim/vim/commit/835dc636a5350f610b62f110227d2363b5b2880a
Christian Brabandt <cb@256bit.org>
parents:
7850
diff
changeset
|
1199 /* |
11621
b8299e742f41
patch 8.0.0693: no terminal emulator support
Christian Brabandt <cb@256bit.org>
parents:
10134
diff
changeset
|
1200 * +terminal ":terminal" command. Runs a terminal in a window. |
15450
bb421f682528
patch 8.1.0733: too many #ifdefs for the multi-byte feature
Bram Moolenaar <Bram@vim.org>
parents:
15422
diff
changeset
|
1201 * requires +channel |
11621
b8299e742f41
patch 8.0.0693: no terminal emulator support
Christian Brabandt <cb@256bit.org>
parents:
10134
diff
changeset
|
1202 */ |
15450
bb421f682528
patch 8.1.0733: too many #ifdefs for the multi-byte feature
Bram Moolenaar <Bram@vim.org>
parents:
15422
diff
changeset
|
1203 #if defined(FEAT_TERMINAL) && !defined(FEAT_JOB_CHANNEL) |
11621
b8299e742f41
patch 8.0.0693: no terminal emulator support
Christian Brabandt <cb@256bit.org>
parents:
10134
diff
changeset
|
1204 # undef FEAT_TERMINAL |
b8299e742f41
patch 8.0.0693: no terminal emulator support
Christian Brabandt <cb@256bit.org>
parents:
10134
diff
changeset
|
1205 #endif |
12076
ca4931a20f8c
patch 8.0.0918: cannot get terminal window cursor shape or attributes
Christian Brabandt <cb@256bit.org>
parents:
11621
diff
changeset
|
1206 #if defined(FEAT_TERMINAL) && !defined(CURSOR_SHAPE) |
ca4931a20f8c
patch 8.0.0918: cannot get terminal window cursor shape or attributes
Christian Brabandt <cb@256bit.org>
parents:
11621
diff
changeset
|
1207 # define CURSOR_SHAPE |
ca4931a20f8c
patch 8.0.0918: cannot get terminal window cursor shape or attributes
Christian Brabandt <cb@256bit.org>
parents:
11621
diff
changeset
|
1208 #endif |
11621
b8299e742f41
patch 8.0.0693: no terminal emulator support
Christian Brabandt <cb@256bit.org>
parents:
10134
diff
changeset
|
1209 |
b8299e742f41
patch 8.0.0693: no terminal emulator support
Christian Brabandt <cb@256bit.org>
parents:
10134
diff
changeset
|
1210 /* |
7 | 1211 * +signs Allow signs to be displayed to the left of text lines. |
1212 * Adds the ":sign" command. | |
1213 */ | |
17446
dcc4120f8412
patch 8.1.1721: build failure with normal features without netbeans interface
Bram Moolenaar <Bram@vim.org>
parents:
17059
diff
changeset
|
1214 #if defined(FEAT_BIG) || defined(FEAT_NETBEANS_INTG) || defined(FEAT_TEXT_PROP) |
7 | 1215 # define FEAT_SIGNS |
1216 # if ((defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_ATHENA)) \ | |
1217 && defined(HAVE_X11_XPM_H)) \ | |
1218 || defined(FEAT_GUI_GTK) \ | |
15868
7fad90423bd2
patch 8.1.0941: macros for MS-Windows are inconsistent
Bram Moolenaar <Bram@vim.org>
parents:
15636
diff
changeset
|
1219 || (defined(MSWIN) && defined(FEAT_GUI)) |
7 | 1220 # define FEAT_SIGN_ICONS |
1221 # endif | |
1222 #endif | |
1223 | |
1224 /* | |
1225 * +balloon_eval Allow balloon expression evaluation. Used with a | |
1226 * debugger and for tooltips. | |
1227 * Only for GUIs where it was implemented. | |
1228 */ | |
1229 #if (defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_ATHENA) \ | |
15868
7fad90423bd2
patch 8.1.0941: macros for MS-Windows are inconsistent
Bram Moolenaar <Bram@vim.org>
parents:
15636
diff
changeset
|
1230 || defined(FEAT_GUI_GTK) || defined(FEAT_GUI_MSWIN)) \ |
844 | 1231 && ( ((defined(FEAT_TOOLBAR) || defined(FEAT_GUI_TABLINE)) \ |
15868
7fad90423bd2
patch 8.1.0941: macros for MS-Windows are inconsistent
Bram Moolenaar <Bram@vim.org>
parents:
15636
diff
changeset
|
1232 && !defined(FEAT_GUI_GTK) && !defined(FEAT_GUI_MSWIN)) \ |
188 | 1233 || defined(FEAT_NETBEANS_INTG) || defined(FEAT_EVAL)) |
12871
1a450ce6980c
patch 8.0.1312: balloon_show() only works in terminal when compiled with GUI
Christian Brabandt <cb@256bit.org>
parents:
12865
diff
changeset
|
1234 # define FEAT_BEVAL_GUI |
7 | 1235 # if !defined(FEAT_XFONTSET) && !defined(FEAT_GUI_GTK) \ |
15868
7fad90423bd2
patch 8.1.0941: macros for MS-Windows are inconsistent
Bram Moolenaar <Bram@vim.org>
parents:
15636
diff
changeset
|
1236 && !defined(FEAT_GUI_MSWIN) |
7 | 1237 # define FEAT_XFONTSET |
1238 # endif | |
1239 #endif | |
1240 | |
12871
1a450ce6980c
patch 8.0.1312: balloon_show() only works in terminal when compiled with GUI
Christian Brabandt <cb@256bit.org>
parents:
12865
diff
changeset
|
1241 #if defined(FEAT_BEVAL_GUI) && (defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_ATHENA)) |
7 | 1242 # define FEAT_BEVAL_TIP /* balloon eval used for toolbar tooltip */ |
1243 #endif | |
1244 | |
12865
ebb4f6c93598
patch 8.0.1309: cannot use 'balloonexpr' in a terminal
Christian Brabandt <cb@256bit.org>
parents:
12841
diff
changeset
|
1245 /* |
ebb4f6c93598
patch 8.0.1309: cannot use 'balloonexpr' in a terminal
Christian Brabandt <cb@256bit.org>
parents:
12841
diff
changeset
|
1246 * +balloon_eval_term Allow balloon expression evaluation in the terminal. |
ebb4f6c93598
patch 8.0.1309: cannot use 'balloonexpr' in a terminal
Christian Brabandt <cb@256bit.org>
parents:
12841
diff
changeset
|
1247 */ |
13422
6dbf1e9ebd1f
patch 8.0.1585: enabling beval_term feature in Win32 GUI
Christian Brabandt <cb@256bit.org>
parents:
13416
diff
changeset
|
1248 #if defined(FEAT_HUGE) && defined(FEAT_TIMERS) && \ |
16451
7ae2396cef62
patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents:
16411
diff
changeset
|
1249 (defined(UNIX) || defined(VMS) || \ |
7ae2396cef62
patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents:
16411
diff
changeset
|
1250 (defined(MSWIN) && (!defined(FEAT_GUI_MSWIN) || defined(VIMDLL)))) |
12871
1a450ce6980c
patch 8.0.1312: balloon_show() only works in terminal when compiled with GUI
Christian Brabandt <cb@256bit.org>
parents:
12865
diff
changeset
|
1251 # define FEAT_BEVAL_TERM |
1a450ce6980c
patch 8.0.1312: balloon_show() only works in terminal when compiled with GUI
Christian Brabandt <cb@256bit.org>
parents:
12865
diff
changeset
|
1252 #endif |
1a450ce6980c
patch 8.0.1312: balloon_show() only works in terminal when compiled with GUI
Christian Brabandt <cb@256bit.org>
parents:
12865
diff
changeset
|
1253 |
1a450ce6980c
patch 8.0.1312: balloon_show() only works in terminal when compiled with GUI
Christian Brabandt <cb@256bit.org>
parents:
12865
diff
changeset
|
1254 #if defined(FEAT_BEVAL_GUI) || defined(FEAT_BEVAL_TERM) |
1a450ce6980c
patch 8.0.1312: balloon_show() only works in terminal when compiled with GUI
Christian Brabandt <cb@256bit.org>
parents:
12865
diff
changeset
|
1255 # define FEAT_BEVAL |
12865
ebb4f6c93598
patch 8.0.1309: cannot use 'balloonexpr' in a terminal
Christian Brabandt <cb@256bit.org>
parents:
12841
diff
changeset
|
1256 #endif |
ebb4f6c93598
patch 8.0.1309: cannot use 'balloonexpr' in a terminal
Christian Brabandt <cb@256bit.org>
parents:
12841
diff
changeset
|
1257 |
692 | 1258 /* both Motif and Athena are X11 and share some code */ |
1259 #if defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_ATHENA) | |
1260 # define FEAT_GUI_X11 | |
1261 #endif | |
1262 | |
15510
41fbbcea0f1b
patch 8.1.0763: nobody is using the Sun Workshop support
Bram Moolenaar <Bram@vim.org>
parents:
15450
diff
changeset
|
1263 #if defined(FEAT_NETBEANS_INTG) |
41fbbcea0f1b
patch 8.1.0763: nobody is using the Sun Workshop support
Bram Moolenaar <Bram@vim.org>
parents:
15450
diff
changeset
|
1264 // NetBeans uses menus. |
7 | 1265 # if !defined(FEAT_MENU) |
1266 # define FEAT_MENU | |
1267 # endif | |
1268 #endif | |
1269 | |
15510
41fbbcea0f1b
patch 8.1.0763: nobody is using the Sun Workshop support
Bram Moolenaar <Bram@vim.org>
parents:
15450
diff
changeset
|
1270 #if 0 |
7 | 1271 /* |
1272 * +footer Motif only: Add a message area at the bottom of the | |
1273 * main window area. | |
1274 */ | |
1275 # define FEAT_FOOTER | |
1276 #endif | |
820 | 1277 |
1278 /* | |
1279 * +autochdir 'autochdir' option. | |
1280 */ | |
15510
41fbbcea0f1b
patch 8.1.0763: nobody is using the Sun Workshop support
Bram Moolenaar <Bram@vim.org>
parents:
15450
diff
changeset
|
1281 #if defined(FEAT_NETBEANS_INTG) || defined(FEAT_BIG) |
820 | 1282 # define FEAT_AUTOCHDIR |
1283 #endif | |
2214
f8222d1f9a73
Included patch for persistent undo. Lots of changes and added test.
Bram Moolenaar <bram@vim.org>
parents:
2209
diff
changeset
|
1284 |
f8222d1f9a73
Included patch for persistent undo. Lots of changes and added test.
Bram Moolenaar <bram@vim.org>
parents:
2209
diff
changeset
|
1285 /* |
f8222d1f9a73
Included patch for persistent undo. Lots of changes and added test.
Bram Moolenaar <bram@vim.org>
parents:
2209
diff
changeset
|
1286 * +persistent_undo 'undofile', 'undodir' options, :wundo and :rundo, and |
f8222d1f9a73
Included patch for persistent undo. Lots of changes and added test.
Bram Moolenaar <bram@vim.org>
parents:
2209
diff
changeset
|
1287 * implementation. |
f8222d1f9a73
Included patch for persistent undo. Lots of changes and added test.
Bram Moolenaar <bram@vim.org>
parents:
2209
diff
changeset
|
1288 */ |
f8222d1f9a73
Included patch for persistent undo. Lots of changes and added test.
Bram Moolenaar <bram@vim.org>
parents:
2209
diff
changeset
|
1289 #ifdef FEAT_NORMAL |
f8222d1f9a73
Included patch for persistent undo. Lots of changes and added test.
Bram Moolenaar <bram@vim.org>
parents:
2209
diff
changeset
|
1290 # define FEAT_PERSISTENT_UNDO |
f8222d1f9a73
Included patch for persistent undo. Lots of changes and added test.
Bram Moolenaar <bram@vim.org>
parents:
2209
diff
changeset
|
1291 #endif |
3482 | 1292 |
1293 /* | |
1294 * +filterpipe | |
1295 */ | |
1296 #if (defined(UNIX) && !defined(USE_SYSTEM)) \ | |
15868
7fad90423bd2
patch 8.1.0941: macros for MS-Windows are inconsistent
Bram Moolenaar <Bram@vim.org>
parents:
15636
diff
changeset
|
1297 || (defined(MSWIN) && defined(FEAT_GUI_MSWIN)) |
3482 | 1298 # define FEAT_FILTERPIPE |
1299 #endif | |
13314
65c3e8259124
patch 8.0.1531: cannot use 24 bit colors in MS-Windows console
Christian Brabandt <cb@256bit.org>
parents:
12948
diff
changeset
|
1300 |
65c3e8259124
patch 8.0.1531: cannot use 24 bit colors in MS-Windows console
Christian Brabandt <cb@256bit.org>
parents:
12948
diff
changeset
|
1301 /* |
65c3e8259124
patch 8.0.1531: cannot use 24 bit colors in MS-Windows console
Christian Brabandt <cb@256bit.org>
parents:
12948
diff
changeset
|
1302 * +vtp: Win32 virtual console. |
65c3e8259124
patch 8.0.1531: cannot use 24 bit colors in MS-Windows console
Christian Brabandt <cb@256bit.org>
parents:
12948
diff
changeset
|
1303 */ |
16451
7ae2396cef62
patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
Bram Moolenaar <Bram@vim.org>
parents:
16411
diff
changeset
|
1304 #if (!defined(FEAT_GUI) || defined(VIMDLL)) && defined(MSWIN) |
13314
65c3e8259124
patch 8.0.1531: cannot use 24 bit colors in MS-Windows console
Christian Brabandt <cb@256bit.org>
parents:
12948
diff
changeset
|
1305 # define FEAT_VTP |
65c3e8259124
patch 8.0.1531: cannot use 24 bit colors in MS-Windows console
Christian Brabandt <cb@256bit.org>
parents:
12948
diff
changeset
|
1306 #endif |