annotate src/option.h @ 30208:9f6908aa16a7

Added tag v9.0.0439 for changeset 7147c6059e80c57cc6ace1edc39356ea7c346e5f
author Bram Moolenaar <Bram@vim.org>
date Sat, 10 Sep 2022 23:45:03 +0200
parents 0cc9a3001717
children bc8ad1c28b51
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10042
4aead6a9b7a9 commit https://github.com/vim/vim/commit/edf3f97ae2af024708ebb4ac614227327033ca47
Christian Brabandt <cb@256bit.org>
parents: 10025
diff changeset
1 /* vi:set ts=8 sts=4 sw=4 noet:
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 *
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 * VIM - Vi IMproved by Bram Moolenaar
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 *
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 * Do ":help uganda" in Vim to read copying and usage conditions.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 * Do ":help credits" in Vim to see a list of people who contributed.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 /*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 * option.h: definition of global variables for settable options
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12
19526
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents: 19195
diff changeset
13 #ifndef _OPTION_H_
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents: 19195
diff changeset
14 #define _OPTION_H_
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents: 19195
diff changeset
15
18100
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
16 //
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
17 // Flags
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
18 //
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
19 #define P_BOOL 0x01 // the option is boolean
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
20 #define P_NUM 0x02 // the option is numeric
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
21 #define P_STRING 0x04 // the option is a string
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
22 #define P_ALLOCED 0x08 // the string option is in allocated memory,
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
23 // must use free_string_option() when
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
24 // assigning new value. Not set if default is
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
25 // the same.
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
26 #define P_EXPAND 0x10 // environment expansion. NOTE: P_EXPAND can
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
27 // never be used for local or hidden options!
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
28 #define P_NODEFAULT 0x40 // don't set to default value
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
29 #define P_DEF_ALLOCED 0x80 // default value is in allocated memory, must
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
30 // use vim_free() when assigning new value
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
31 #define P_WAS_SET 0x100 // option has been set/reset
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
32 #define P_NO_MKRC 0x200 // don't include in :mkvimrc output
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
33 #define P_VI_DEF 0x400 // Use Vi default for Vim
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
34 #define P_VIM 0x800 // Vim option, reset when 'cp' set
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
35
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
36 // when option changed, what to display:
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
37 #define P_RSTAT 0x1000 // redraw status lines
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
38 #define P_RWIN 0x2000 // redraw current window and recompute text
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
39 #define P_RBUF 0x4000 // redraw current buffer and recompute text
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
40 #define P_RALL 0x6000 // redraw all windows
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
41 #define P_RCLR 0x7000 // clear and redraw all
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
42
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
43 #define P_COMMA 0x8000 // comma separated list
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
44 #define P_ONECOMMA 0x18000L // P_COMMA and cannot have two consecutive
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
45 // commas
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
46 #define P_NODUP 0x20000L // don't allow duplicate strings
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
47 #define P_FLAGLIST 0x40000L // list of single-char flags
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
48
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
49 #define P_SECURE 0x80000L // cannot change in modeline or secure mode
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
50 #define P_GETTEXT 0x100000L // expand default value with _()
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
51 #define P_NOGLOB 0x200000L // do not use local value for global vimrc
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
52 #define P_NFNAME 0x400000L // only normal file name chars allowed
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
53 #define P_INSECURE 0x800000L // option was set from a modeline
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
54 #define P_PRI_MKRC 0x1000000L // priority for :mkvimrc (setting option has
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
55 // side effects)
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
56 #define P_NO_ML 0x2000000L // not allowed in modeline
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
57 #define P_CURSWANT 0x4000000L // update curswant required; not needed when
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
58 // there is a redraw flag
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
59 #define P_NDNAME 0x8000000L // only normal dir name chars allowed
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
60 #define P_RWINONLY 0x10000000L // only redraw current window
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
61 #define P_MLE 0x20000000L // under control of 'modelineexpr'
26441
65ab0b035dd8 patch 8.2.3751: cannot assign a lambda to an option that takes a function
Bram Moolenaar <Bram@vim.org>
parents: 26336
diff changeset
62 #define P_FUNC 0x40000000L // accept a function reference or a lambda
18100
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
63
23422
bb0c53f4ef8b patch 8.2.2254: Vim9: bool option type is number
Bram Moolenaar <Bram@vim.org>
parents: 21745
diff changeset
64 // Returned by get_option_value().
bb0c53f4ef8b patch 8.2.2254: Vim9: bool option type is number
Bram Moolenaar <Bram@vim.org>
parents: 21745
diff changeset
65 typedef enum {
bb0c53f4ef8b patch 8.2.2254: Vim9: bool option type is number
Bram Moolenaar <Bram@vim.org>
parents: 21745
diff changeset
66 gov_unknown,
bb0c53f4ef8b patch 8.2.2254: Vim9: bool option type is number
Bram Moolenaar <Bram@vim.org>
parents: 21745
diff changeset
67 gov_bool,
bb0c53f4ef8b patch 8.2.2254: Vim9: bool option type is number
Bram Moolenaar <Bram@vim.org>
parents: 21745
diff changeset
68 gov_number,
bb0c53f4ef8b patch 8.2.2254: Vim9: bool option type is number
Bram Moolenaar <Bram@vim.org>
parents: 21745
diff changeset
69 gov_string,
bb0c53f4ef8b patch 8.2.2254: Vim9: bool option type is number
Bram Moolenaar <Bram@vim.org>
parents: 21745
diff changeset
70 gov_hidden_bool,
bb0c53f4ef8b patch 8.2.2254: Vim9: bool option type is number
Bram Moolenaar <Bram@vim.org>
parents: 21745
diff changeset
71 gov_hidden_number,
bb0c53f4ef8b patch 8.2.2254: Vim9: bool option type is number
Bram Moolenaar <Bram@vim.org>
parents: 21745
diff changeset
72 gov_hidden_string
bb0c53f4ef8b patch 8.2.2254: Vim9: bool option type is number
Bram Moolenaar <Bram@vim.org>
parents: 21745
diff changeset
73 } getoption_T;
bb0c53f4ef8b patch 8.2.2254: Vim9: bool option type is number
Bram Moolenaar <Bram@vim.org>
parents: 21745
diff changeset
74
36
125e80798a85 updated for version 7.0021
vimboss
parents: 15
diff changeset
75 /*
125e80798a85 updated for version 7.0021
vimboss
parents: 15
diff changeset
76 * Default values for 'errorformat'.
125e80798a85 updated for version 7.0021
vimboss
parents: 15
diff changeset
77 * The "%f|%l| %m" one is used for when the contents of the quickfix window is
125e80798a85 updated for version 7.0021
vimboss
parents: 15
diff changeset
78 * written to a file.
125e80798a85 updated for version 7.0021
vimboss
parents: 15
diff changeset
79 */
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 #ifdef AMIGA
36
125e80798a85 updated for version 7.0021
vimboss
parents: 15
diff changeset
81 # define DFLT_EFM "%f>%l:%c:%t:%n:%m,%f:%l: %t%*\\D%n: %m,%f %l %t%*\\D%n: %m,%*[^\"]\"%f\"%*\\D%l: %m,%f:%l:%m,%f|%l| %m"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 #else
15868
7fad90423bd2 patch 8.1.0941: macros for MS-Windows are inconsistent
Bram Moolenaar <Bram@vim.org>
parents: 15840
diff changeset
83 # if defined(MSWIN)
15101
6ee344fcb472 patch 8.1.0561: MSCV error format has changed
Bram Moolenaar <Bram@vim.org>
parents: 14175
diff changeset
84 # define DFLT_EFM "%f(%l) \\=: %t%*\\D%n: %m,%*[^\"]\"%f\"%*\\D%l: %m,%f(%l) \\=: %m,%*[^ ] %f %l: %m,%f:%l:%c:%m,%f(%l):%m,%f:%l:%m,%f|%l| %m"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 # else
9536
b2aada04d84e commit https://github.com/vim/vim/commit/a06ecab7a5159e744448ace731036f0dc5f87dd4
Christian Brabandt <cb@256bit.org>
parents: 9505
diff changeset
86 # if defined(__QNX__)
b2aada04d84e commit https://github.com/vim/vim/commit/a06ecab7a5159e744448ace731036f0dc5f87dd4
Christian Brabandt <cb@256bit.org>
parents: 9505
diff changeset
87 # define DFLT_EFM "%f(%l):%*[^WE]%t%*\\D%n:%m,%f|%l| %m"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 # else
9536
b2aada04d84e commit https://github.com/vim/vim/commit/a06ecab7a5159e744448ace731036f0dc5f87dd4
Christian Brabandt <cb@256bit.org>
parents: 9505
diff changeset
89 # ifdef VMS
b2aada04d84e commit https://github.com/vim/vim/commit/a06ecab7a5159e744448ace731036f0dc5f87dd4
Christian Brabandt <cb@256bit.org>
parents: 9505
diff changeset
90 # define DFLT_EFM "%A%p^,%C%%CC-%t-%m,%Cat line number %l in file %f,%f|%l| %m"
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
91 # else // Unix, probably
5582
6eb60041548c updated for version 7.4.138
Bram Moolenaar <bram@vim.org>
parents: 5531
diff changeset
92 #define DFLT_EFM "%*[^\"]\"%f\"%*\\D%l: %m,\"%f\"%*\\D%l: %m,%-G%f:%l: (Each undeclared identifier is reported only once,%-G%f:%l: for each function it appears in.),%-GIn file included from %f:%l:%c:,%-GIn file included from %f:%l:%c\\,,%-GIn file included from %f:%l:%c,%-GIn file included from %f:%l,%-G%*[ ]from %f:%l:%c,%-G%*[ ]from %f:%l:,%-G%*[ ]from %f:%l\\,,%-G%*[ ]from %f:%l,%f:%l:%c:%m,%f(%l):%m,%f:%l:%m,\"%f\"\\, line %l%*\\D%c%*[^ ] %m,%D%*\\a[%*\\d]: Entering directory %*[`']%f',%X%*\\a[%*\\d]: Leaving directory %*[`']%f',%D%*\\a: Entering directory %*[`']%f',%X%*\\a: Leaving directory %*[`']%f',%DMaking %*\\a in %f,%f|%l| %m"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 #define DFLT_GREPFORMAT "%f:%l:%m,%f:%l%m,%f %l%m"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
100 // default values for b_p_ff 'fileformat' and p_ffs 'fileformats'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101 #define FF_DOS "dos"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 #define FF_MAC "mac"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 #define FF_UNIX "unix"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 #ifdef USE_CRNL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 # define DFLT_FF "dos"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 # define DFLT_FFS_VIM "dos,unix"
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
108 # define DFLT_FFS_VI "dos,unix" // also autodetect in compatible mode
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 # define DFLT_TEXTAUTO TRUE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 #else
15840
734b1928a5aa patch 8.1.0927: USE_CR is never defined
Bram Moolenaar <Bram@vim.org>
parents: 15746
diff changeset
111 # define DFLT_FF "unix"
734b1928a5aa patch 8.1.0927: USE_CR is never defined
Bram Moolenaar <Bram@vim.org>
parents: 15746
diff changeset
112 # define DFLT_FFS_VIM "unix,dos"
734b1928a5aa patch 8.1.0927: USE_CR is never defined
Bram Moolenaar <Bram@vim.org>
parents: 15746
diff changeset
113 # ifdef __CYGWIN__
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
114 # define DFLT_FFS_VI "unix,dos" // Cygwin always needs file detection
15840
734b1928a5aa patch 8.1.0927: USE_CR is never defined
Bram Moolenaar <Bram@vim.org>
parents: 15746
diff changeset
115 # define DFLT_TEXTAUTO TRUE
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 # else
15840
734b1928a5aa patch 8.1.0927: USE_CR is never defined
Bram Moolenaar <Bram@vim.org>
parents: 15746
diff changeset
117 # define DFLT_FFS_VI ""
734b1928a5aa patch 8.1.0927: USE_CR is never defined
Bram Moolenaar <Bram@vim.org>
parents: 15746
diff changeset
118 # define DFLT_TEXTAUTO FALSE
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
123 // Possible values for 'encoding'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
124 #define ENC_UCSBOM "ucs-bom" // check for BOM at start of file
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
126 // default value for 'encoding'
24747
7da496081b91 patch 8.2.2912: MS-Windows: most users expect using Unicode
Bram Moolenaar <Bram@vim.org>
parents: 24464
diff changeset
127 #ifdef MSWIN
7da496081b91 patch 8.2.2912: MS-Windows: most users expect using Unicode
Bram Moolenaar <Bram@vim.org>
parents: 24464
diff changeset
128 # define ENC_DFLT "utf-8"
7da496081b91 patch 8.2.2912: MS-Windows: most users expect using Unicode
Bram Moolenaar <Bram@vim.org>
parents: 24464
diff changeset
129 #else
7da496081b91 patch 8.2.2912: MS-Windows: most users expect using Unicode
Bram Moolenaar <Bram@vim.org>
parents: 24464
diff changeset
130 # define ENC_DFLT "latin1"
7da496081b91 patch 8.2.2912: MS-Windows: most users expect using Unicode
Bram Moolenaar <Bram@vim.org>
parents: 24464
diff changeset
131 #endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
133 // end-of-line style
28226
89c181c99e23 patch 8.2.4639: not sufficient parenthesis in preprocessor macros
Bram Moolenaar <Bram@vim.org>
parents: 27875
diff changeset
134 #define EOL_UNKNOWN (-1) // not defined yet
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
135 #define EOL_UNIX 0 // NL
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
136 #define EOL_DOS 1 // CR NL
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
137 #define EOL_MAC 2 // CR
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
139 // Formatting options for p_fo 'formatoptions'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
140 #define FO_WRAP 't'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141 #define FO_WRAP_COMS 'c'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142 #define FO_RET_COMS 'r'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143 #define FO_OPEN_COMS 'o'
28765
38698deeda58 patch 8.2.4907: some users do not want a line comment always inserted
Bram Moolenaar <Bram@vim.org>
parents: 28439
diff changeset
144 #define FO_NO_OPEN_COMS '/'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
145 #define FO_Q_COMS 'q'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146 #define FO_Q_NUMBER 'n'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147 #define FO_Q_SECOND '2'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148 #define FO_INS_VI 'v'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149 #define FO_INS_LONG 'l'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150 #define FO_INS_BLANK 'b'
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
151 #define FO_MBYTE_BREAK 'm' // break before/after multi-byte char
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
152 #define FO_MBYTE_JOIN 'M' // no space before/after multi-byte char
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
153 #define FO_MBYTE_JOIN2 'B' // no space between multi-byte chars
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
154 #define FO_ONE_LETTER '1'
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
155 #define FO_WHITE_PAR 'w' // trailing white space continues paragr.
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
156 #define FO_AUTO 'a' // automatic formatting
20695
cea8ae407452 patch 8.2.0901: formatting CJK text isn't optimal
Bram Moolenaar <Bram@vim.org>
parents: 20631
diff changeset
157 #define FO_RIGOROUS_TW ']' // respect textwidth rigorously
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
158 #define FO_REMOVE_COMS 'j' // remove comment leaders when joining lines
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
159 #define FO_PERIOD_ABBR 'p' // don't break a single space after a period
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
160
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
161 #define DFLT_FO_VI "vt"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
162 #define DFLT_FO_VIM "tcq"
28765
38698deeda58 patch 8.2.4907: some users do not want a line comment always inserted
Bram Moolenaar <Bram@vim.org>
parents: 28439
diff changeset
163 #define FO_ALL "tcro/q2vlb1mMBn,aw]jp" // for do_set()
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
164
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
165 // characters for the p_cpo option:
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
166 #define CPO_ALTREAD 'a' // ":read" sets alternate file name
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
167 #define CPO_ALTWRITE 'A' // ":write" sets alternate file name
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
168 #define CPO_BAR 'b' // "\|" ends a mapping
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
169 #define CPO_BSLASH 'B' // backslash in mapping is not special
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170 #define CPO_SEARCH 'c'
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
171 #define CPO_CONCAT 'C' // Don't concatenate sourced lines
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
172 #define CPO_DOTTAG 'd' // "./tags" in 'tags' is in current dir
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
173 #define CPO_DIGRAPH 'D' // No digraph after "r", "f", etc.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
174 #define CPO_EXECBUF 'e'
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
175 #define CPO_EMPTYREGION 'E' // operating on empty region is an error
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
176 #define CPO_FNAMER 'f' // set file name for ":r file"
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
177 #define CPO_FNAMEW 'F' // set file name for ":w file"
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
178 #define CPO_GOTO1 'g' // goto line 1 for ":edit"
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
179 #define CPO_INSEND 'H' // "I" inserts before last blank in line
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
180 #define CPO_INTMOD 'i' // interrupt a read makes buffer modified
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
181 #define CPO_INDENT 'I' // remove auto-indent more often
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
182 #define CPO_JOINSP 'j' // only use two spaces for join after '.'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
183 #define CPO_ENDOFSENT 'J' // need two spaces to detect end of sentence
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
184 #define CPO_KEYCODE 'k' // don't recognize raw key code in mappings
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
185 #define CPO_KOFFSET 'K' // don't wait for key code in mappings
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
186 #define CPO_LITERAL 'l' // take char after backslash in [] literal
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
187 #define CPO_LISTWM 'L' // 'list' changes wrapmargin
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
188 #define CPO_SHOWMATCH 'm'
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
189 #define CPO_MATCHBSL 'M' // "%" ignores use of backslashes
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
190 #define CPO_NUMCOL 'n' // 'number' column also used for text
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
191 #define CPO_LINEOFF 'o'
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
192 #define CPO_OVERNEW 'O' // silently overwrite new file
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
193 #define CPO_LISP 'p' // 'lisp' indenting
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
194 #define CPO_FNAMEAPP 'P' // set file name for ":w >>file"
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
195 #define CPO_JOINCOL 'q' // with "3J" use column after first join
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
196 #define CPO_REDO 'r'
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
197 #define CPO_REMMARK 'R' // remove marks when filtering
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
198 #define CPO_BUFOPT 's'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
199 #define CPO_BUFOPTGLOB 'S'
28765
38698deeda58 patch 8.2.4907: some users do not want a line comment always inserted
Bram Moolenaar <Bram@vim.org>
parents: 28439
diff changeset
200 #define CPO_TAGPAT 't' // tag pattern is used for "n"
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
201 #define CPO_UNDO 'u' // "u" undoes itself
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
202 #define CPO_BACKSPACE 'v' // "v" keep deleted text
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
203 #define CPO_CW 'w' // "cw" only changes one blank
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
204 #define CPO_FWRITE 'W' // "w!" doesn't overwrite readonly files
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
205 #define CPO_ESC 'x'
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
206 #define CPO_REPLCNT 'X' // "R" with a count only deletes chars once
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
207 #define CPO_YANK 'y'
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
208 #define CPO_KEEPRO 'Z' // don't reset 'readonly' on ":w!"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
209 #define CPO_DOLLAR '$'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
210 #define CPO_FILTER '!'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
211 #define CPO_MATCH '%'
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
212 #define CPO_STAR '*' // ":*" means ":@"
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
213 #define CPO_PLUS '+' // ":write file" resets 'modified'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
214 #define CPO_MINUS '-' // "9-" fails at and before line 9
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
215 #define CPO_SPECI '<' // don't recognize <> in mappings
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
216 #define CPO_REGAPPEND '>' // insert NL when appending to a register
18753
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 18646
diff changeset
217 // POSIX flags
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
218 #define CPO_HASH '#' // "D", "o" and "O" do not use a count
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
219 #define CPO_PARA '{' // "{" is also a paragraph boundary
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
220 #define CPO_TSIZE '|' // $LINES and $COLUMNS overrule term size
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
221 #define CPO_PRESERVE '&' // keep swap file after :preserve
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
222 #define CPO_SUBPERCENT '/' // % in :s string uses previous one
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
223 #define CPO_BACKSL '\\' // \ is not special in []
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
224 #define CPO_CHDIR '.' // don't chdir if buffer is modified
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
225 #define CPO_SCOLON ';' // using "," and ";" will skip over char if
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
226 // cursor would not move
18753
6e3dc2d630c2 patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents: 18646
diff changeset
227 // default values for Vim, Vi and POSIX
164
8b0ee9d57d7f updated for version 7.0050
vimboss
parents: 161
diff changeset
228 #define CPO_VIM "aABceFs"
2925
441d364773dc updated for version 7.3.235
Bram Moolenaar <bram@vim.org>
parents: 2883
diff changeset
229 #define CPO_VI "aAbBcCdDeEfFgHiIjJkKlLmMnoOpPqrRsStuvwWxXyZ$!%*-+<>;"
441d364773dc updated for version 7.3.235
Bram Moolenaar <bram@vim.org>
parents: 2883
diff changeset
230 #define CPO_ALL "aAbBcCdDeEfFgHiIjJkKlLmMnoOpPqrRsStuvwWxXyZ$!%*-+<>#{|&/\\.;"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
231
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
232 // characters for p_ww option:
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
233 #define WW_ALL "bshl<>[],~"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
234
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
235 // characters for p_mouse option:
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
236 #define MOUSE_NORMAL 'n' // use mouse in Normal mode
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
237 #define MOUSE_VISUAL 'v' // use mouse in Visual/Select mode
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
238 #define MOUSE_INSERT 'i' // use mouse in Insert mode
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
239 #define MOUSE_COMMAND 'c' // use mouse in Command-line mode
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
240 #define MOUSE_HELP 'h' // use mouse in help buffers
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
241 #define MOUSE_RETURN 'r' // use mouse for hit-return message
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
242 #define MOUSE_A "nvich" // used for 'a' flag
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
243 #define MOUSE_ALL "anvichr" // all possible characters
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
244 #define MOUSE_NONE ' ' // don't use Visual selection
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
245 #define MOUSE_NONEF 'x' // forced modeless selection
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
246
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
247 #define COCU_ALL "nvic" // flags for 'concealcursor'
2378
85b7dc8da5eb Add the 'concealcursor' option to decide when the cursor line is to be
Bram Moolenaar <bram@vim.org>
parents: 2360
diff changeset
248
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
249 // characters for p_shm option:
16533
5e25171e0e75 patch 8.1.1270: cannot see current match position
Bram Moolenaar <Bram@vim.org>
parents: 16447
diff changeset
250 #define SHM_RO 'r' // readonly
5e25171e0e75 patch 8.1.1270: cannot see current match position
Bram Moolenaar <Bram@vim.org>
parents: 16447
diff changeset
251 #define SHM_MOD 'm' // modified
5e25171e0e75 patch 8.1.1270: cannot see current match position
Bram Moolenaar <Bram@vim.org>
parents: 16447
diff changeset
252 #define SHM_FILE 'f' // (file 1 of 2)
5e25171e0e75 patch 8.1.1270: cannot see current match position
Bram Moolenaar <Bram@vim.org>
parents: 16447
diff changeset
253 #define SHM_LAST 'i' // last line incomplete
5e25171e0e75 patch 8.1.1270: cannot see current match position
Bram Moolenaar <Bram@vim.org>
parents: 16447
diff changeset
254 #define SHM_TEXT 'x' // tx instead of textmode
5e25171e0e75 patch 8.1.1270: cannot see current match position
Bram Moolenaar <Bram@vim.org>
parents: 16447
diff changeset
255 #define SHM_LINES 'l' // "L" instead of "lines"
5e25171e0e75 patch 8.1.1270: cannot see current match position
Bram Moolenaar <Bram@vim.org>
parents: 16447
diff changeset
256 #define SHM_NEW 'n' // "[New]" instead of "[New file]"
5e25171e0e75 patch 8.1.1270: cannot see current match position
Bram Moolenaar <Bram@vim.org>
parents: 16447
diff changeset
257 #define SHM_WRI 'w' // "[w]" instead of "written"
5e25171e0e75 patch 8.1.1270: cannot see current match position
Bram Moolenaar <Bram@vim.org>
parents: 16447
diff changeset
258 #define SHM_A "rmfixlnw" // represented by 'a' flag
5e25171e0e75 patch 8.1.1270: cannot see current match position
Bram Moolenaar <Bram@vim.org>
parents: 16447
diff changeset
259 #define SHM_WRITE 'W' // don't use "written" at all
5e25171e0e75 patch 8.1.1270: cannot see current match position
Bram Moolenaar <Bram@vim.org>
parents: 16447
diff changeset
260 #define SHM_TRUNC 't' // truncate file messages
5e25171e0e75 patch 8.1.1270: cannot see current match position
Bram Moolenaar <Bram@vim.org>
parents: 16447
diff changeset
261 #define SHM_TRUNCALL 'T' // truncate all messages
5e25171e0e75 patch 8.1.1270: cannot see current match position
Bram Moolenaar <Bram@vim.org>
parents: 16447
diff changeset
262 #define SHM_OVER 'o' // overwrite file messages
5e25171e0e75 patch 8.1.1270: cannot see current match position
Bram Moolenaar <Bram@vim.org>
parents: 16447
diff changeset
263 #define SHM_OVERALL 'O' // overwrite more messages
5e25171e0e75 patch 8.1.1270: cannot see current match position
Bram Moolenaar <Bram@vim.org>
parents: 16447
diff changeset
264 #define SHM_SEARCH 's' // no search hit bottom messages
5e25171e0e75 patch 8.1.1270: cannot see current match position
Bram Moolenaar <Bram@vim.org>
parents: 16447
diff changeset
265 #define SHM_ATTENTION 'A' // no ATTENTION messages
5e25171e0e75 patch 8.1.1270: cannot see current match position
Bram Moolenaar <Bram@vim.org>
parents: 16447
diff changeset
266 #define SHM_INTRO 'I' // intro messages
5e25171e0e75 patch 8.1.1270: cannot see current match position
Bram Moolenaar <Bram@vim.org>
parents: 16447
diff changeset
267 #define SHM_COMPLETIONMENU 'c' // completion menu messages
5e25171e0e75 patch 8.1.1270: cannot see current match position
Bram Moolenaar <Bram@vim.org>
parents: 16447
diff changeset
268 #define SHM_RECORDING 'q' // short recording message
5e25171e0e75 patch 8.1.1270: cannot see current match position
Bram Moolenaar <Bram@vim.org>
parents: 16447
diff changeset
269 #define SHM_FILEINFO 'F' // no file info messages
28809
d0241e74bfdb patch 8.2.4928: various white space and cosmetic mistakes
Bram Moolenaar <Bram@vim.org>
parents: 28765
diff changeset
270 #define SHM_SEARCHCOUNT 'S' // search stats: '[1/10]'
d0241e74bfdb patch 8.2.4928: various white space and cosmetic mistakes
Bram Moolenaar <Bram@vim.org>
parents: 28765
diff changeset
271 #define SHM_POSIX "AS" // POSIX value
16533
5e25171e0e75 patch 8.1.1270: cannot see current match position
Bram Moolenaar <Bram@vim.org>
parents: 16447
diff changeset
272 #define SHM_ALL "rmfixlnwaWtToOsAIcqFS" // all possible flags for 'shm'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
273
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
274 // characters for p_go:
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
275 #define GO_TERMINAL '!' // use terminal for system commands
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
276 #define GO_ASEL 'a' // autoselect
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
277 #define GO_ASELML 'A' // autoselect modeless selection
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
278 #define GO_BOT 'b' // use bottom scrollbar
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
279 #define GO_CONDIALOG 'c' // use console dialog
18078
5ae41d0ea397 patch 8.1.2034: dark them of GTK 3 not supported
Bram Moolenaar <Bram@vim.org>
parents: 18068
diff changeset
280 #define GO_DARKTHEME 'd' // use dark theme variant
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
281 #define GO_TABLINE 'e' // may show tabline
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
282 #define GO_FORG 'f' // start GUI in foreground
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
283 #define GO_GREY 'g' // use grey menu items
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
284 #define GO_HORSCROLL 'h' // flexible horizontal scrolling
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
285 #define GO_ICON 'i' // use Vim icon
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
286 #define GO_LEFT 'l' // use left scrollbar
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
287 #define GO_VLEFT 'L' // left scrollbar with vert split
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
288 #define GO_MENUS 'm' // use menu bar
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
289 #define GO_NOSYSMENU 'M' // don't source system menu
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
290 #define GO_POINTER 'p' // pointer enter/leave callbacks
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
291 #define GO_ASELPLUS 'P' // autoselectPlus
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
292 #define GO_RIGHT 'r' // use right scrollbar
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
293 #define GO_VRIGHT 'R' // right scrollbar with vert split
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
294 #define GO_TEAROFF 't' // add tear-off menu items
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
295 #define GO_TOOLBAR 'T' // add toolbar
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
296 #define GO_FOOTER 'F' // add footer
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
297 #define GO_VERTICAL 'v' // arrange dialog buttons vertically
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
298 #define GO_KEEPWINSIZE 'k' // keep GUI window size
18078
5ae41d0ea397 patch 8.1.2034: dark them of GTK 3 not supported
Bram Moolenaar <Bram@vim.org>
parents: 18068
diff changeset
299 #define GO_ALL "!aAbcdefFghilmMprtTvk" // all possible flags for 'go'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
300
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
301 // flags for 'comments' option
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
302 #define COM_NEST 'n' // comments strings nest
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
303 #define COM_BLANK 'b' // needs blank after string
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
304 #define COM_START 's' // start of comment
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
305 #define COM_MIDDLE 'm' // middle of comment
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
306 #define COM_END 'e' // end of comment
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
307 #define COM_AUTO_END 'x' // last char of end closes comment
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
308 #define COM_FIRST 'f' // first line comment only
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
309 #define COM_LEFT 'l' // left adjusted
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
310 #define COM_RIGHT 'r' // right adjusted
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
311 #define COM_NOBACK 'O' // don't use for "O" command
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
312 #define COM_ALL "nbsmexflrO" // all flags for 'comments' option
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
313 #define COM_MAX_LEN 50 // maximum length of a part
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
314
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
315 // flags for 'statusline' option
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
316 #define STL_FILEPATH 'f' // path of file in buffer
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
317 #define STL_FULLPATH 'F' // full path of file in buffer
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
318 #define STL_FILENAME 't' // last part (tail) of file path
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
319 #define STL_COLUMN 'c' // column og cursor
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
320 #define STL_VIRTCOL 'v' // virtual column
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
321 #define STL_VIRTCOL_ALT 'V' // - with 'if different' display
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
322 #define STL_LINE 'l' // line number of cursor
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
323 #define STL_NUMLINES 'L' // number of lines in buffer
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
324 #define STL_BUFNO 'n' // current buffer number
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
325 #define STL_KEYMAP 'k' // 'keymap' when active
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
326 #define STL_OFFSET 'o' // offset of character under cursor
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
327 #define STL_OFFSET_X 'O' // - in hexadecimal
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
328 #define STL_BYTEVAL 'b' // byte value of character
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
329 #define STL_BYTEVAL_X 'B' // - in hexadecimal
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
330 #define STL_ROFLAG 'r' // readonly flag
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
331 #define STL_ROFLAG_ALT 'R' // - other display
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
332 #define STL_HELPFLAG 'h' // window is showing a help file
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
333 #define STL_HELPFLAG_ALT 'H' // - other display
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
334 #define STL_FILETYPE 'y' // 'filetype'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
335 #define STL_FILETYPE_ALT 'Y' // - other display
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
336 #define STL_PREVIEWFLAG 'w' // window is showing the preview buf
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
337 #define STL_PREVIEWFLAG_ALT 'W' // - other display
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
338 #define STL_MODIFIED 'm' // modified flag
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
339 #define STL_MODIFIED_ALT 'M' // - other display
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
340 #define STL_QUICKFIX 'q' // quickfix window description
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
341 #define STL_PERCENTAGE 'p' // percentage through file
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
342 #define STL_ALTPERCENT 'P' // percentage as TOP BOT ALL or NN%
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
343 #define STL_ARGLISTSTAT 'a' // argument list status as (x of y)
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
344 #define STL_PAGENUM 'N' // page number (when printing)
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
345 #define STL_VIM_EXPR '{' // start of expression to substitute
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
346 #define STL_MIDDLEMARK '=' // separation between left and right
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
347 #define STL_TRUNCMARK '<' // truncation mark if line is too long
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
348 #define STL_USER_HL '*' // highlight from (User)1..9 or 0
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
349 #define STL_HIGHLIGHT '#' // highlight name
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
350 #define STL_TABPAGENR 'T' // tab page label nr
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
351 #define STL_TABCLOSENR 'X' // tab page close nr
2411
68e394361ca3 Add "q" item for 'statusline'. Add w:quickfix_title. (Lech Lorens)
Bram Moolenaar <bram@vim.org>
parents: 2394
diff changeset
352 #define STL_ALL ((char_u *) "fFtcvVlLknoObBrRhHmYyWwMqpPaN{#")
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
353
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
354 // flags used for parsed 'wildmode'
18068
1101eacc1444 patch 8.1.2029: cannot control 'cursorline' highlighting well
Bram Moolenaar <Bram@vim.org>
parents: 18047
diff changeset
355 #define WIM_FULL 0x01
1101eacc1444 patch 8.1.2029: cannot control 'cursorline' highlighting well
Bram Moolenaar <Bram@vim.org>
parents: 18047
diff changeset
356 #define WIM_LONGEST 0x02
1101eacc1444 patch 8.1.2029: cannot control 'cursorline' highlighting well
Bram Moolenaar <Bram@vim.org>
parents: 18047
diff changeset
357 #define WIM_LIST 0x04
18463
18d7337b6837 patch 8.1.2225: the "last used" info of a buffer is under used
Bram Moolenaar <Bram@vim.org>
parents: 18354
diff changeset
358 #define WIM_BUFLASTUSED 0x08
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
359
27597
4eb2bf8b2f27 patch 8.2.4325: 'wildmenu' only shows few matches
Bram Moolenaar <Bram@vim.org>
parents: 27490
diff changeset
360 // flags for the 'wildoptions' option
4eb2bf8b2f27 patch 8.2.4325: 'wildmenu' only shows few matches
Bram Moolenaar <Bram@vim.org>
parents: 27490
diff changeset
361 // each defined char should be unique over all values.
27875
ae38d2e81fca patch 8.2.4463: completion only uses strict matching
Bram Moolenaar <Bram@vim.org>
parents: 27597
diff changeset
362 #define WOP_FUZZY 'z'
27597
4eb2bf8b2f27 patch 8.2.4325: 'wildmenu' only shows few matches
Bram Moolenaar <Bram@vim.org>
parents: 27490
diff changeset
363 #define WOP_TAGFILE 't'
4eb2bf8b2f27 patch 8.2.4325: 'wildmenu' only shows few matches
Bram Moolenaar <Bram@vim.org>
parents: 27490
diff changeset
364 #define WOP_PUM 'p'
4eb2bf8b2f27 patch 8.2.4325: 'wildmenu' only shows few matches
Bram Moolenaar <Bram@vim.org>
parents: 27490
diff changeset
365
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
366 // arguments for can_bs()
20069
9a67d41708d2 patch 8.2.0590: no 'backspace' value allows ignoring the insertion point
Bram Moolenaar <Bram@vim.org>
parents: 19852
diff changeset
367 // each defined char should be unique over all values
9a67d41708d2 patch 8.2.0590: no 'backspace' value allows ignoring the insertion point
Bram Moolenaar <Bram@vim.org>
parents: 19852
diff changeset
368 // except for BS_START, that intentionally also matches BS_NOSTOP
9a67d41708d2 patch 8.2.0590: no 'backspace' value allows ignoring the insertion point
Bram Moolenaar <Bram@vim.org>
parents: 19852
diff changeset
369 // because BS_NOSTOP behaves exactly the same except it
9a67d41708d2 patch 8.2.0590: no 'backspace' value allows ignoring the insertion point
Bram Moolenaar <Bram@vim.org>
parents: 19852
diff changeset
370 // does not stop at the start of the insert point
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
371 #define BS_INDENT 'i' // "Indent"
20069
9a67d41708d2 patch 8.2.0590: no 'backspace' value allows ignoring the insertion point
Bram Moolenaar <Bram@vim.org>
parents: 19852
diff changeset
372 #define BS_EOL 'l' // "eoL"
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
373 #define BS_START 's' // "Start"
20069
9a67d41708d2 patch 8.2.0590: no 'backspace' value allows ignoring the insertion point
Bram Moolenaar <Bram@vim.org>
parents: 19852
diff changeset
374 #define BS_NOSTOP 'p' // "nostoP
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
375
18068
1101eacc1444 patch 8.1.2029: cannot control 'cursorline' highlighting well
Bram Moolenaar <Bram@vim.org>
parents: 18047
diff changeset
376 // flags for the 'culopt' option
1101eacc1444 patch 8.1.2029: cannot control 'cursorline' highlighting well
Bram Moolenaar <Bram@vim.org>
parents: 18047
diff changeset
377 #define CULOPT_LINE 0x01 // Highlight complete line
1101eacc1444 patch 8.1.2029: cannot control 'cursorline' highlighting well
Bram Moolenaar <Bram@vim.org>
parents: 18047
diff changeset
378 #define CULOPT_SCRLINE 0x02 // Highlight screen line
1101eacc1444 patch 8.1.2029: cannot control 'cursorline' highlighting well
Bram Moolenaar <Bram@vim.org>
parents: 18047
diff changeset
379 #define CULOPT_NBR 0x04 // Highlight Number column
1101eacc1444 patch 8.1.2029: cannot control 'cursorline' highlighting well
Bram Moolenaar <Bram@vim.org>
parents: 18047
diff changeset
380
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
381 #define LISPWORD_VALUE "defun,define,defmacro,set!,lambda,if,case,let,flet,let*,letrec,do,do*,define-syntax,let-syntax,letrec-syntax,destructuring-bind,defpackage,defparameter,defstruct,deftype,defvar,do-all-symbols,do-external-symbols,do-symbols,dolist,dotimes,ecase,etypecase,eval-when,labels,macrolet,multiple-value-bind,multiple-value-call,multiple-value-prog1,multiple-value-setq,prog1,progv,typecase,unless,unwind-protect,when,with-input-from-string,with-open-file,with-open-stream,with-output-to-string,with-package-iterator,define-condition,handler-bind,handler-case,restart-bind,restart-case,with-simple-restart,store-value,use-value,muffle-warning,abort,continue,with-slots,with-slots*,with-accessors,with-accessors*,defclass,defmethod,print-unreadable-object"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
382
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
383 /*
665
21ab9abf0f08 updated for version 7.0196
vimboss
parents: 593
diff changeset
384 * The following are actual variables for the options
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
385 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
386
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
387 #ifdef FEAT_RIGHTLEFT
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
388 EXTERN long p_aleph; // 'aleph'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
389 #endif
18100
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
390 EXTERN char_u *p_ambw; // 'ambiwidth'
820
57c7403f6599 updated for version 7.0c11
vimboss
parents: 805
diff changeset
391 #ifdef FEAT_AUTOCHDIR
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
392 EXTERN int p_acd; // 'autochdir'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
393 #endif
24268
9257f3980f4a patch 8.2.2675: directory change in a terminal window shell is not followed
Bram Moolenaar <Bram@vim.org>
parents: 23952
diff changeset
394 #ifdef FEAT_AUTOSHELLDIR
9257f3980f4a patch 8.2.2675: directory change in a terminal window shell is not followed
Bram Moolenaar <Bram@vim.org>
parents: 23952
diff changeset
395 EXTERN int p_asd; // 'autoshelldir'
9257f3980f4a patch 8.2.2675: directory change in a terminal window shell is not followed
Bram Moolenaar <Bram@vim.org>
parents: 23952
diff changeset
396 #endif
18100
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
397 EXTERN int p_ai; // 'autoindent'
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
398 EXTERN int p_bin; // 'binary'
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
399 EXTERN int p_bomb; // 'bomb'
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
400 EXTERN int p_bl; // 'buflisted'
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
401 EXTERN int p_cin; // 'cindent'
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
402 EXTERN char_u *p_cink; // 'cinkeys'
28353
8bc8071928ed patch 8.2.4702: C++ scope labels are hard-coded
Bram Moolenaar <Bram@vim.org>
parents: 28297
diff changeset
403 EXTERN char_u *p_cinsd; // 'cinscopedecls'
18100
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
404 EXTERN char_u *p_cinw; // 'cinwords'
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
405 #ifdef FEAT_COMPL_FUNC
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
406 EXTERN char_u *p_cfu; // 'completefunc'
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
407 EXTERN char_u *p_ofu; // 'omnifunc'
25990
ac330e2fecc4 patch 8.2.3528: 'thesaurus' and 'thesaurusfunc' do not have the same scope
Bram Moolenaar <Bram@vim.org>
parents: 25982
diff changeset
408 EXTERN char_u *p_tsrfu; // 'thesaurusfunc'
18100
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
409 #endif
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
410 EXTERN int p_ci; // 'copyindent'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
411 #if defined(FEAT_GUI) && defined(MACOS_X)
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
412 EXTERN int *p_antialias; // 'antialias'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
413 #endif
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
414 EXTERN int p_ar; // 'autoread'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
415 EXTERN int p_aw; // 'autowrite'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
416 EXTERN int p_awa; // 'autowriteall'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
417 EXTERN char_u *p_bs; // 'backspace'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
418 EXTERN char_u *p_bg; // 'background'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
419 EXTERN int p_bk; // 'backup'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
420 EXTERN char_u *p_bkc; // 'backupcopy'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
421 EXTERN unsigned bkc_flags; // flags from 'backupcopy'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
422 # define BKC_YES 0x001
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
423 # define BKC_AUTO 0x002
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
424 # define BKC_NO 0x004
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
425 # define BKC_BREAKSYMLINK 0x008
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
426 # define BKC_BREAKHARDLINK 0x010
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
427 EXTERN char_u *p_bdir; // 'backupdir'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
428 EXTERN char_u *p_bex; // 'backupext'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
429 EXTERN char_u *p_bo; // 'belloff'
6949
1e621b31948b patch 7.4.793
Bram Moolenaar <bram@vim.org>
parents: 6933
diff changeset
430 EXTERN unsigned bo_flags;
1e621b31948b patch 7.4.793
Bram Moolenaar <bram@vim.org>
parents: 6933
diff changeset
431
19852
12518b40c161 patch 8.2.0482: channel and sandbox code not sufficiently tested
Bram Moolenaar <Bram@vim.org>
parents: 19526
diff changeset
432 // values for the 'belloff' option
6949
1e621b31948b patch 7.4.793
Bram Moolenaar <bram@vim.org>
parents: 6933
diff changeset
433 #define BO_ALL 0x0001
1e621b31948b patch 7.4.793
Bram Moolenaar <bram@vim.org>
parents: 6933
diff changeset
434 #define BO_BS 0x0002
1e621b31948b patch 7.4.793
Bram Moolenaar <bram@vim.org>
parents: 6933
diff changeset
435 #define BO_CRSR 0x0004
1e621b31948b patch 7.4.793
Bram Moolenaar <bram@vim.org>
parents: 6933
diff changeset
436 #define BO_COMPL 0x0008
1e621b31948b patch 7.4.793
Bram Moolenaar <bram@vim.org>
parents: 6933
diff changeset
437 #define BO_COPY 0x0010
1e621b31948b patch 7.4.793
Bram Moolenaar <bram@vim.org>
parents: 6933
diff changeset
438 #define BO_CTRLG 0x0020
1e621b31948b patch 7.4.793
Bram Moolenaar <bram@vim.org>
parents: 6933
diff changeset
439 #define BO_ERROR 0x0040
1e621b31948b patch 7.4.793
Bram Moolenaar <bram@vim.org>
parents: 6933
diff changeset
440 #define BO_ESC 0x0080
1e621b31948b patch 7.4.793
Bram Moolenaar <bram@vim.org>
parents: 6933
diff changeset
441 #define BO_EX 0x0100
1e621b31948b patch 7.4.793
Bram Moolenaar <bram@vim.org>
parents: 6933
diff changeset
442 #define BO_HANGUL 0x0200
1e621b31948b patch 7.4.793
Bram Moolenaar <bram@vim.org>
parents: 6933
diff changeset
443 #define BO_IM 0x0400
1e621b31948b patch 7.4.793
Bram Moolenaar <bram@vim.org>
parents: 6933
diff changeset
444 #define BO_LANG 0x0800
1e621b31948b patch 7.4.793
Bram Moolenaar <bram@vim.org>
parents: 6933
diff changeset
445 #define BO_MESS 0x1000
1e621b31948b patch 7.4.793
Bram Moolenaar <bram@vim.org>
parents: 6933
diff changeset
446 #define BO_MATCH 0x2000
1e621b31948b patch 7.4.793
Bram Moolenaar <bram@vim.org>
parents: 6933
diff changeset
447 #define BO_OPER 0x4000
1e621b31948b patch 7.4.793
Bram Moolenaar <bram@vim.org>
parents: 6933
diff changeset
448 #define BO_REG 0x8000
1e621b31948b patch 7.4.793
Bram Moolenaar <bram@vim.org>
parents: 6933
diff changeset
449 #define BO_SH 0x10000
1e621b31948b patch 7.4.793
Bram Moolenaar <bram@vim.org>
parents: 6933
diff changeset
450 #define BO_SPELL 0x20000
28439
16bd027b039e patch 8.2.4744: a terminal window can't use the bell
Bram Moolenaar <Bram@vim.org>
parents: 28353
diff changeset
451 #define BO_TERM 0x40000
16bd027b039e patch 8.2.4744: a terminal window can't use the bell
Bram Moolenaar <Bram@vim.org>
parents: 28353
diff changeset
452 #define BO_WILD 0x80000
6949
1e621b31948b patch 7.4.793
Bram Moolenaar <bram@vim.org>
parents: 6933
diff changeset
453
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
454 EXTERN char_u *p_bsk; // 'backupskip'
2360
d8e4b27cef80 Change 'cryptmethod' from a number to a string option. Make it global-local.
Bram Moolenaar <bram@vim.org>
parents: 2314
diff changeset
455 #ifdef FEAT_CRYPT
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
456 EXTERN char_u *p_cm; // 'cryptmethod'
2360
d8e4b27cef80 Change 'cryptmethod' from a number to a string option. Make it global-local.
Bram Moolenaar <bram@vim.org>
parents: 2314
diff changeset
457 #endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
458 #ifdef FEAT_BEVAL
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
459 # ifdef FEAT_BEVAL_GUI
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
460 EXTERN int p_beval; // 'ballooneval'
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
461 # endif
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
462 EXTERN long p_bdlay; // 'balloondelay'
190
a1f18bd133d6 updated for version 7.0057
vimboss
parents: 168
diff changeset
463 # ifdef FEAT_EVAL
a1f18bd133d6 updated for version 7.0057
vimboss
parents: 168
diff changeset
464 EXTERN char_u *p_bexpr;
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
465 # endif
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
466 # ifdef FEAT_BEVAL_TERM
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
467 EXTERN int p_bevalterm; // 'balloonevalterm'
12865
ebb4f6c93598 patch 8.0.1309: cannot use 'balloonexpr' in a terminal
Christian Brabandt <cb@256bit.org>
parents: 12802
diff changeset
468 # endif
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
469 #endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
470 #ifdef FEAT_BROWSE
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
471 EXTERN char_u *p_bsdir; // 'browsedir'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
472 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
473 #ifdef FEAT_LINEBREAK
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
474 EXTERN char_u *p_breakat; // 'breakat'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
475 #endif
18100
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
476 EXTERN char_u *p_bh; // 'bufhidden'
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
477 EXTERN char_u *p_bt; // 'buftype'
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
478 EXTERN char_u *p_cmp; // 'casemap'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
479 EXTERN unsigned cmp_flags;
15605
62b3805506b3 patch 8.1.0810: too many #ifdefs
Bram Moolenaar <Bram@vim.org>
parents: 15440
diff changeset
480 #define CMP_INTERNAL 0x001
62b3805506b3 patch 8.1.0810: too many #ifdefs
Bram Moolenaar <Bram@vim.org>
parents: 15440
diff changeset
481 #define CMP_KEEPASCII 0x002
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
482 EXTERN char_u *p_enc; // 'encoding'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
483 EXTERN int p_deco; // 'delcombine'
15605
62b3805506b3 patch 8.1.0810: too many #ifdefs
Bram Moolenaar <Bram@vim.org>
parents: 15440
diff changeset
484 #ifdef FEAT_EVAL
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
485 EXTERN char_u *p_ccv; // 'charconvert'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
486 #endif
26670
a77b661439f9 patch 8.2.3864: cannot disable requesting key codes from xterm
Bram Moolenaar <Bram@vim.org>
parents: 26500
diff changeset
487 EXTERN int p_cdh; // 'cdhome'
18100
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
488 EXTERN char_u *p_cino; // 'cinoptions'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
489 #ifdef FEAT_CMDWIN
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
490 EXTERN char_u *p_cedit; // 'cedit'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
491 EXTERN long p_cwh; // 'cmdwinheight'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
492 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
493 #ifdef FEAT_CLIPBOARD
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
494 EXTERN char_u *p_cb; // 'clipboard'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
495 #endif
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
496 EXTERN long p_ch; // 'cmdheight'
18100
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
497 #ifdef FEAT_FOLDING
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
498 EXTERN char_u *p_cms; // 'commentstring'
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
499 #endif
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
500 EXTERN char_u *p_cpt; // 'complete'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
501 #if defined(FEAT_GUI_DIALOG) || defined(FEAT_CON_DIALOG)
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
502 EXTERN int p_confirm; // 'confirm'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
503 #endif
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
504 EXTERN int p_cp; // 'compatible'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
505 EXTERN char_u *p_cot; // 'completeopt'
17809
59f8948b7590 patch 8.1.1901: the +insert_expand feature is not always available
Bram Moolenaar <Bram@vim.org>
parents: 17791
diff changeset
506 #ifdef BACKSLASH_IN_FILENAME
17543
77c3f6428b6c patch 8.1.1769: 'shellslash' is also used for completion
Bram Moolenaar <Bram@vim.org>
parents: 17436
diff changeset
507 EXTERN char_u *p_csl; // 'completeslash'
17809
59f8948b7590 patch 8.1.1901: the +insert_expand feature is not always available
Bram Moolenaar <Bram@vim.org>
parents: 17791
diff changeset
508 #endif
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
509 EXTERN long p_ph; // 'pumheight'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
510 EXTERN long p_pw; // 'pumwidth'
18100
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
511 EXTERN char_u *p_com; // 'comments'
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
512 EXTERN char_u *p_cpo; // 'cpoptions'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
513 #ifdef FEAT_CSCOPE
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
514 EXTERN char_u *p_csprg; // 'cscopeprg'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
515 EXTERN int p_csre; // 'cscoperelative'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
516 # ifdef FEAT_QUICKFIX
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
517 EXTERN char_u *p_csqf; // 'cscopequickfix'
9505
da98db362fef commit https://github.com/vim/vim/commit/6d20e1754461b0f8d395f2e3464f0dc1060497f7
Christian Brabandt <cb@256bit.org>
parents: 9027
diff changeset
518 # define CSQF_CMDS "sgdctefia"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
519 # define CSQF_FLAGS "+-0"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
520 # endif
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
521 EXTERN int p_cst; // 'cscopetag'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
522 EXTERN long p_csto; // 'cscopetagorder'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
523 EXTERN long p_cspc; // 'cscopepathcomp'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
524 EXTERN int p_csverbose; // 'cscopeverbose'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
525 #endif
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
526 EXTERN char_u *p_debug; // 'debug'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
527 #ifdef FEAT_FIND_ID
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
528 EXTERN char_u *p_def; // 'define'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
529 EXTERN char_u *p_inc;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
530 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
531 #ifdef FEAT_DIFF
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
532 EXTERN char_u *p_dip; // 'diffopt'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
533 # ifdef FEAT_EVAL
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
534 EXTERN char_u *p_dex; // 'diffexpr'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
535 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
536 #endif
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
537 EXTERN char_u *p_dict; // 'dictionary'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
538 #ifdef FEAT_DIGRAPHS
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
539 EXTERN int p_dg; // 'digraph'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
540 #endif
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
541 EXTERN char_u *p_dir; // 'directory'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
542 EXTERN char_u *p_dy; // 'display'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
543 EXTERN unsigned dy_flags;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
544 #define DY_LASTLINE 0x001
9665
b193bdb6ea25 commit https://github.com/vim/vim/commit/ad9c2a08f0509294269a2f11a59a438b944bdd5a
Christian Brabandt <cb@256bit.org>
parents: 9536
diff changeset
545 #define DY_TRUNCATE 0x002
b193bdb6ea25 commit https://github.com/vim/vim/commit/ad9c2a08f0509294269a2f11a59a438b944bdd5a
Christian Brabandt <cb@256bit.org>
parents: 9536
diff changeset
546 #define DY_UHEX 0x004
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
547 EXTERN int p_ed; // 'edcompatible'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
548 EXTERN char_u *p_ead; // 'eadirection'
18100
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
549 EXTERN char_u *p_emoji; // 'emoji'
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
550 EXTERN int p_ea; // 'equalalways'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
551 EXTERN char_u *p_ep; // 'equalprg'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
552 EXTERN int p_eb; // 'errorbells'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
553 #ifdef FEAT_QUICKFIX
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
554 EXTERN char_u *p_ef; // 'errorfile'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
555 EXTERN char_u *p_efm; // 'errorformat'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
556 EXTERN char_u *p_gefm; // 'grepformat'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
557 EXTERN char_u *p_gp; // 'grepprg'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
558 #endif
18100
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
559 EXTERN int p_eol; // 'endofline'
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
560 EXTERN int p_ek; // 'esckeys'
18100
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
561 EXTERN char_u *p_ei; // 'eventignore'
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
562 EXTERN int p_et; // 'expandtab'
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
563 EXTERN int p_exrc; // 'exrc'
18100
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
564 EXTERN char_u *p_fenc; // 'fileencoding'
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
565 EXTERN char_u *p_fencs; // 'fileencodings'
18100
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
566 EXTERN char_u *p_ff; // 'fileformat'
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
567 EXTERN char_u *p_ffs; // 'fileformats'
28227
fadcfddcebf4 patch 8.2.4640: some boolean options use "long" instead of "int"
Bram Moolenaar <Bram@vim.org>
parents: 28226
diff changeset
568 EXTERN int p_fic; // 'fileignorecase'
18100
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
569 EXTERN char_u *p_ft; // 'filetype'
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
570 EXTERN char_u *p_fcs; // 'fillchar'
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
571 EXTERN int p_fixeol; // 'fixendofline'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
572 #ifdef FEAT_FOLDING
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
573 EXTERN char_u *p_fcl; // 'foldclose'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
574 EXTERN long p_fdls; // 'foldlevelstart'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
575 EXTERN char_u *p_fdo; // 'foldopen'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
576 EXTERN unsigned fdo_flags;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
577 # define FDO_ALL 0x001
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
578 # define FDO_BLOCK 0x002
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
579 # define FDO_HOR 0x004
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
580 # define FDO_MARK 0x008
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
581 # define FDO_PERCENT 0x010
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
582 # define FDO_QUICKFIX 0x020
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
583 # define FDO_SEARCH 0x040
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
584 # define FDO_TAG 0x080
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
585 # define FDO_INSERT 0x100
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
586 # define FDO_UNDO 0x200
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
587 # define FDO_JUMP 0x400
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
588 #endif
18100
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
589 #if defined(FEAT_EVAL)
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
590 EXTERN char_u *p_fex; // 'formatexpr'
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
591 #endif
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
592 EXTERN char_u *p_flp; // 'formatlistpat'
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
593 EXTERN char_u *p_fo; // 'formatoptions'
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
594 EXTERN char_u *p_fp; // 'formatprg'
378
6b49757d378c updated for version 7.0098
vimboss
parents: 374
diff changeset
595 #ifdef HAVE_FSYNC
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
596 EXTERN int p_fs; // 'fsync'
378
6b49757d378c updated for version 7.0098
vimboss
parents: 374
diff changeset
597 #endif
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
598 EXTERN int p_gd; // 'gdefault'
18763
49b78d6465e5 patch 8.1.2371: FEAT_TEXT_PROP is a confusing name
Bram Moolenaar <Bram@vim.org>
parents: 18753
diff changeset
599 #ifdef FEAT_PROP_POPUP
17791
55c167b08c2b patch 8.1.1892: missing index entry and option menu for 'completepopup'
Bram Moolenaar <Bram@vim.org>
parents: 17781
diff changeset
600 # ifdef FEAT_QUICKFIX
17771
4bd21046902b patch 8.1.1882: cannot specify properties of the info popup window
Bram Moolenaar <Bram@vim.org>
parents: 17543
diff changeset
601 EXTERN char_u *p_cpp; // 'completepopup'
17791
55c167b08c2b patch 8.1.1892: missing index entry and option menu for 'completepopup'
Bram Moolenaar <Bram@vim.org>
parents: 17781
diff changeset
602 # endif
17431
ce35cdbe9f74 patch 8.1.1714: cannot preview a file in a popup window
Bram Moolenaar <Bram@vim.org>
parents: 16778
diff changeset
603 EXTERN char_u *p_pvp; // 'previewpopup'
ce35cdbe9f74 patch 8.1.1714: cannot preview a file in a popup window
Bram Moolenaar <Bram@vim.org>
parents: 16778
diff changeset
604 #endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
605 #ifdef FEAT_PRINTER
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
606 EXTERN char_u *p_pdev; // 'printdevice'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
607 # ifdef FEAT_POSTSCRIPT
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
608 EXTERN char_u *p_penc; // 'printencoding'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
609 EXTERN char_u *p_pexpr; // 'printexpr'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
610 EXTERN char_u *p_pmfn; // 'printmbfont'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
611 EXTERN char_u *p_pmcs; // 'printmbcharset'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
612 # endif
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
613 EXTERN char_u *p_pfn; // 'printfont'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
614 EXTERN char_u *p_popt; // 'printoptions'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
615 EXTERN char_u *p_header; // 'printheader'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
616 #endif
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
617 EXTERN int p_prompt; // 'prompt'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
618 #ifdef FEAT_GUI
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
619 EXTERN char_u *p_guifont; // 'guifont'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
620 # ifdef FEAT_XFONTSET
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
621 EXTERN char_u *p_guifontset; // 'guifontset'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
622 # endif
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
623 EXTERN char_u *p_guifontwide; // 'guifontwide'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
624 EXTERN int p_guipty; // 'guipty'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
625 #endif
25982
aade8ef975d5 patch 8.2.3524: GUI: ligatures are not used
Bram Moolenaar <Bram@vim.org>
parents: 25974
diff changeset
626 #ifdef FEAT_GUI_GTK
aade8ef975d5 patch 8.2.3524: GUI: ligatures are not used
Bram Moolenaar <Bram@vim.org>
parents: 25974
diff changeset
627 EXTERN char_u *p_guiligatures; // 'guiligatures'
aade8ef975d5 patch 8.2.3524: GUI: ligatures are not used
Bram Moolenaar <Bram@vim.org>
parents: 25974
diff changeset
628 # endif
574
25a70b1cd2da updated for version 7.0163
vimboss
parents: 540
diff changeset
629 #if defined(FEAT_GUI_GTK) || defined(FEAT_GUI_X11)
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
630 EXTERN long p_ghr; // 'guiheadroom'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
631 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
632 #ifdef CURSOR_SHAPE
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
633 EXTERN char_u *p_guicursor; // 'guicursor'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
634 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
635 #ifdef FEAT_MOUSESHAPE
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
636 EXTERN char_u *p_mouseshape; // 'mouseshape'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
637 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
638 #if defined(FEAT_GUI)
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
639 EXTERN char_u *p_go; // 'guioptions'
692
a28f83d37113 updated for version 7.0208
vimboss
parents: 688
diff changeset
640 #endif
a28f83d37113 updated for version 7.0208
vimboss
parents: 688
diff changeset
641 #if defined(FEAT_GUI_TABLINE)
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
642 EXTERN char_u *p_gtl; // 'guitablabel'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
643 EXTERN char_u *p_gtt; // 'guitabtooltip'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
644 #endif
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
645 EXTERN char_u *p_hf; // 'helpfile'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
646 EXTERN long p_hh; // 'helpheight'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
647 #ifdef FEAT_MULTI_LANG
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
648 EXTERN char_u *p_hlg; // 'helplang'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
649 #endif
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
650 EXTERN int p_hid; // 'hidden'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
651 EXTERN char_u *p_hl; // 'highlight'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
652 EXTERN int p_hls; // 'hlsearch'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
653 EXTERN long p_hi; // 'history'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
654 #ifdef FEAT_RIGHTLEFT
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
655 EXTERN int p_hkmap; // 'hkmap'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
656 EXTERN int p_hkmapp; // 'hkmapp'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
657 # ifdef FEAT_ARABIC
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
658 EXTERN int p_arshape; // 'arabicshape'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
659 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
660 #endif
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
661 EXTERN int p_icon; // 'icon'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
662 EXTERN char_u *p_iconstring; // 'iconstring'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
663 EXTERN int p_ic; // 'ignorecase'
2275
e4d849f4df03 Remove the old and not well supported GTK 1 code. (James Vega)
Bram Moolenaar <bram@vim.org>
parents: 2250
diff changeset
664 #if defined(FEAT_XIM) && defined(FEAT_GUI_GTK)
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
665 EXTERN char_u *p_imak; // 'imactivatekey'
12920
327e1264b9bf patch 8.0.1336: cannot use imactivatefunc() unless compiled with +xim
Christian Brabandt <cb@256bit.org>
parents: 12871
diff changeset
666 #define IM_ON_THE_SPOT 0L
327e1264b9bf patch 8.0.1336: cannot use imactivatefunc() unless compiled with +xim
Christian Brabandt <cb@256bit.org>
parents: 12871
diff changeset
667 #define IM_OVER_THE_SPOT 1L
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
668 EXTERN long p_imst; // 'imstyle'
12920
327e1264b9bf patch 8.0.1336: cannot use imactivatefunc() unless compiled with +xim
Christian Brabandt <cb@256bit.org>
parents: 12871
diff changeset
669 #endif
15605
62b3805506b3 patch 8.1.0810: too many #ifdefs
Bram Moolenaar <Bram@vim.org>
parents: 15440
diff changeset
670 #if defined(FEAT_EVAL)
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
671 EXTERN char_u *p_imaf; // 'imactivatefunc'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
672 EXTERN char_u *p_imsf; // 'imstatusfunc'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
673 #endif
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
674 EXTERN int p_imcmdline; // 'imcmdline'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
675 EXTERN int p_imdisable; // 'imdisable'
18100
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
676 EXTERN long p_iminsert; // 'iminsert'
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
677 EXTERN long p_imsearch; // 'imsearch'
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
678 EXTERN int p_inf; // 'infercase'
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
679 #if defined(FEAT_FIND_ID) && defined(FEAT_EVAL)
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
680 EXTERN char_u *p_inex; // 'includeexpr'
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
681 #endif
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
682 EXTERN int p_is; // 'incsearch'
28942
6cdf55afaae9 patch 8.2.4993: smart/C/lisp indenting is optional
Bram Moolenaar <Bram@vim.org>
parents: 28809
diff changeset
683 #if defined(FEAT_EVAL)
18100
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
684 EXTERN char_u *p_inde; // 'indentexpr'
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
685 EXTERN char_u *p_indk; // 'indentkeys'
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
686 #endif
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
687 EXTERN int p_im; // 'insertmode'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
688 EXTERN char_u *p_isf; // 'isfname'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
689 EXTERN char_u *p_isi; // 'isident'
18100
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
690 EXTERN char_u *p_isk; // 'iskeyword'
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
691 EXTERN char_u *p_isp; // 'isprint'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
692 EXTERN int p_js; // 'joinspaces'
18100
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
693 #ifdef FEAT_CRYPT
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
694 EXTERN char_u *p_key; // 'key'
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
695 #endif
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
696 #ifdef FEAT_KEYMAP
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
697 EXTERN char_u *p_keymap; // 'keymap'
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
698 #endif
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
699 EXTERN char_u *p_kp; // 'keywordprg'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
700 EXTERN char_u *p_km; // 'keymodel'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
701 #ifdef FEAT_LANGMAP
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
702 EXTERN char_u *p_langmap; // 'langmap'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
703 EXTERN int p_lnr; // 'langnoremap'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
704 EXTERN int p_lrm; // 'langremap'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
705 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
706 #if defined(FEAT_MENU) && defined(FEAT_MULTI_LANG)
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
707 EXTERN char_u *p_lm; // 'langmenu'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
708 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
709 #ifdef FEAT_GUI
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
710 EXTERN long p_linespace; // 'linespace'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
711 #endif
18100
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
712 EXTERN int p_lisp; // 'lisp'
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
713 EXTERN char_u *p_lispwords; // 'lispwords'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
714 EXTERN long p_ls; // 'laststatus'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
715 EXTERN long p_stal; // 'showtabline'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
716 EXTERN char_u *p_lcs; // 'listchars'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
717
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
718 EXTERN int p_lz; // 'lazyredraw'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
719 EXTERN int p_lpl; // 'loadplugins'
7530
5d1b5fd708c6 commit https://github.com/vim/vim/commit/64496ffc9cfb0eb6f2074f22809de2b420b5f300
Christian Brabandt <cb@256bit.org>
parents: 7408
diff changeset
720 #if defined(DYNAMIC_LUA)
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
721 EXTERN char_u *p_luadll; // 'luadll'
7196
42717d048817 commit https://github.com/vim/vim/commit/d94464ee294a351ce7b6ba18e8bd3f24f1bef920
Christian Brabandt <cb@256bit.org>
parents: 6949
diff changeset
722 #endif
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
723 EXTERN int p_magic; // 'magic'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
724 EXTERN char_u *p_menc; // 'makeencoding'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
725 #ifdef FEAT_QUICKFIX
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
726 EXTERN char_u *p_mef; // 'makeef'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
727 EXTERN char_u *p_mp; // 'makeprg'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
728 #endif
18100
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
729 EXTERN char_u *p_mps; // 'matchpairs'
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
730 EXTERN long p_mat; // 'matchtime'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
731 EXTERN long p_mco; // 'maxcombine'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
732 #ifdef FEAT_EVAL
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
733 EXTERN long p_mfd; // 'maxfuncdepth'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
734 #endif
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
735 EXTERN long p_mmd; // 'maxmapdepth'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
736 EXTERN long p_mm; // 'maxmem'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
737 EXTERN long p_mmp; // 'maxmempattern'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
738 EXTERN long p_mmt; // 'maxmemtot'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
739 #ifdef FEAT_MENU
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
740 EXTERN long p_mis; // 'menuitems'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
741 #endif
744
07f7b4a7755c updated for version 7.0222
vimboss
parents: 714
diff changeset
742 #ifdef FEAT_SPELL
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
743 EXTERN char_u *p_msm; // 'mkspellmem'
484
f012c4ed8c38 updated for version 7.0132
vimboss
parents: 378
diff changeset
744 #endif
18100
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
745 EXTERN int p_ml; // 'modeline'
28227
fadcfddcebf4 patch 8.2.4640: some boolean options use "long" instead of "int"
Bram Moolenaar <Bram@vim.org>
parents: 28226
diff changeset
746 EXTERN int p_mle; // 'modelineexpr'
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
747 EXTERN long p_mls; // 'modelines'
18100
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
748 EXTERN int p_ma; // 'modifiable'
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
749 EXTERN int p_mod; // 'modified'
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
750 EXTERN char_u *p_mouse; // 'mouse'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
751 #ifdef FEAT_GUI
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
752 EXTERN int p_mousef; // 'mousefocus'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
753 EXTERN int p_mh; // 'mousehide'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
754 #endif
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
755 EXTERN char_u *p_mousem; // 'mousemodel'
28297
4190b932e6ca patch 8.2.4674: cannot force getting MouseMove events
Bram Moolenaar <Bram@vim.org>
parents: 28227
diff changeset
756 #ifdef FEAT_GUI
4190b932e6ca patch 8.2.4674: cannot force getting MouseMove events
Bram Moolenaar <Bram@vim.org>
parents: 28227
diff changeset
757 EXTERN int p_mousemev; // 'mousemoveevent'
4190b932e6ca patch 8.2.4674: cannot force getting MouseMove events
Bram Moolenaar <Bram@vim.org>
parents: 28227
diff changeset
758 #endif
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
759 EXTERN long p_mouset; // 'mousetime'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
760 EXTERN int p_more; // 'more'
14
946da5994c01 updated for version 7.0006
vimboss
parents: 11
diff changeset
761 #ifdef FEAT_MZSCHEME
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
762 EXTERN long p_mzq; // 'mzquantum
12608
b390f5003e2f patch 8.0.1182: cannot see or change mzscheme dll name
Christian Brabandt <cb@256bit.org>
parents: 12477
diff changeset
763 # if defined(DYNAMIC_MZSCHEME)
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
764 EXTERN char_u *p_mzschemedll; // 'mzschemedll'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
765 EXTERN char_u *p_mzschemegcdll; // 'mzschemegcdll'
12608
b390f5003e2f patch 8.0.1182: cannot see or change mzscheme dll name
Christian Brabandt <cb@256bit.org>
parents: 12477
diff changeset
766 # endif
14
946da5994c01 updated for version 7.0006
vimboss
parents: 11
diff changeset
767 #endif
18100
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
768 EXTERN char_u *p_nf; // 'nrformats'
8212
05b88224cea1 commit https://github.com/vim/vim/commit/48e330aff911be1c798c88a973af6437a8141fce
Christian Brabandt <cb@256bit.org>
parents: 8182
diff changeset
769 #if defined(MSWIN)
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
770 EXTERN int p_odev; // 'opendevice'
1004
09d0e83c29b8 updated for version 7.0-130
vimboss
parents: 842
diff changeset
771 #endif
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
772 EXTERN char_u *p_opfunc; // 'operatorfunc'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
773 EXTERN char_u *p_para; // 'paragraphs'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
774 EXTERN int p_paste; // 'paste'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
775 EXTERN char_u *p_pt; // 'pastetoggle'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
776 #if defined(FEAT_EVAL) && defined(FEAT_DIFF)
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
777 EXTERN char_u *p_pex; // 'patchexpr'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
778 #endif
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
779 EXTERN char_u *p_pm; // 'patchmode'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
780 EXTERN char_u *p_path; // 'path'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
781 EXTERN char_u *p_cdpath; // 'cdpath'
7530
5d1b5fd708c6 commit https://github.com/vim/vim/commit/64496ffc9cfb0eb6f2074f22809de2b420b5f300
Christian Brabandt <cb@256bit.org>
parents: 7408
diff changeset
782 #if defined(DYNAMIC_PERL)
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
783 EXTERN char_u *p_perldll; // 'perldll'
7196
42717d048817 commit https://github.com/vim/vim/commit/d94464ee294a351ce7b6ba18e8bd3f24f1bef920
Christian Brabandt <cb@256bit.org>
parents: 6949
diff changeset
784 #endif
18100
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
785 EXTERN int p_pi; // 'preserveindent'
7530
5d1b5fd708c6 commit https://github.com/vim/vim/commit/64496ffc9cfb0eb6f2074f22809de2b420b5f300
Christian Brabandt <cb@256bit.org>
parents: 7408
diff changeset
786 #if defined(DYNAMIC_PYTHON3)
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
787 EXTERN char_u *p_py3dll; // 'pythonthreedll'
7196
42717d048817 commit https://github.com/vim/vim/commit/d94464ee294a351ce7b6ba18e8bd3f24f1bef920
Christian Brabandt <cb@256bit.org>
parents: 6949
diff changeset
788 #endif
13154
53cc7ea77c54 patch 8.0.1451: difficult to set the python home directories properly
Christian Brabandt <cb@256bit.org>
parents: 12924
diff changeset
789 #ifdef FEAT_PYTHON3
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
790 EXTERN char_u *p_py3home; // 'pythonthreehome'
13154
53cc7ea77c54 patch 8.0.1451: difficult to set the python home directories properly
Christian Brabandt <cb@256bit.org>
parents: 12924
diff changeset
791 #endif
7530
5d1b5fd708c6 commit https://github.com/vim/vim/commit/64496ffc9cfb0eb6f2074f22809de2b420b5f300
Christian Brabandt <cb@256bit.org>
parents: 7408
diff changeset
792 #if defined(DYNAMIC_PYTHON)
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
793 EXTERN char_u *p_pydll; // 'pythondll'
7196
42717d048817 commit https://github.com/vim/vim/commit/d94464ee294a351ce7b6ba18e8bd3f24f1bef920
Christian Brabandt <cb@256bit.org>
parents: 6949
diff changeset
794 #endif
13154
53cc7ea77c54 patch 8.0.1451: difficult to set the python home directories properly
Christian Brabandt <cb@256bit.org>
parents: 12924
diff changeset
795 #ifdef FEAT_PYTHON
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
796 EXTERN char_u *p_pyhome; // 'pythonhome'
13154
53cc7ea77c54 patch 8.0.1451: difficult to set the python home directories properly
Christian Brabandt <cb@256bit.org>
parents: 12924
diff changeset
797 #endif
10722
7598ce51bf2a patch 8.0.0251: not easy to select Python 2 or 3
Christian Brabandt <cb@256bit.org>
parents: 10579
diff changeset
798 #if defined(FEAT_PYTHON) || defined(FEAT_PYTHON3)
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
799 EXTERN long p_pyx; // 'pyxversion'
10722
7598ce51bf2a patch 8.0.0251: not easy to select Python 2 or 3
Christian Brabandt <cb@256bit.org>
parents: 10579
diff changeset
800 #endif
18100
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
801 EXTERN char_u *p_qe; // 'quoteescape'
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
802 EXTERN int p_ro; // 'readonly'
1521
cc4fe241baa3 updated for version 7.1-236
vimboss
parents: 1217
diff changeset
803 #ifdef FEAT_RELTIME
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
804 EXTERN long p_rdt; // 'redrawtime'
1521
cc4fe241baa3 updated for version 7.1-236
vimboss
parents: 1217
diff changeset
805 #endif
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
806 EXTERN int p_remap; // 'remap'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
807 EXTERN long p_re; // 'regexpengine'
6110
1bff71d20262 updated for version 7.4.393
Bram Moolenaar <bram@vim.org>
parents: 5995
diff changeset
808 #ifdef FEAT_RENDER_OPTIONS
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
809 EXTERN char_u *p_rop; // 'renderoptions'
6110
1bff71d20262 updated for version 7.4.393
Bram Moolenaar <bram@vim.org>
parents: 5995
diff changeset
810 #endif
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
811 EXTERN long p_report; // 'report'
12477
68d7bc045dbe patch 8.0.1118: FEAT_WINDOWS adds a lot of #ifdefs
Christian Brabandt <cb@256bit.org>
parents: 12293
diff changeset
812 #if defined(FEAT_QUICKFIX)
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
813 EXTERN long p_pvh; // 'previewheight'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
814 #endif
15868
7fad90423bd2 patch 8.1.0941: macros for MS-Windows are inconsistent
Bram Moolenaar <Bram@vim.org>
parents: 15840
diff changeset
815 #ifdef MSWIN
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
816 EXTERN int p_rs; // 'restorescreen'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
817 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
818 #ifdef FEAT_RIGHTLEFT
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
819 EXTERN int p_ari; // 'allowrevins'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
820 EXTERN int p_ri; // 'revins'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
821 #endif
7530
5d1b5fd708c6 commit https://github.com/vim/vim/commit/64496ffc9cfb0eb6f2074f22809de2b420b5f300
Christian Brabandt <cb@256bit.org>
parents: 7408
diff changeset
822 #if defined(DYNAMIC_RUBY)
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
823 EXTERN char_u *p_rubydll; // 'rubydll'
7196
42717d048817 commit https://github.com/vim/vim/commit/d94464ee294a351ce7b6ba18e8bd3f24f1bef920
Christian Brabandt <cb@256bit.org>
parents: 6949
diff changeset
824 #endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
825 #ifdef FEAT_CMDL_INFO
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
826 EXTERN int p_ru; // 'ruler'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
827 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
828 #ifdef FEAT_STL_OPT
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
829 EXTERN char_u *p_ruf; // 'rulerformat'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
830 #endif
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
831 EXTERN char_u *p_pp; // 'packpath'
27018
268f6a3511df patch 8.2.4038: various code not used when features are disabled
Bram Moolenaar <Bram@vim.org>
parents: 26670
diff changeset
832 #ifdef FEAT_QUICKFIX
20631
d6827bd31d1d patch 8.2.0869: it is not possible to customize the quickfix window contents
Bram Moolenaar <Bram@vim.org>
parents: 20069
diff changeset
833 EXTERN char_u *p_qftf; // 'quickfixtextfunc'
27018
268f6a3511df patch 8.2.4038: various code not used when features are disabled
Bram Moolenaar <Bram@vim.org>
parents: 26670
diff changeset
834 #endif
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
835 EXTERN char_u *p_rtp; // 'runtimepath'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
836 EXTERN long p_sj; // 'scrolljump'
18526
334b1f897f3a patch 8.1.2257: MS-Windows GUI: scroll wheel always uses current window
Bram Moolenaar <Bram@vim.org>
parents: 18463
diff changeset
837 #if defined(MSWIN) && defined(FEAT_GUI)
334b1f897f3a patch 8.1.2257: MS-Windows GUI: scroll wheel always uses current window
Bram Moolenaar <Bram@vim.org>
parents: 18463
diff changeset
838 EXTERN int p_scf; // 'scrollfocus'
334b1f897f3a patch 8.1.2257: MS-Windows GUI: scroll wheel always uses current window
Bram Moolenaar <Bram@vim.org>
parents: 18463
diff changeset
839 #endif
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
840 EXTERN long p_so; // 'scrolloff'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
841 EXTERN char_u *p_sbo; // 'scrollopt'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
842 EXTERN char_u *p_sections; // 'sections'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
843 EXTERN int p_secure; // 'secure'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
844 EXTERN char_u *p_sel; // 'selection'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
845 EXTERN char_u *p_slm; // 'selectmode'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
846 #ifdef FEAT_SESSION
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
847 EXTERN char_u *p_ssop; // 'sessionoptions'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
848 EXTERN unsigned ssop_flags;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
849 # define SSOP_BUFFERS 0x001
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
850 # define SSOP_WINPOS 0x002
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
851 # define SSOP_RESIZE 0x004
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
852 # define SSOP_WINSIZE 0x008
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
853 # define SSOP_LOCALOPTIONS 0x010
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
854 # define SSOP_OPTIONS 0x020
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
855 # define SSOP_HELP 0x040
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
856 # define SSOP_BLANK 0x080
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
857 # define SSOP_GLOBALS 0x100
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
858 # define SSOP_SLASH 0x200
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
859 # define SSOP_UNIX 0x400
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
860 # define SSOP_SESDIR 0x800
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
861 # define SSOP_CURDIR 0x1000
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
862 # define SSOP_FOLDS 0x2000
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
863 # define SSOP_CURSOR 0x4000
827
fd1b3406fd1c updated for version 7.0d02
vimboss
parents: 820
diff changeset
864 # define SSOP_TABPAGES 0x8000
13435
fa198b71bab2 patch 8.0.1592: terminal windows in a session are not properly restored
Christian Brabandt <cb@256bit.org>
parents: 13384
diff changeset
865 # define SSOP_TERMINAL 0x10000
24464
a56f9c2ba51c patch 8.2.2772: problems when restoring 'runtimepath' from a session file
Bram Moolenaar <Bram@vim.org>
parents: 24268
diff changeset
866 # define SSOP_SKIP_RTP 0x20000
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
867 #endif
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
868 EXTERN char_u *p_sh; // 'shell'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
869 EXTERN char_u *p_shcf; // 'shellcmdflag'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
870 #ifdef FEAT_QUICKFIX
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
871 EXTERN char_u *p_sp; // 'shellpipe'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
872 #endif
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
873 EXTERN char_u *p_shq; // 'shellquote'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
874 EXTERN char_u *p_sxq; // 'shellxquote'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
875 EXTERN char_u *p_sxe; // 'shellxescape'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
876 EXTERN char_u *p_srr; // 'shellredir'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
877 #ifdef AMIGA
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
878 EXTERN long p_st; // 'shelltype'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
879 #endif
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
880 EXTERN int p_stmp; // 'shelltemp'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
881 #ifdef BACKSLASH_IN_FILENAME
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
882 EXTERN int p_ssl; // 'shellslash'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
883 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
884 #ifdef FEAT_STL_OPT
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
885 EXTERN char_u *p_stl; // 'statusline'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
886 #endif
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
887 EXTERN int p_sr; // 'shiftround'
18100
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
888 EXTERN long p_sw; // 'shiftwidth'
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
889 EXTERN char_u *p_shm; // 'shortmess'
18100
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
890 EXTERN int p_sn; // 'shortname'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
891 #ifdef FEAT_LINEBREAK
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
892 EXTERN char_u *p_sbr; // 'showbreak'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
893 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
894 #ifdef FEAT_CMDL_INFO
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
895 EXTERN int p_sc; // 'showcmd'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
896 #endif
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
897 EXTERN int p_sft; // 'showfulltag'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
898 EXTERN int p_sm; // 'showmatch'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
899 EXTERN int p_smd; // 'showmode'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
900 EXTERN long p_ss; // 'sidescroll'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
901 EXTERN long p_siso; // 'sidescrolloff'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
902 EXTERN int p_scs; // 'smartcase'
18100
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
903 EXTERN int p_si; // 'smartindent'
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
904 EXTERN int p_sta; // 'smarttab'
18100
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
905 EXTERN long p_sts; // 'softtabstop'
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
906 EXTERN int p_sb; // 'splitbelow'
18100
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
907 EXTERN char_u *p_sua; // 'suffixesadd'
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
908 EXTERN int p_swf; // 'swapfile'
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
909 #ifdef FEAT_SYN_HL
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
910 EXTERN long p_smc; // 'synmaxcol'
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
911 #endif
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
912 EXTERN long p_tpm; // 'tabpagemax'
18100
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
913 #ifdef FEAT_STL_OPT
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
914 EXTERN char_u *p_tal; // 'tabline'
18100
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
915 #endif
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
916 #ifdef FEAT_EVAL
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
917 EXTERN char_u *p_tfu; // 'tagfunc'
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
918 #endif
744
07f7b4a7755c updated for version 7.0222
vimboss
parents: 714
diff changeset
919 #ifdef FEAT_SPELL
18100
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
920 EXTERN char_u *p_spc; // 'spellcapcheck'
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
921 EXTERN char_u *p_spf; // 'spellfile'
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
922 EXTERN char_u *p_spl; // 'spelllang'
20802
ed00f0fbdaef patch 8.2.0953: spell checking doesn't work for CamelCased words
Bram Moolenaar <Bram@vim.org>
parents: 20695
diff changeset
923 EXTERN char_u *p_spo; // 'spelloptions'
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
924 EXTERN char_u *p_sps; // 'spellsuggest'
344
7033303ea0c0 updated for version 7.0089
vimboss
parents: 294
diff changeset
925 #endif
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
926 EXTERN int p_spr; // 'splitright'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
927 EXTERN int p_sol; // 'startofline'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
928 EXTERN char_u *p_su; // 'suffixes'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
929 EXTERN char_u *p_sws; // 'swapsync'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
930 EXTERN char_u *p_swb; // 'switchbuf'
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 1521
diff changeset
931 EXTERN unsigned swb_flags;
18646
394abd397e15 patch 8.1.2315: not always using the right window when jumping to an error
Bram Moolenaar <Bram@vim.org>
parents: 18574
diff changeset
932 // Keep in sync with p_swb_values in optionstr.c
1622
149d8b46404c updated for version 7.2a
vimboss
parents: 1521
diff changeset
933 #define SWB_USEOPEN 0x001
149d8b46404c updated for version 7.2a
vimboss
parents: 1521
diff changeset
934 #define SWB_USETAB 0x002
149d8b46404c updated for version 7.2a
vimboss
parents: 1521
diff changeset
935 #define SWB_SPLIT 0x004
149d8b46404c updated for version 7.2a
vimboss
parents: 1521
diff changeset
936 #define SWB_NEWTAB 0x008
6843
50cdebea094f patch 7.4.742
Bram Moolenaar <bram@vim.org>
parents: 6339
diff changeset
937 #define SWB_VSPLIT 0x010
18646
394abd397e15 patch 8.1.2315: not always using the right window when jumping to an error
Bram Moolenaar <Bram@vim.org>
parents: 18574
diff changeset
938 #define SWB_USELAST 0x020
27018
268f6a3511df patch 8.2.4038: various code not used when features are disabled
Bram Moolenaar <Bram@vim.org>
parents: 26670
diff changeset
939 #ifdef FEAT_SYN_HL
18100
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
940 EXTERN char_u *p_syn; // 'syntax'
27018
268f6a3511df patch 8.2.4038: various code not used when features are disabled
Bram Moolenaar <Bram@vim.org>
parents: 26670
diff changeset
941 #endif
18100
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
942 EXTERN long p_ts; // 'tabstop'
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
943 EXTERN int p_tbs; // 'tagbsearch'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
944 EXTERN char_u *p_tc; // 'tagcase'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
945 EXTERN unsigned tc_flags; // flags from 'tagcase'
7266
6ba7182fb7bd commit https://github.com/vim/vim/commit/0f6562e9036f889185dff49a75c7fc5ffb28b307
Christian Brabandt <cb@256bit.org>
parents: 7233
diff changeset
946 #define TC_FOLLOWIC 0x01
6ba7182fb7bd commit https://github.com/vim/vim/commit/0f6562e9036f889185dff49a75c7fc5ffb28b307
Christian Brabandt <cb@256bit.org>
parents: 7233
diff changeset
947 #define TC_IGNORE 0x02
6ba7182fb7bd commit https://github.com/vim/vim/commit/0f6562e9036f889185dff49a75c7fc5ffb28b307
Christian Brabandt <cb@256bit.org>
parents: 7233
diff changeset
948 #define TC_MATCH 0x04
9913
bb00c661b3a4 commit https://github.com/vim/vim/commit/66e29d7112e437b2b50efe1f82c7e892736d23e4
Christian Brabandt <cb@256bit.org>
parents: 9852
diff changeset
949 #define TC_FOLLOWSCS 0x08
bb00c661b3a4 commit https://github.com/vim/vim/commit/66e29d7112e437b2b50efe1f82c7e892736d23e4
Christian Brabandt <cb@256bit.org>
parents: 9852
diff changeset
950 #define TC_SMART 0x10
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
951 EXTERN long p_tl; // 'taglength'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
952 EXTERN int p_tr; // 'tagrelative'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
953 EXTERN char_u *p_tags; // 'tags'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
954 EXTERN int p_tgst; // 'tagstack'
7538
c9fc24b76293 commit https://github.com/vim/vim/commit/8a5115cf18751022387af2085f374d38c60dde83
Christian Brabandt <cb@256bit.org>
parents: 7530
diff changeset
955 #if defined(DYNAMIC_TCL)
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
956 EXTERN char_u *p_tcldll; // 'tcldll'
7538
c9fc24b76293 commit https://github.com/vim/vim/commit/8a5115cf18751022387af2085f374d38c60dde83
Christian Brabandt <cb@256bit.org>
parents: 7530
diff changeset
957 #endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
958 #ifdef FEAT_ARABIC
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
959 EXTERN int p_tbidi; // 'termbidi'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
960 #endif
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
961 EXTERN char_u *p_tenc; // 'termencoding'
9027
773d627cac0b commit https://github.com/vim/vim/commit/61be73bb0f965a895bfb064ea3e55476ac175162
Christian Brabandt <cb@256bit.org>
parents: 8969
diff changeset
962 #ifdef FEAT_TERMGUICOLORS
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
963 EXTERN int p_tgc; // 'termguicolors'
9027
773d627cac0b commit https://github.com/vim/vim/commit/61be73bb0f965a895bfb064ea3e55476ac175162
Christian Brabandt <cb@256bit.org>
parents: 8969
diff changeset
964 #endif
18100
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
965 #ifdef FEAT_TERMINAL
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
966 EXTERN long p_twsl; // 'termwinscroll'
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
967 #endif
15868
7fad90423bd2 patch 8.1.0941: macros for MS-Windows are inconsistent
Bram Moolenaar <Bram@vim.org>
parents: 15840
diff changeset
968 #if defined(MSWIN) && defined(FEAT_TERMINAL)
15746
c017195b121b patch 8.1.0880: MS-Windows: inconsistent selection of winpty/conpty
Bram Moolenaar <Bram@vim.org>
parents: 15725
diff changeset
969 EXTERN char_u *p_twt; // 'termwintype'
c017195b121b patch 8.1.0880: MS-Windows: inconsistent selection of winpty/conpty
Bram Moolenaar <Bram@vim.org>
parents: 15725
diff changeset
970 #endif
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
971 EXTERN int p_terse; // 'terse'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
972 EXTERN int p_ta; // 'textauto'
18100
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
973 EXTERN int p_tx; // 'textmode'
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
974 EXTERN long p_tw; // 'textwidth'
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
975 EXTERN int p_to; // 'tildeop'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
976 EXTERN int p_timeout; // 'timeout'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
977 EXTERN long p_tm; // 'timeoutlen'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
978 EXTERN int p_title; // 'title'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
979 EXTERN long p_titlelen; // 'titlelen'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
980 EXTERN char_u *p_titleold; // 'titleold'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
981 EXTERN char_u *p_titlestring; // 'titlestring'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
982 EXTERN char_u *p_tsr; // 'thesaurus'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
983 EXTERN int p_ttimeout; // 'ttimeout'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
984 EXTERN long p_ttm; // 'ttimeoutlen'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
985 EXTERN int p_tbi; // 'ttybuiltin'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
986 EXTERN int p_tf; // 'ttyfast'
15868
7fad90423bd2 patch 8.1.0941: macros for MS-Windows are inconsistent
Bram Moolenaar <Bram@vim.org>
parents: 15840
diff changeset
987 #if defined(FEAT_TOOLBAR) && !defined(FEAT_GUI_MSWIN)
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
988 EXTERN char_u *p_toolbar; // 'toolbar'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
989 EXTERN unsigned toolbar_flags;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
990 # define TOOLBAR_TEXT 0x01
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
991 # define TOOLBAR_ICONS 0x02
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
992 # define TOOLBAR_TOOLTIPS 0x04
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
993 # define TOOLBAR_HORIZ 0x08
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
994 #endif
2275
e4d849f4df03 Remove the old and not well supported GTK 1 code. (James Vega)
Bram Moolenaar <bram@vim.org>
parents: 2250
diff changeset
995 #if defined(FEAT_TOOLBAR) && defined(FEAT_GUI_GTK)
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
996 EXTERN char_u *p_tbis; // 'toolbariconsize'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
997 EXTERN unsigned tbis_flags;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
998 # define TBIS_TINY 0x01
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
999 # define TBIS_SMALL 0x02
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1000 # define TBIS_MEDIUM 0x04
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1001 # define TBIS_LARGE 0x08
8469
42020d59a432 commit https://github.com/vim/vim/commit/beb003b303cde1e55634aae9f810535684b76211
Christian Brabandt <cb@256bit.org>
parents: 8212
diff changeset
1002 # define TBIS_HUGE 0x10
42020d59a432 commit https://github.com/vim/vim/commit/beb003b303cde1e55634aae9f810535684b76211
Christian Brabandt <cb@256bit.org>
parents: 8212
diff changeset
1003 # define TBIS_GIANT 0x20
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1004 #endif
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
1005 EXTERN long p_ttyscroll; // 'ttyscroll'
18354
9f51d0cef8da patch 8.1.2171: mouse support not always available
Bram Moolenaar <Bram@vim.org>
parents: 18203
diff changeset
1006 #if defined(UNIX) || defined(VMS)
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
1007 EXTERN char_u *p_ttym; // 'ttymouse'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1008 EXTERN unsigned ttym_flags;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1009 # define TTYM_XTERM 0x01
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1010 # define TTYM_XTERM2 0x02
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1011 # define TTYM_DEC 0x04
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1012 # define TTYM_NETTERM 0x08
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1013 # define TTYM_JSBTERM 0x10
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1014 # define TTYM_PTERM 0x20
3145
98a05814f1b4 updated for version 7.3.343
Bram Moolenaar <bram@vim.org>
parents: 3104
diff changeset
1015 # define TTYM_URXVT 0x40
3746
44038a9777aa updated for version 7.3.632
Bram Moolenaar <bram@vim.org>
parents: 3674
diff changeset
1016 # define TTYM_SGR 0x80
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1017 #endif
27018
268f6a3511df patch 8.2.4038: various code not used when features are disabled
Bram Moolenaar <Bram@vim.org>
parents: 26670
diff changeset
1018 #ifdef FEAT_PERSISTENT_UNDO
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
1019 EXTERN char_u *p_udir; // 'undodir'
18100
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
1020 EXTERN int p_udf; // 'undofile'
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
1021 #endif
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
1022 EXTERN long p_ul; // 'undolevels'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
1023 EXTERN long p_ur; // 'undoreload'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
1024 EXTERN long p_uc; // 'updatecount'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
1025 EXTERN long p_ut; // 'updatetime'
18100
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
1026 #ifdef FEAT_VARTABS
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
1027 EXTERN char_u *p_vsts; // 'varsofttabstop'
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
1028 EXTERN char_u *p_vts; // 'vartabstop'
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
1029 #endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1030 #ifdef FEAT_VIMINFO
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
1031 EXTERN char_u *p_viminfo; // 'viminfo'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
1032 EXTERN char_u *p_viminfofile; // 'viminfofile'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1033 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1034 #ifdef FEAT_SESSION
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
1035 EXTERN char_u *p_vdir; // 'viewdir'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
1036 EXTERN char_u *p_vop; // 'viewoptions'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
1037 EXTERN unsigned vop_flags; // uses SSOP_ flags
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1038 #endif
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
1039 EXTERN int p_vb; // 'visualbell'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
1040 EXTERN char_u *p_ve; // 'virtualedit'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1041 EXTERN unsigned ve_flags;
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
1042 #define VE_BLOCK 5 // includes "all"
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
1043 #define VE_INSERT 6 // includes "all"
15636
6f1c7e9a6393 patch 8.1.0826: too many #ifdefs
Bram Moolenaar <Bram@vim.org>
parents: 15605
diff changeset
1044 #define VE_ALL 4
6f1c7e9a6393 patch 8.1.0826: too many #ifdefs
Bram Moolenaar <Bram@vim.org>
parents: 15605
diff changeset
1045 #define VE_ONEMORE 8
25487
c26ff3203b43 patch 8.2.3280: 'virtualedit' local to buffer is not the best solution
Bram Moolenaar <Bram@vim.org>
parents: 25380
diff changeset
1046 #define VE_NONE 16 // "none"
c26ff3203b43 patch 8.2.3280: 'virtualedit' local to buffer is not the best solution
Bram Moolenaar <Bram@vim.org>
parents: 25380
diff changeset
1047 #define VE_NONEU 32 // "NONE"
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
1048 EXTERN long p_verbose; // 'verbose'
2696
a041f68d0590 updated for version 7.3.114
Bram Moolenaar <bram@vim.org>
parents: 2652
diff changeset
1049 #ifdef IN_OPTION_C
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
1050 char_u *p_vfile = (char_u *)""; // used before options are initialized
2696
a041f68d0590 updated for version 7.3.114
Bram Moolenaar <bram@vim.org>
parents: 2652
diff changeset
1051 #else
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
1052 extern char_u *p_vfile; // 'verbosefile'
2696
a041f68d0590 updated for version 7.3.114
Bram Moolenaar <bram@vim.org>
parents: 2652
diff changeset
1053 #endif
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
1054 EXTERN int p_warn; // 'warn'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
1055 EXTERN char_u *p_wop; // 'wildoptions'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
1056 EXTERN long p_window; // 'window'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1057 #if defined(FEAT_GUI_MSWIN) || defined(FEAT_GUI_MOTIF) || defined(LINT) \
574
25a70b1cd2da updated for version 7.0163
vimboss
parents: 540
diff changeset
1058 || defined (FEAT_GUI_GTK) || defined(FEAT_GUI_PHOTON)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1059 #define FEAT_WAK
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
1060 EXTERN char_u *p_wak; // 'winaltkeys'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1061 #endif
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
1062 EXTERN char_u *p_wig; // 'wildignore'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
1063 EXTERN int p_wiv; // 'weirdinvert'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
1064 EXTERN char_u *p_ww; // 'whichwrap'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
1065 EXTERN long p_wc; // 'wildchar'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
1066 EXTERN long p_wcm; // 'wildcharm'
28227
fadcfddcebf4 patch 8.2.4640: some boolean options use "long" instead of "int"
Bram Moolenaar <Bram@vim.org>
parents: 28226
diff changeset
1067 EXTERN int p_wic; // 'wildignorecase'
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
1068 EXTERN char_u *p_wim; // 'wildmode'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
1069 EXTERN int p_wmnu; // 'wildmenu'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
1070 EXTERN long p_wh; // 'winheight'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
1071 EXTERN long p_wmh; // 'winminheight'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
1072 EXTERN long p_wmw; // 'winminwidth'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
1073 EXTERN long p_wiw; // 'winwidth'
15868
7fad90423bd2 patch 8.1.0941: macros for MS-Windows are inconsistent
Bram Moolenaar <Bram@vim.org>
parents: 15840
diff changeset
1074 #if defined(MSWIN) && defined(FEAT_TERMINAL)
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
1075 EXTERN char_u *p_winptydll; // 'winptydll'
12138
bee3751f3d4e patch 8.0.0949: winpty.dll name is fixed
Christian Brabandt <cb@256bit.org>
parents: 11957
diff changeset
1076 #endif
18100
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18078
diff changeset
1077 EXTERN long p_wm; // 'wrapmargin'
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
1078 EXTERN int p_ws; // 'wrapscan'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
1079 EXTERN int p_write; // 'write'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
1080 EXTERN int p_wa; // 'writeany'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
1081 EXTERN int p_wb; // 'writebackup'
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
1082 EXTERN long p_wd; // 'writedelay'
26670
a77b661439f9 patch 8.2.3864: cannot disable requesting key codes from xterm
Bram Moolenaar <Bram@vim.org>
parents: 26500
diff changeset
1083 EXTERN int p_xtermcodes; // 'xtermcodes'
694
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1084
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1085 /*
19195
2ef19eed524a patch 8.2.0156: various typos in source files and tests
Bram Moolenaar <Bram@vim.org>
parents: 18763
diff changeset
1086 * "indir" values for buffer-local options.
694
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1087 * These need to be defined globally, so that the BV_COUNT can be used with
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1088 * b_p_scriptID[].
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1089 */
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1090 enum
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1091 {
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1092 BV_AI = 0
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1093 , BV_AR
11766
6315c631dcb7 patch 8.0.0765: build fails with tiny features
Christian Brabandt <cb@256bit.org>
parents: 11666
diff changeset
1094 , BV_BH
6315c631dcb7 patch 8.0.0765: build fails with tiny features
Christian Brabandt <cb@256bit.org>
parents: 11666
diff changeset
1095 , BV_BKC
6315c631dcb7 patch 8.0.0765: build fails with tiny features
Christian Brabandt <cb@256bit.org>
parents: 11666
diff changeset
1096 , BV_BT
694
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1097 #ifdef FEAT_QUICKFIX
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1098 , BV_EFM
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1099 , BV_GP
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1100 , BV_MP
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1101 #endif
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1102 , BV_BIN
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1103 , BV_BL
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1104 , BV_BOMB
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1105 , BV_CI
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1106 , BV_CIN
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1107 , BV_CINK
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1108 , BV_CINO
28353
8bc8071928ed patch 8.2.4702: C++ scope labels are hard-coded
Bram Moolenaar <Bram@vim.org>
parents: 28297
diff changeset
1109 , BV_CINSD
694
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1110 , BV_CINW
2180
f60a0c9cbe6c Add the blowfish encryption patch from Mohsin Ahmed. Needs more work.
Bram Moolenaar <bram@vim.org>
parents: 2178
diff changeset
1111 , BV_CM
694
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1112 #ifdef FEAT_FOLDING
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1113 , BV_CMS
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1114 #endif
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1115 , BV_COM
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1116 , BV_CPT
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1117 , BV_DICT
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1118 , BV_TSR
17543
77c3f6428b6c patch 8.1.1769: 'shellslash' is also used for completion
Bram Moolenaar <Bram@vim.org>
parents: 17436
diff changeset
1119 #ifdef BACKSLASH_IN_FILENAME
77c3f6428b6c patch 8.1.1769: 'shellslash' is also used for completion
Bram Moolenaar <Bram@vim.org>
parents: 17436
diff changeset
1120 , BV_CSL
77c3f6428b6c patch 8.1.1769: 'shellslash' is also used for completion
Bram Moolenaar <Bram@vim.org>
parents: 17436
diff changeset
1121 #endif
694
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1122 #ifdef FEAT_COMPL_FUNC
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1123 , BV_CFU
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1124 #endif
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1125 #ifdef FEAT_FIND_ID
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1126 , BV_DEF
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1127 , BV_INC
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1128 #endif
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1129 , BV_EOL
6933
62ba356c2d4e patch 7.4.785
Bram Moolenaar <bram@vim.org>
parents: 6843
diff changeset
1130 , BV_FIXEOL
694
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1131 , BV_EP
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1132 , BV_ET
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1133 , BV_FENC
10579
688b97124d23 patch 8.0.0179: cannot have a local value for 'formatprg'
Christian Brabandt <cb@256bit.org>
parents: 10042
diff changeset
1134 , BV_FP
694
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1135 #ifdef FEAT_EVAL
790
c8680debe1cc updated for version 7.0230
vimboss
parents: 782
diff changeset
1136 , BV_BEXPR
694
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1137 , BV_FEX
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1138 #endif
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1139 , BV_FF
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1140 , BV_FLP
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1141 , BV_FO
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1142 , BV_FT
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1143 , BV_IMI
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1144 , BV_IMS
28942
6cdf55afaae9 patch 8.2.4993: smart/C/lisp indenting is optional
Bram Moolenaar <Bram@vim.org>
parents: 28809
diff changeset
1145 #if defined(FEAT_EVAL)
694
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1146 , BV_INDE
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1147 , BV_INDK
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1148 #endif
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1149 #if defined(FEAT_FIND_ID) && defined(FEAT_EVAL)
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1150 , BV_INEX
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1151 #endif
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1152 , BV_INF
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1153 , BV_ISK
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1154 #ifdef FEAT_CRYPT
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1155 , BV_KEY
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1156 #endif
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1157 #ifdef FEAT_KEYMAP
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1158 , BV_KMAP
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1159 #endif
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1160 , BV_KP
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1161 , BV_LISP
5712
06e5f65c34d8 updated for version 7.4.201
Bram Moolenaar <bram@vim.org>
parents: 5582
diff changeset
1162 , BV_LW
11063
e71d3bdf3bc3 patch 8.0.0420: text garbled when the system encoding differs from 'encoding'
Christian Brabandt <cb@256bit.org>
parents: 10722
diff changeset
1163 , BV_MENC
694
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1164 , BV_MA
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1165 , BV_ML
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1166 , BV_MOD
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1167 , BV_MPS
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1168 , BV_NF
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1169 #ifdef FEAT_COMPL_FUNC
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1170 , BV_OFU
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1171 #endif
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1172 , BV_PATH
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1173 , BV_PI
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1174 , BV_QE
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1175 , BV_RO
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1176 , BV_SI
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1177 , BV_SN
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1178 #ifdef FEAT_SYN_HL
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1179 , BV_SMC
744
07f7b4a7755c updated for version 7.0222
vimboss
parents: 714
diff changeset
1180 , BV_SYN
07f7b4a7755c updated for version 7.0222
vimboss
parents: 714
diff changeset
1181 #endif
07f7b4a7755c updated for version 7.0222
vimboss
parents: 714
diff changeset
1182 #ifdef FEAT_SPELL
694
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1183 , BV_SPC
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1184 , BV_SPF
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1185 , BV_SPL
20802
ed00f0fbdaef patch 8.2.0953: spell checking doesn't work for CamelCased words
Bram Moolenaar <Bram@vim.org>
parents: 20695
diff changeset
1186 , BV_SPO
694
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1187 #endif
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1188 , BV_STS
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1189 , BV_SUA
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1190 , BV_SW
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1191 , BV_SWF
16447
54ffc82f38a8 patch 8.1.1228: not possible to process tags with a function
Bram Moolenaar <Bram@vim.org>
parents: 15967
diff changeset
1192 #ifdef FEAT_EVAL
54ffc82f38a8 patch 8.1.1228: not possible to process tags with a function
Bram Moolenaar <Bram@vim.org>
parents: 15967
diff changeset
1193 , BV_TFU
54ffc82f38a8 patch 8.1.1228: not possible to process tags with a function
Bram Moolenaar <Bram@vim.org>
parents: 15967
diff changeset
1194 #endif
694
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1195 , BV_TAGS
7266
6ba7182fb7bd commit https://github.com/vim/vim/commit/0f6562e9036f889185dff49a75c7fc5ffb28b307
Christian Brabandt <cb@256bit.org>
parents: 7233
diff changeset
1196 , BV_TC
25974
416237f1de22 patch 8.2.3520: cannot define a function for thesaurus completion
Bram Moolenaar <Bram@vim.org>
parents: 25487
diff changeset
1197 #ifdef FEAT_COMPL_FUNC
25990
ac330e2fecc4 patch 8.2.3528: 'thesaurus' and 'thesaurusfunc' do not have the same scope
Bram Moolenaar <Bram@vim.org>
parents: 25982
diff changeset
1198 , BV_TSRFU
25974
416237f1de22 patch 8.2.3520: cannot define a function for thesaurus completion
Bram Moolenaar <Bram@vim.org>
parents: 25487
diff changeset
1199 #endif
694
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1200 , BV_TS
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1201 , BV_TW
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1202 , BV_TX
2214
f8222d1f9a73 Included patch for persistent undo. Lots of changes and added test.
Bram Moolenaar <bram@vim.org>
parents: 2180
diff changeset
1203 , BV_UDF
5446
d0595545e98a updated for version 7.4.073
Bram Moolenaar <bram@vim.org>
parents: 5008
diff changeset
1204 , BV_UL
694
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1205 , BV_WM
13742
a34b1323286c patch 8.0.1743: terminal window options are named inconsistently
Christian Brabandt <cb@256bit.org>
parents: 13680
diff changeset
1206 #ifdef FEAT_TERMINAL
a34b1323286c patch 8.0.1743: terminal window options are named inconsistently
Christian Brabandt <cb@256bit.org>
parents: 13680
diff changeset
1207 , BV_TWSL
a34b1323286c patch 8.0.1743: terminal window options are named inconsistently
Christian Brabandt <cb@256bit.org>
parents: 13680
diff changeset
1208 #endif
14175
2ad722003b36 patch 8.1.0105: all tab stops are the same
Christian Brabandt <cb@256bit.org>
parents: 13845
diff changeset
1209 #ifdef FEAT_VARTABS
2ad722003b36 patch 8.1.0105: all tab stops are the same
Christian Brabandt <cb@256bit.org>
parents: 13845
diff changeset
1210 , BV_VSTS
2ad722003b36 patch 8.1.0105: all tab stops are the same
Christian Brabandt <cb@256bit.org>
parents: 13845
diff changeset
1211 , BV_VTS
2ad722003b36 patch 8.1.0105: all tab stops are the same
Christian Brabandt <cb@256bit.org>
parents: 13845
diff changeset
1212 #endif
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
1213 , BV_COUNT // must be the last one
694
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1214 };
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1215
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1216 /*
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1217 * "indir" values for window-local options.
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1218 * These need to be defined globally, so that the WV_COUNT can be used in the
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1219 * window structure.
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1220 */
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1221 enum
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1222 {
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1223 WV_LIST = 0
23952
44be09b25619 patch 8.2.2518: 'listchars' should be window-local
Bram Moolenaar <Bram@vim.org>
parents: 23422
diff changeset
1224 , WV_LCS
29387
9dce192d1ac2 patch 9.0.0036: 'fillchars' cannot have window-local values
Bram Moolenaar <Bram@vim.org>
parents: 28942
diff changeset
1225 , WV_FCS
694
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1226 #ifdef FEAT_ARABIC
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1227 , WV_ARAB
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1228 #endif
2250
1bac28a53fae Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents: 2214
diff changeset
1229 #ifdef FEAT_CONCEAL
2378
85b7dc8da5eb Add the 'concealcursor' option to decide when the cursor line is to be
Bram Moolenaar <bram@vim.org>
parents: 2360
diff changeset
1230 , WV_COCU
85b7dc8da5eb Add the 'concealcursor' option to decide when the cursor line is to be
Bram Moolenaar <bram@vim.org>
parents: 2360
diff changeset
1231 , WV_COLE
2250
1bac28a53fae Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents: 2214
diff changeset
1232 #endif
11621
b8299e742f41 patch 8.0.0693: no terminal emulator support
Christian Brabandt <cb@256bit.org>
parents: 11063
diff changeset
1233 #ifdef FEAT_TERMINAL
13742
a34b1323286c patch 8.0.1743: terminal window options are named inconsistently
Christian Brabandt <cb@256bit.org>
parents: 13680
diff changeset
1234 , WV_TWK
a34b1323286c patch 8.0.1743: terminal window options are named inconsistently
Christian Brabandt <cb@256bit.org>
parents: 13680
diff changeset
1235 , WV_TWS
11621
b8299e742f41 patch 8.0.0693: no terminal emulator support
Christian Brabandt <cb@256bit.org>
parents: 11063
diff changeset
1236 #endif
2250
1bac28a53fae Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents: 2214
diff changeset
1237 , WV_CRBIND
5995
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents: 5946
diff changeset
1238 #ifdef FEAT_LINEBREAK
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents: 5946
diff changeset
1239 , WV_BRI
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents: 5946
diff changeset
1240 , WV_BRIOPT
ef83b423ebf7 updated for version 7.4.338
Bram Moolenaar <bram@vim.org>
parents: 5946
diff changeset
1241 #endif
16778
eda4d65f232c patch 8.1.1391: no popup window support
Bram Moolenaar <Bram@vim.org>
parents: 16728
diff changeset
1242 , WV_WCR
694
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1243 #ifdef FEAT_DIFF
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1244 , WV_DIFF
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1245 #endif
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1246 #ifdef FEAT_FOLDING
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1247 , WV_FDC
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1248 , WV_FEN
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1249 , WV_FDI
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1250 , WV_FDL
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1251 , WV_FDM
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1252 , WV_FML
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1253 , WV_FDN
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1254 # ifdef FEAT_EVAL
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1255 , WV_FDE
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1256 , WV_FDT
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1257 # endif
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1258 , WV_FMR
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1259 #endif
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1260 #ifdef FEAT_LINEBREAK
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1261 , WV_LBR
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1262 #endif
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1263 , WV_NU
2178
c6f1aa1e9f32 Add 'relativenumber' patch from Markus Heidelberg.
Bram Moolenaar <bram@vim.org>
parents: 2089
diff changeset
1264 , WV_RNU
27130
daac3cf65d7e patch 8.2.4094: 'virtualedit' is window-local but using buffer-local enum
Bram Moolenaar <Bram@vim.org>
parents: 27018
diff changeset
1265 , WV_VE
694
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1266 #ifdef FEAT_LINEBREAK
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1267 , WV_NUW
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1268 #endif
12477
68d7bc045dbe patch 8.0.1118: FEAT_WINDOWS adds a lot of #ifdefs
Christian Brabandt <cb@256bit.org>
parents: 12293
diff changeset
1269 #if defined(FEAT_QUICKFIX)
694
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1270 , WV_PVW
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1271 #endif
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1272 #ifdef FEAT_RIGHTLEFT
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1273 , WV_RL
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1274 , WV_RLC
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1275 #endif
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1276 , WV_SCBIND
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1277 , WV_SCROLL
15713
ad8b2c109b22 patch 8.1.0864: cannot have a local value for 'scrolloff' and 'sidescrolloff'
Bram Moolenaar <Bram@vim.org>
parents: 15636
diff changeset
1278 , WV_SISO
ad8b2c109b22 patch 8.1.0864: cannot have a local value for 'scrolloff' and 'sidescrolloff'
Bram Moolenaar <Bram@vim.org>
parents: 15636
diff changeset
1279 , WV_SO
744
07f7b4a7755c updated for version 7.0222
vimboss
parents: 714
diff changeset
1280 #ifdef FEAT_SPELL
694
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1281 , WV_SPELL
744
07f7b4a7755c updated for version 7.0222
vimboss
parents: 714
diff changeset
1282 #endif
07f7b4a7755c updated for version 7.0222
vimboss
parents: 714
diff changeset
1283 #ifdef FEAT_SYN_HL
07f7b4a7755c updated for version 7.0222
vimboss
parents: 714
diff changeset
1284 , WV_CUC
07f7b4a7755c updated for version 7.0222
vimboss
parents: 714
diff changeset
1285 , WV_CUL
18047
6650e3dff8d4 patch 8.1.2019: 'cursorline' always highlights the whole line
Bram Moolenaar <Bram@vim.org>
parents: 17809
diff changeset
1286 , WV_CULOPT
2314
233eb4412f5d Added 'colorcolumn' option. Partly by Gregor Uhlenheuer.
Bram Moolenaar <bram@vim.org>
parents: 2275
diff changeset
1287 , WV_CC
694
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1288 #endif
18574
8b0114ffde2b patch 8.1.2281: 'showbreak' cannot be set for one window
Bram Moolenaar <Bram@vim.org>
parents: 18526
diff changeset
1289 #ifdef FEAT_LINEBREAK
8b0114ffde2b patch 8.1.2281: 'showbreak' cannot be set for one window
Bram Moolenaar <Bram@vim.org>
parents: 18526
diff changeset
1290 , WV_SBR
8b0114ffde2b patch 8.1.2281: 'showbreak' cannot be set for one window
Bram Moolenaar <Bram@vim.org>
parents: 18526
diff changeset
1291 #endif
694
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1292 #ifdef FEAT_STL_OPT
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1293 , WV_STL
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1294 #endif
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1295 , WV_WFH
782
d20041a02ee5 updated for version 7.0228
vimboss
parents: 773
diff changeset
1296 , WV_WFW
694
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1297 , WV_WRAP
9852
4eea48b76d03 commit https://github.com/vim/vim/commit/95ec9d6a6ab3117d60ff638670a803d43974ba51
Christian Brabandt <cb@256bit.org>
parents: 9665
diff changeset
1298 #ifdef FEAT_SIGNS
4eea48b76d03 commit https://github.com/vim/vim/commit/95ec9d6a6ab3117d60ff638670a803d43974ba51
Christian Brabandt <cb@256bit.org>
parents: 9665
diff changeset
1299 , WV_SCL
4eea48b76d03 commit https://github.com/vim/vim/commit/95ec9d6a6ab3117d60ff638670a803d43974ba51
Christian Brabandt <cb@256bit.org>
parents: 9665
diff changeset
1300 #endif
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
1301 , WV_COUNT // must be the last one
694
07d199fe02ed updated for version 7.0209
vimboss
parents: 692
diff changeset
1302 };
5446
d0595545e98a updated for version 7.4.073
Bram Moolenaar <bram@vim.org>
parents: 5008
diff changeset
1303
17436
e1b5c15f5fee patch 8.1.1716: old style comments are wasting space
Bram Moolenaar <Bram@vim.org>
parents: 17431
diff changeset
1304 // Value for b_p_ul indicating the global value must be used.
28226
89c181c99e23 patch 8.2.4639: not sufficient parenthesis in preprocessor macros
Bram Moolenaar <Bram@vim.org>
parents: 27875
diff changeset
1305 #define NO_LOCAL_UNDOLEVEL (-123456)
19526
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents: 19195
diff changeset
1306
22f0dda71638 patch 8.2.0320: no Haiku support
Bram Moolenaar <Bram@vim.org>
parents: 19195
diff changeset
1307 #endif // _OPTION_H_