annotate src/option.h @ 67:6b9e8f951af4

updated for version 7.0030
author vimboss
date Tue, 04 Jan 2005 21:31:43 +0000
parents f1d2a58883b9
children bcb347a8f934
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 /* vi:set ts=8 sts=4 sw=4:
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 #ifndef EXTERN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 # define EXTERN extern
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 # define INIT(x)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 # ifndef INIT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 # define INIT(x) x
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21
36
125e80798a85 updated for version 7.0021
vimboss
parents: 15
diff changeset
22 /*
125e80798a85 updated for version 7.0021
vimboss
parents: 15
diff changeset
23 * Default values for 'errorformat'.
125e80798a85 updated for version 7.0021
vimboss
parents: 15
diff changeset
24 * 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
25 * written to a file.
125e80798a85 updated for version 7.0021
vimboss
parents: 15
diff changeset
26 */
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 #ifdef AMIGA
36
125e80798a85 updated for version 7.0021
vimboss
parents: 15
diff changeset
28 # 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
29 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 # if defined(MSDOS) || defined(WIN3264)
36
125e80798a85 updated for version 7.0021
vimboss
parents: 15
diff changeset
31 # define DFLT_EFM "%f(%l) : %t%*\\D%n: %m,%*[^\"]\"%f\"%*\\D%l: %m,%f(%l) : %m,%*[^ ] %f %l: %m,%f:%l:%m,%f|%l| %m"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 # if defined(__EMX__) /* put most common here (i.e. gcc format) at front */
36
125e80798a85 updated for version 7.0021
vimboss
parents: 15
diff changeset
34 # define DFLT_EFM "%f:%l:%m,%*[^\"]\"%f\"%*\\D%l: %m,\"%f\"%*\\D%l: %m,%f(%l:%c) : %m,%f|%l| %m"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 # if defined(__QNX__)
36
125e80798a85 updated for version 7.0021
vimboss
parents: 15
diff changeset
37 # define DFLT_EFM "%f(%l):%*[^WE]%t%*\\D%n:%m,%f|%l| %m"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 # ifdef VMS
36
125e80798a85 updated for version 7.0021
vimboss
parents: 15
diff changeset
40 # define DFLT_EFM "%A%p^,%C%%CC-%t-%m,%Cat line number %l in file %f,%f|%l| %m"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 # else /* Unix, probably */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 # ifdef EBCDIC
36
125e80798a85 updated for version 7.0021
vimboss
parents: 15
diff changeset
43 #define DFLT_EFM "%*[^ ] %*[^ ] %f:%l%*[ ]%m,%*[^\"]\"%f\"%*\\D%l: %m,\"%f\"%*\\D%l: %m,%f:%l:%m,\"%f\"\\, line %l%*\\D%c%*[^ ] %m,%D%*\\a[%*\\d]: Entering directory `%f',%X%*\\a[%*\\d]: Leaving directory `%f',%DMaking %*\\a in %f,%f|%l| %m"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 # else
36
125e80798a85 updated for version 7.0021
vimboss
parents: 15
diff changeset
45 #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.),%f:%l:%m,\"%f\"\\, line %l%*\\D%c%*[^ ] %m,%D%*\\a[%*\\d]: Entering directory `%f',%X%*\\a[%*\\d]: Leaving directory `%f',%DMaking %*\\a in %f,%f|%l| %m"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 #define DFLT_GREPFORMAT "%f:%l:%m,%f:%l%m,%f %l%m"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 /* default values for b_p_ff 'fileformat' and p_ffs 'fileformats' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 #define FF_DOS "dos"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 #define FF_MAC "mac"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 #define FF_UNIX "unix"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 #ifdef USE_CRNL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 # define DFLT_FF "dos"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 # define DFLT_FFS_VIM "dos,unix"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 # define DFLT_FFS_VI "dos,unix" /* also autodetect in compatible mode */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 # define DFLT_TEXTAUTO TRUE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 # ifdef USE_CR
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 # define DFLT_FF "mac"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 # define DFLT_FFS_VIM "mac,unix,dos"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 # define DFLT_FFS_VI "mac,unix,dos"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 # define DFLT_TEXTAUTO TRUE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 # define DFLT_FF "unix"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 # define DFLT_FFS_VIM "unix,dos"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 # ifdef __CYGWIN__
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 # define DFLT_FFS_VI "unix,dos" /* Cygwin always needs file detection */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 # define DFLT_TEXTAUTO TRUE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 # else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 # define DFLT_FFS_VI ""
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 # define DFLT_TEXTAUTO FALSE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 #ifdef FEAT_MBYTE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 /* Possible values for 'encoding' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 # define ENC_UCSBOM "ucs-bom" /* check for BOM at start of file */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 /* default value for 'encoding' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 # define ENC_DFLT "latin1"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 /* end-of-line style */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 #define EOL_UNKNOWN -1 /* not defined yet */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 #define EOL_UNIX 0 /* NL */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 #define EOL_DOS 1 /* CR NL */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 #define EOL_MAC 2 /* CR */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 /* Formatting options for p_fo 'formatoptions' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 #define FO_WRAP 't'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101 #define FO_WRAP_COMS 'c'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 #define FO_RET_COMS 'r'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 #define FO_OPEN_COMS 'o'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 #define FO_Q_COMS 'q'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 #define FO_Q_NUMBER 'n'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 #define FO_Q_SECOND '2'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 #define FO_INS_VI 'v'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 #define FO_INS_LONG 'l'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 #define FO_INS_BLANK 'b'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 #define FO_MBYTE_BREAK 'm' /* break before/after multi-byte char */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 #define FO_MBYTE_JOIN 'M' /* no space before/after multi-byte char */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 #define FO_MBYTE_JOIN2 'B' /* no space between multi-byte chars */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113 #define FO_ONE_LETTER '1'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 #define FO_WHITE_PAR 'w' /* trailing white space continues paragr. */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115 #define FO_AUTO 'a' /* automatic formatting */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117 #define DFLT_FO_VI "vt"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118 #define DFLT_FO_VIM "tcq"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119 #define FO_ALL "tcroq2vlb1mMBn,aw" /* for do_set() */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121 /* characters for the p_cpo option: */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 #define CPO_ALTREAD 'a' /* ":read" sets alternate file name */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123 #define CPO_ALTWRITE 'A' /* ":write" sets alternate file name */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124 #define CPO_BAR 'b' /* "\|" ends a mapping */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125 #define CPO_BSLASH 'B' /* backslash in mapping is not special */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126 #define CPO_SEARCH 'c'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
127 #define CPO_CONCAT 'C' /* Don't concatenate sourced lines */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
128 #define CPO_DOTTAG 'd' /* "./tags" in 'tags' is in current dir */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129 #define CPO_DIGRAPH 'D' /* No digraph after "r", "f", etc. */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130 #define CPO_EXECBUF 'e'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131 #define CPO_EMPTYREGION 'E' /* operating on empty region is an error */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132 #define CPO_FNAMER 'f' /* set file name for ":r file" */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133 #define CPO_FNAMEW 'F' /* set file name for ":w file" */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
134 #define CPO_GOTO1 'g' /* goto line 1 for ":edit" */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135 #define CPO_INTMOD 'i' /* interrupt a read makes buffer modified */
10
4e2284e71352 updated for version 7.0002
vimboss
parents: 7
diff changeset
136 #define CPO_INDENT 'I' /* remove auto-indent more often */
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137 #define CPO_JOINSP 'j' /* only use two spaces for join after '.' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138 #define CPO_ENDOFSENT 'J' /* need two spaces to detect end of sentence */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139 #define CPO_KEYCODE 'k' /* don't recognize raw key code in mappings */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
140 #define CPO_KOFFSET 'K' /* don't wait for key code in mappings */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141 #define CPO_LITERAL 'l' /* take char after backslash in [] literal */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142 #define CPO_LISTWM 'L' /* 'list' changes wrapmargin */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143 #define CPO_SHOWMATCH 'm'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144 #define CPO_MATCHBSL 'M' /* "%" ignores use of backslashes */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
145 #define CPO_NUMCOL 'n' /* 'number' column also used for text */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146 #define CPO_LINEOFF 'o'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147 #define CPO_OVERNEW 'O' /* silently overwrite new file */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148 #define CPO_LISP 'p' /* 'lisp' indenting */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149 #define CPO_REDO 'r'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150 #define CPO_REMMARK 'R' /* remove marks when filtering */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
151 #define CPO_BUFOPT 's'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152 #define CPO_BUFOPTGLOB 'S'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153 #define CPO_TAGPAT 't'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
154 #define CPO_UNDO 'u' /* "u" undoes itself */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
155 #define CPO_BACKSPACE 'v' /* "v" keep deleted text */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
156 #define CPO_CW 'w' /* "cw" only changes one blank */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
157 #define CPO_FWRITE 'W' /* "w!" doesn't overwrite readonly files */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
158 #define CPO_ESC 'x'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
159 #define CPO_YANK 'y'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
160 #define CPO_DOLLAR '$'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
161 #define CPO_FILTER '!'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
162 #define CPO_MATCH '%'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
163 #define CPO_STAR '*' /* ":*" means ":@" */
39
410fa1a31baf updated for version 7.0023
vimboss
parents: 36
diff changeset
164 #define CPO_PLUS '+' /* ":write file" resets 'modified' */
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
165 #define CPO_SPECI '<' /* don't recognize <> in mappings */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
166 #define CPO_DEFAULT "aABceFs"
39
410fa1a31baf updated for version 7.0023
vimboss
parents: 36
diff changeset
167 #define CPO_ALL "aAbBcCdDeEfFgiIjJkKlLmMnoOprRsStuvwWxy$!%*+<"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
168
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
169 /* characters for p_ww option: */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170 #define WW_ALL "bshl<>[],~"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
171
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
172 /* characters for p_mouse option: */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
173 #define MOUSE_NORMAL 'n' /* use mouse in Normal mode */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
174 #define MOUSE_VISUAL 'v' /* use mouse in Visual/Select mode */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
175 #define MOUSE_INSERT 'i' /* use mouse in Insert mode */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
176 #define MOUSE_COMMAND 'c' /* use mouse in Command-line mode */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
177 #define MOUSE_HELP 'h' /* use mouse in help buffers */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
178 #define MOUSE_RETURN 'r' /* use mouse for hit-return message */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
179 #define MOUSE_A "nvich" /* used for 'a' flag */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
180 #define MOUSE_ALL "anvichr" /* all possible characters */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
181 #define MOUSE_NONE ' ' /* don't use Visual selection */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
182 #define MOUSE_NONEF 'x' /* forced modeless selection */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
183
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
184 /* characters for p_shm option: */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
185 #define SHM_RO 'r' /* readonly */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
186 #define SHM_MOD 'm' /* modified */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
187 #define SHM_FILE 'f' /* (file 1 of 2) */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
188 #define SHM_LAST 'i' /* last line incomplete */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
189 #define SHM_TEXT 'x' /* tx instead of textmode */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
190 #define SHM_LINES 'l' /* "L" instead of "lines" */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
191 #define SHM_NEW 'n' /* "[New]" instead of "[New file]" */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
192 #define SHM_WRI 'w' /* "[w]" instead of "written" */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
193 #define SHM_A "rmfixlnw" /* represented by 'a' flag */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
194 #define SHM_WRITE 'W' /* don't use "written" at all */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
195 #define SHM_TRUNC 't' /* trunctate file messages */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
196 #define SHM_TRUNCALL 'T' /* trunctate all messages */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
197 #define SHM_OVER 'o' /* overwrite file messages */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
198 #define SHM_OVERALL 'O' /* overwrite more messages */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
199 #define SHM_SEARCH 's' /* no search hit bottom messages */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
200 #define SHM_ATTENTION 'A' /* no ATTENTION messages */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
201 #define SHM_INTRO 'I' /* intro messages */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
202 #define SHM_ALL "rmfixlnwaWtToOsAI" /* all possible flags for 'shm' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
203
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
204 /* characters for p_go: */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
205 #define GO_ASEL 'a' /* autoselect */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
206 #define GO_ASELML 'A' /* autoselect modeless selection */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
207 #define GO_BOT 'b' /* use bottom scrollbar */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
208 #define GO_CONDIALOG 'c' /* use console dialog */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
209 #define GO_FORG 'f' /* start GUI in foreground */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
210 #define GO_GREY 'g' /* use grey menu items */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
211 #define GO_HORSCROLL 'h' /* flexible horizontal scrolling */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
212 #define GO_ICON 'i' /* use Vim icon */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
213 #define GO_LEFT 'l' /* use left scrollbar */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
214 #define GO_VLEFT 'L' /* left scrollbar with vert split */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
215 #define GO_MENUS 'm' /* use menu bar */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
216 #define GO_NOSYSMENU 'M' /* don't source system menu */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
217 #define GO_POINTER 'p' /* pointer enter/leave callbacks */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
218 #define GO_RIGHT 'r' /* use right scrollbar */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
219 #define GO_VRIGHT 'R' /* right scrollbar with vert split */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
220 #define GO_TEAROFF 't' /* add tear-off menu items */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
221 #define GO_TOOLBAR 'T' /* add toolbar */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
222 #define GO_FOOTER 'F' /* add footer */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
223 #define GO_VERTICAL 'v' /* arrange dialog buttons vertically */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
224 #define GO_ALL "aAbcfFghilmMprtTv" /* all possible flags for 'go' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
225
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
226 /* flags for 'comments' option */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
227 #define COM_NEST 'n' /* comments strings nest */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
228 #define COM_BLANK 'b' /* needs blank after string */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
229 #define COM_START 's' /* start of comment */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
230 #define COM_MIDDLE 'm' /* middle of comment */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
231 #define COM_END 'e' /* end of comment */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
232 #define COM_AUTO_END 'x' /* last char of end closes comment */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
233 #define COM_FIRST 'f' /* first line comment only */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
234 #define COM_LEFT 'l' /* left adjusted */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
235 #define COM_RIGHT 'r' /* right adjusted */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
236 #define COM_NOBACK 'O' /* don't use for "O" command */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
237 #define COM_ALL "nbsmexflrO" /* all flags for 'comments' option */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
238 #define COM_MAX_LEN 50 /* maximum length of a part */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
239
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
240 /* flags for 'statusline' option */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
241 #define STL_FILEPATH 'f' /* path of file in buffer */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
242 #define STL_FULLPATH 'F' /* full path of file in buffer */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
243 #define STL_FILENAME 't' /* last part (tail) of file path */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
244 #define STL_COLUMN 'c' /* column og cursor*/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
245 #define STL_VIRTCOL 'v' /* virtual column */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
246 #define STL_VIRTCOL_ALT 'V' /* - with 'if different' display */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
247 #define STL_LINE 'l' /* line number of cursor */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
248 #define STL_NUMLINES 'L' /* number of lines in buffer */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
249 #define STL_BUFNO 'n' /* current buffer number */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
250 #define STL_KEYMAP 'k' /* 'keymap' when active */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
251 #define STL_OFFSET 'o' /* offset of character under cursor*/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
252 #define STL_OFFSET_X 'O' /* - in hexadecimal */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
253 #define STL_BYTEVAL 'b' /* byte value of character */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
254 #define STL_BYTEVAL_X 'B' /* - in hexadecimal */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
255 #define STL_ROFLAG 'r' /* readonly flag */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
256 #define STL_ROFLAG_ALT 'R' /* - other display */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
257 #define STL_HELPFLAG 'h' /* window is showing a help file */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
258 #define STL_HELPFLAG_ALT 'H' /* - other display */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
259 #define STL_FILETYPE 'y' /* 'filetype' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
260 #define STL_FILETYPE_ALT 'Y' /* - other display */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
261 #define STL_PREVIEWFLAG 'w' /* window is showing the preview buf */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
262 #define STL_PREVIEWFLAG_ALT 'W' /* - other display */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
263 #define STL_MODIFIED 'm' /* modified flag */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
264 #define STL_MODIFIED_ALT 'M' /* - other display */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
265 #define STL_PERCENTAGE 'p' /* percentage through file */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
266 #define STL_ALTPERCENT 'P' /* percentage as TOP BOT ALL or NN% */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
267 #define STL_ARGLISTSTAT 'a' /* argument list status as (x of y) */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
268 #define STL_PAGENUM 'N' /* page number (when printing)*/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
269 #define STL_VIM_EXPR '{' /* start of expression to substitute */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
270 #define STL_MIDDLEMARK '=' /* separation between left and right */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
271 #define STL_TRUNCMARK '<' /* truncation mark if line is too long*/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
272 #define STL_HIGHLIGHT '*' /* highlight from (User)1..9 or 0 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
273 #define STL_ALL ((char_u *) "fFtcvVlLknoObBrRhHmYyWwMpPaN{")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
274
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
275 /* flags used for parsed 'wildmode' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
276 #define WIM_FULL 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
277 #define WIM_LONGEST 2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
278 #define WIM_LIST 4
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
279
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
280 /* arguments for can_bs() */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
281 #define BS_INDENT 'i' /* "Indent" */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
282 #define BS_EOL 'o' /* "eOl" */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
283 #define BS_START 's' /* "Start" */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
284
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
285 #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
286
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
287 /*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
288 * The following are actual variabables for the options
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
289 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
290
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
291 #ifdef FEAT_RIGHTLEFT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
292 EXTERN long p_aleph; /* 'aleph' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
293 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
294 #if defined(FEAT_NETBEANS_INTG) || defined(FEAT_SUN_WORKSHOP)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
295 EXTERN int p_acd; /* 'autochdir' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
296 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
297 #ifdef FEAT_MBYTE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
298 EXTERN char_u *p_ambw; /* 'ambiwidth' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
299 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
300 #if defined(FEAT_GUI) && defined(MACOS_X)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
301 EXTERN int *p_antialias; /* 'antialias' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
302 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
303 EXTERN int p_ar; /* 'autoread' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
304 EXTERN int p_aw; /* 'autowrite' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
305 EXTERN int p_awa; /* 'autowriteall' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
306 EXTERN char_u *p_bs; /* 'backspace' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
307 EXTERN char_u *p_bg; /* 'background' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
308 EXTERN int p_bk; /* 'backup' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
309 EXTERN char_u *p_bkc; /* 'backupcopy' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
310 EXTERN unsigned bkc_flags;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
311 #ifdef IN_OPTION_C
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
312 static char *(p_bkc_values[]) = {"yes", "auto", "no", "breaksymlink", "breakhardlink", NULL};
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
313 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
314 # define BKC_YES 0x001
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
315 # define BKC_AUTO 0x002
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
316 # define BKC_NO 0x004
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
317 # define BKC_BREAKSYMLINK 0x008
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
318 # define BKC_BREAKHARDLINK 0x010
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
319 EXTERN char_u *p_bdir; /* 'backupdir' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
320 EXTERN char_u *p_bex; /* 'backupext' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
321 #ifdef FEAT_WILDIGN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
322 EXTERN char_u *p_bsk; /* 'backupskip' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
323 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
324 #ifdef FEAT_BEVAL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
325 EXTERN long p_bdlay; /* 'balloondelay' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
326 # if defined(FEAT_SUN_WORKSHOP) || defined(FEAT_NETBEANS_INTG)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
327 EXTERN int p_beval; /* 'ballooneval' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
328 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
329 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
330 #ifdef FEAT_BROWSE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
331 EXTERN char_u *p_bsdir; /* 'browsedir' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
332 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
333 #ifdef MSDOS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
334 EXTERN int p_biosk; /* 'bioskey' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
335 EXTERN int p_consk; /* 'conskey' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
336 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
337 #ifdef FEAT_LINEBREAK
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
338 EXTERN char_u *p_breakat; /* 'breakat' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
339 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
340 EXTERN char_u *p_cmp; /* 'casemap' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
341 EXTERN unsigned cmp_flags;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
342 #ifdef IN_OPTION_C
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
343 static char *(p_cmp_values[]) = {"internal", "keepascii", NULL};
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
344 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
345 #define CMP_INTERNAL 0x001
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
346 #define CMP_KEEPASCII 0x002
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
347 #ifdef FEAT_MBYTE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
348 EXTERN char_u *p_enc; /* 'encoding' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
349 EXTERN int p_deco; /* 'delcombine' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
350 # ifdef FEAT_EVAL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
351 EXTERN char_u *p_ccv; /* 'charconvert' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
352 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
353 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
354 #ifdef FEAT_CMDWIN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
355 EXTERN char_u *p_cedit; /* 'cedit' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
356 EXTERN long p_cwh; /* 'cmdwinheight' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
357 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
358 #ifdef FEAT_CLIPBOARD
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
359 EXTERN char_u *p_cb; /* 'clipboard' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
360 EXTERN int clip_unnamed INIT(= FALSE);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
361 EXTERN int clip_autoselect INIT(= FALSE);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
362 EXTERN int clip_autoselectml INIT(= FALSE);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
363 EXTERN regprog_T *clip_exclude_prog INIT(= NULL);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
364 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
365 EXTERN long p_ch; /* 'cmdheight' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
366 #if defined(FEAT_GUI_DIALOG) || defined(FEAT_CON_DIALOG)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
367 EXTERN int p_confirm; /* 'confirm' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
368 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
369 EXTERN int p_cp; /* 'compatible' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
370 EXTERN char_u *p_cpo; /* 'cpoptions' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
371 #ifdef FEAT_CSCOPE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
372 EXTERN char_u *p_csprg; /* 'cscopeprg' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
373 # ifdef FEAT_QUICKFIX
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
374 EXTERN char_u *p_csqf; /* 'cscopequickfix' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
375 # define CSQF_CMDS "sgdctefi"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
376 # define CSQF_FLAGS "+-0"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
377 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
378 EXTERN int p_cst; /* 'cscopetag' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
379 EXTERN long p_csto; /* 'cscopetagorder' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
380 EXTERN long p_cspc; /* 'cscopepathcomp' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
381 EXTERN int p_csverbose; /* 'cscopeverbose' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
382 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
383 EXTERN char_u *p_debug; /* 'debug' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
384 #ifdef FEAT_FIND_ID
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
385 EXTERN char_u *p_def; /* 'define' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
386 EXTERN char_u *p_inc;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
387 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
388 #ifdef FEAT_DIFF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
389 EXTERN char_u *p_dip; /* 'diffopt' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
390 # ifdef FEAT_EVAL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
391 EXTERN char_u *p_dex; /* 'diffexpr' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
392 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
393 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
394 #ifdef FEAT_INS_EXPAND
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
395 EXTERN char_u *p_dict; /* 'dictionary' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
396 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
397 #ifdef FEAT_DIGRAPHS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
398 EXTERN int p_dg; /* 'digraph' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
399 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
400 EXTERN char_u *p_dir; /* 'directory' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
401 EXTERN char_u *p_dy; /* 'display' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
402 EXTERN unsigned dy_flags;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
403 #ifdef IN_OPTION_C
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
404 static char *(p_dy_values[]) = {"lastline", "uhex", NULL};
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
405 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
406 #define DY_LASTLINE 0x001
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
407 #define DY_UHEX 0x002
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
408 EXTERN int p_ed; /* 'edcompatible' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
409 #ifdef FEAT_VERTSPLIT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
410 EXTERN char_u *p_ead; /* 'eadirection' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
411 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
412 EXTERN int p_ea; /* 'equalalways' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
413 EXTERN char_u *p_ep; /* 'equalprg' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
414 EXTERN int p_eb; /* 'errorbells' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
415 #ifdef FEAT_QUICKFIX
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
416 EXTERN char_u *p_ef; /* 'errorfile' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
417 EXTERN char_u *p_efm; /* 'errorformat' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
418 EXTERN char_u *p_gefm; /* 'grepformat' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
419 EXTERN char_u *p_gp; /* 'grepprg' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
420 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
421 #ifdef FEAT_AUTOCMD
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
422 EXTERN char_u *p_ei; /* 'eventignore' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
423 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
424 EXTERN int p_ek; /* 'esckeys' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
425 EXTERN int p_exrc; /* 'exrc' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
426 #ifdef FEAT_MBYTE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
427 EXTERN char_u *p_fencs; /* 'fileencodings' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
428 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
429 EXTERN char_u *p_ffs; /* 'fileformats' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
430 #ifdef FEAT_FOLDING
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
431 EXTERN char_u *p_fcl; /* 'foldclose' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
432 EXTERN long p_fdls; /* 'foldlevelstart' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
433 EXTERN char_u *p_fdo; /* 'foldopen' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
434 EXTERN unsigned fdo_flags;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
435 # ifdef IN_OPTION_C
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
436 static char *(p_fdo_values[]) = {"all", "block", "hor", "mark", "percent",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
437 "quickfix", "search", "tag", "insert",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
438 "undo", "jump", NULL};
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
439 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
440 # define FDO_ALL 0x001
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
441 # define FDO_BLOCK 0x002
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
442 # define FDO_HOR 0x004
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
443 # define FDO_MARK 0x008
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
444 # define FDO_PERCENT 0x010
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
445 # define FDO_QUICKFIX 0x020
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
446 # define FDO_SEARCH 0x040
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
447 # define FDO_TAG 0x080
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
448 # define FDO_INSERT 0x100
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
449 # define FDO_UNDO 0x200
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
450 # define FDO_JUMP 0x400
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
451 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
452 EXTERN char_u *p_fp; /* 'formatprg' */
36
125e80798a85 updated for version 7.0021
vimboss
parents: 15
diff changeset
453 EXTERN int p_fs; /* 'fsync' */
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
454 EXTERN int p_gd; /* 'gdefault' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
455 #ifdef FEAT_PRINTER
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
456 EXTERN char_u *p_pdev; /* 'printdevice' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
457 # ifdef FEAT_POSTSCRIPT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
458 EXTERN char_u *p_penc; /* 'printencoding' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
459 EXTERN char_u *p_pexpr; /* 'printexpr' */
15
631143ac4a01 updated for version 7.0007
vimboss
parents: 14
diff changeset
460 # ifdef FEAT_MBYTE
631143ac4a01 updated for version 7.0007
vimboss
parents: 14
diff changeset
461 EXTERN char_u *p_pmfn; /* 'printmbfont' */
631143ac4a01 updated for version 7.0007
vimboss
parents: 14
diff changeset
462 EXTERN char_u *p_pmcs; /* 'printmbcharset' */
631143ac4a01 updated for version 7.0007
vimboss
parents: 14
diff changeset
463 # endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
464 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
465 EXTERN char_u *p_pfn; /* 'printfont' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
466 EXTERN char_u *p_popt; /* 'printoptions' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
467 EXTERN char_u *p_header; /* 'printheader' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
468 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
469 #ifdef FEAT_GUI
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
470 EXTERN char_u *p_guifont; /* 'guifont' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
471 # ifdef FEAT_XFONTSET
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
472 EXTERN char_u *p_guifontset; /* 'guifontset' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
473 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
474 # ifdef FEAT_MBYTE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
475 EXTERN char_u *p_guifontwide; /* 'guifontwide' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
476 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
477 EXTERN int p_guipty; /* 'guipty' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
478 #endif
11
4424b47a0797 updated for version 7.0003
vimboss
parents: 10
diff changeset
479 #if defined(FEAT_GUI_GTK) || defined(FEAT_GUI_X11) || defined(FEAT_GUI_KDE)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
480 EXTERN long p_ghr; /* 'guiheadroom' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
481 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
482 #ifdef CURSOR_SHAPE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
483 EXTERN char_u *p_guicursor; /* 'guicursor' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
484 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
485 #ifdef FEAT_MOUSESHAPE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
486 EXTERN char_u *p_mouseshape; /* 'mouseshape' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
487 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
488 #if defined(FEAT_GUI)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
489 EXTERN char_u *p_go; /* 'guioptions' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
490 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
491 EXTERN char_u *p_hf; /* 'helpfile' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
492 #ifdef FEAT_WINDOWS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
493 EXTERN long p_hh; /* 'helpheight' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
494 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
495 #ifdef FEAT_MULTI_LANG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
496 EXTERN char_u *p_hlg; /* 'helplang' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
497 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
498 EXTERN int p_hid; /* 'hidden' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
499 /* Use P_HID to check if a buffer is to be hidden when it is no longer
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
500 * visible in a window. */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
501 #ifndef FEAT_QUICKFIX
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
502 # define P_HID(dummy) (p_hid || cmdmod.hide)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
503 #else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
504 # define P_HID(buf) (buf_hide(buf))
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
505 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
506 EXTERN char_u *p_hl; /* 'highlight' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
507 EXTERN int p_hls; /* 'hlsearch' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
508 EXTERN long p_hi; /* 'history' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
509 #ifdef FEAT_RIGHTLEFT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
510 EXTERN int p_hkmap; /* 'hkmap' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
511 EXTERN int p_hkmapp; /* 'hkmapp' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
512 # ifdef FEAT_FKMAP
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
513 EXTERN int p_fkmap; /* 'fkmap' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
514 EXTERN int p_altkeymap; /* 'altkeymap' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
515 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
516 # ifdef FEAT_ARABIC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
517 EXTERN int p_arshape; /* 'arabicshape' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
518 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
519 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
520 #ifdef FEAT_TITLE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
521 EXTERN int p_icon; /* 'icon' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
522 EXTERN char_u *p_iconstring; /* 'iconstring' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
523 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
524 EXTERN int p_ic; /* 'ignorecase' */
11
4424b47a0797 updated for version 7.0003
vimboss
parents: 10
diff changeset
525 #if defined(FEAT_XIM) && (defined(FEAT_GUI_GTK) || defined(FEAT_GUI_KDE))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
526 EXTERN char_u *p_imak; /* 'imactivatekey' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
527 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
528 #ifdef USE_IM_CONTROL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
529 EXTERN int p_imcmdline; /* 'imcmdline' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
530 EXTERN int p_imdisable; /* 'imdisable' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
531 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
532 EXTERN int p_is; /* 'incsearch' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
533 EXTERN int p_im; /* 'insertmode' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
534 EXTERN char_u *p_isf; /* 'isfname' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
535 EXTERN char_u *p_isi; /* 'isident' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
536 EXTERN char_u *p_isp; /* 'isprint' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
537 EXTERN int p_js; /* 'joinspaces' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
538 EXTERN char_u *p_kp; /* 'keywordprg' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
539 #ifdef FEAT_VISUAL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
540 EXTERN char_u *p_km; /* 'keymodel' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
541 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
542 #ifdef FEAT_LANGMAP
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
543 EXTERN char_u *p_langmap; /* 'langmap'*/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
544 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
545 #if defined(FEAT_MENU) && defined(FEAT_MULTI_LANG)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
546 EXTERN char_u *p_lm; /* 'langmenu' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
547 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
548 #ifdef FEAT_GUI
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
549 EXTERN long p_linespace; /* 'linespace' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
550 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
551 #ifdef FEAT_LISP
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
552 EXTERN char_u *p_lispwords; /* 'lispwords' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
553 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
554 #ifdef FEAT_WINDOWS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
555 EXTERN long p_ls; /* 'laststatus' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
556 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
557 EXTERN char_u *p_lcs; /* 'listchars' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
558
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
559 EXTERN int p_lz; /* 'lazyredraw' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
560 EXTERN int p_lpl; /* 'loadplugins' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
561 EXTERN int p_magic; /* 'magic' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
562 #ifdef FEAT_QUICKFIX
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
563 EXTERN char_u *p_mef; /* 'makeef' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
564 EXTERN char_u *p_mp; /* 'makeprg' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
565 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
566 EXTERN long p_mat; /* 'matchtime' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
567 #ifdef FEAT_EVAL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
568 EXTERN long p_mfd; /* 'maxfuncdepth' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
569 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
570 EXTERN long p_mmd; /* 'maxmapdepth' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
571 EXTERN long p_mm; /* 'maxmem' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
572 EXTERN long p_mmt; /* 'maxmemtot' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
573 #ifdef FEAT_MENU
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
574 EXTERN long p_mis; /* 'menuitems' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
575 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
576 EXTERN long p_mls; /* 'modelines' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
577 EXTERN char_u *p_mouse; /* 'mouse' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
578 #ifdef FEAT_GUI
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
579 EXTERN int p_mousef; /* 'mousefocus' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
580 EXTERN int p_mh; /* 'mousehide' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
581 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
582 EXTERN char_u *p_mousem; /* 'mousemodel' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
583 EXTERN long p_mouset; /* 'mousetime' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
584 EXTERN int p_more; /* 'more' */
14
946da5994c01 updated for version 7.0006
vimboss
parents: 11
diff changeset
585 #ifdef FEAT_MZSCHEME
946da5994c01 updated for version 7.0006
vimboss
parents: 11
diff changeset
586 EXTERN long p_mzq; /* 'mzquantum */
946da5994c01 updated for version 7.0006
vimboss
parents: 11
diff changeset
587 #endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
588 EXTERN char_u *p_para; /* 'paragraphs' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
589 EXTERN int p_paste; /* 'paste' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
590 EXTERN char_u *p_pt; /* 'pastetoggle' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
591 #if defined(FEAT_EVAL) && defined(FEAT_DIFF)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
592 EXTERN char_u *p_pex; /* 'patchexpr' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
593 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
594 EXTERN char_u *p_pm; /* 'patchmode' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
595 EXTERN char_u *p_path; /* 'path' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
596 #ifdef FEAT_SEARCHPATH
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
597 EXTERN char_u *p_cdpath; /* 'cdpath' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
598 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
599 EXTERN int p_remap; /* 'remap' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
600 EXTERN long p_report; /* 'report' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
601 #if defined(FEAT_WINDOWS) && defined(FEAT_QUICKFIX)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
602 EXTERN long p_pvh; /* 'previewheight' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
603 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
604 #ifdef WIN3264
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
605 EXTERN int p_rs; /* 'restorescreen' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
606 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
607 #ifdef FEAT_RIGHTLEFT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
608 EXTERN int p_ari; /* 'allowrevins' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
609 EXTERN int p_ri; /* 'revins' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
610 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
611 #ifdef FEAT_CMDL_INFO
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
612 EXTERN int p_ru; /* 'ruler' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
613 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
614 #ifdef FEAT_STL_OPT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
615 EXTERN char_u *p_ruf; /* 'rulerformat' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
616 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
617 EXTERN char_u *p_rtp; /* 'runtimepath' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
618 EXTERN long p_sj; /* 'scrolljump' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
619 EXTERN long p_so; /* 'scrolloff' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
620 #ifdef FEAT_SCROLLBIND
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
621 EXTERN char_u *p_sbo; /* 'scrollopt' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
622 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
623 EXTERN char_u *p_sections; /* 'sections' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
624 EXTERN int p_secure; /* 'secure' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
625 #ifdef FEAT_VISUAL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
626 EXTERN char_u *p_sel; /* 'selection' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
627 EXTERN char_u *p_slm; /* 'selectmode' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
628 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
629 #ifdef FEAT_SESSION
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
630 EXTERN char_u *p_ssop; /* 'sessionoptions' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
631 EXTERN unsigned ssop_flags;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
632 # ifdef IN_OPTION_C
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
633 /* Also used for 'viewoptions'! */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
634 static char *(p_ssop_values[]) = {"buffers", "winpos", "resize", "winsize",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
635 "localoptions", "options", "help", "blank", "globals", "slash", "unix",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
636 "sesdir", "curdir", "folds", "cursor", NULL};
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
637 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
638 # define SSOP_BUFFERS 0x001
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
639 # define SSOP_WINPOS 0x002
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
640 # define SSOP_RESIZE 0x004
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
641 # define SSOP_WINSIZE 0x008
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
642 # define SSOP_LOCALOPTIONS 0x010
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
643 # define SSOP_OPTIONS 0x020
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
644 # define SSOP_HELP 0x040
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
645 # define SSOP_BLANK 0x080
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
646 # define SSOP_GLOBALS 0x100
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
647 # define SSOP_SLASH 0x200
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
648 # define SSOP_UNIX 0x400
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
649 # define SSOP_SESDIR 0x800
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
650 # define SSOP_CURDIR 0x1000
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
651 # define SSOP_FOLDS 0x2000
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
652 # define SSOP_CURSOR 0x4000
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
653 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
654 EXTERN char_u *p_sh; /* 'shell' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
655 EXTERN char_u *p_shcf; /* 'shellcmdflag' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
656 #ifdef FEAT_QUICKFIX
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
657 EXTERN char_u *p_sp; /* 'shellpipe' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
658 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
659 EXTERN char_u *p_shq; /* 'shellquote' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
660 EXTERN char_u *p_sxq; /* 'shellxquote' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
661 EXTERN char_u *p_srr; /* 'shellredir' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
662 #ifdef AMIGA
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
663 EXTERN long p_st; /* 'shelltype' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
664 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
665 #ifdef BACKSLASH_IN_FILENAME
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
666 EXTERN int p_ssl; /* 'shellslash' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
667 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
668 #ifdef FEAT_STL_OPT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
669 EXTERN char_u *p_stl; /* 'statusline' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
670 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
671 EXTERN int p_sr; /* 'shiftround' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
672 EXTERN char_u *p_shm; /* 'shortmess' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
673 #ifdef FEAT_LINEBREAK
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
674 EXTERN char_u *p_sbr; /* 'showbreak' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
675 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
676 #ifdef FEAT_CMDL_INFO
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
677 EXTERN int p_sc; /* 'showcmd' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
678 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
679 EXTERN int p_sft; /* 'showfulltag' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
680 EXTERN int p_sm; /* 'showmatch' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
681 EXTERN int p_smd; /* 'showmode' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
682 EXTERN long p_ss; /* 'sidescroll' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
683 EXTERN long p_siso; /* 'sidescrolloff' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
684 EXTERN int p_scs; /* 'smartcase' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
685 EXTERN int p_sta; /* 'smarttab' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
686 #ifdef FEAT_WINDOWS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
687 EXTERN int p_sb; /* 'splitbelow' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
688 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
689 #ifdef FEAT_VERTSPLIT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
690 EXTERN int p_spr; /* 'splitright' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
691 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
692 EXTERN int p_sol; /* 'startofline' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
693 EXTERN char_u *p_su; /* 'suffixes' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
694 EXTERN char_u *p_sws; /* 'swapsync' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
695 EXTERN char_u *p_swb; /* 'switchbuf' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
696 EXTERN int p_tbs; /* 'tagbsearch' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
697 EXTERN long p_tl; /* 'taglength' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
698 EXTERN int p_tr; /* 'tagrelative' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
699 EXTERN char_u *p_tags; /* 'tags' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
700 EXTERN int p_tgst; /* 'tagstack' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
701 #ifdef FEAT_ARABIC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
702 EXTERN int p_tbidi; /* 'termbidi' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
703 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
704 #ifdef FEAT_MBYTE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
705 EXTERN char_u *p_tenc; /* 'termencoding' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
706 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
707 EXTERN int p_terse; /* 'terse' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
708 EXTERN int p_ta; /* 'textauto' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
709 EXTERN int p_to; /* 'tildeop' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
710 EXTERN int p_timeout; /* 'timeout' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
711 EXTERN long p_tm; /* 'timeoutlen' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
712 #ifdef FEAT_TITLE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
713 EXTERN int p_title; /* 'title' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
714 EXTERN long p_titlelen; /* 'titlelen' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
715 EXTERN char_u *p_titleold; /* 'titleold' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
716 EXTERN char_u *p_titlestring; /* 'titlestring' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
717 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
718 #ifdef FEAT_INS_EXPAND
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
719 EXTERN char_u *p_tsr; /* 'thesaurus' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
720 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
721 EXTERN int p_ttimeout; /* 'ttimeout' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
722 EXTERN long p_ttm; /* 'ttimeoutlen' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
723 EXTERN int p_tbi; /* 'ttybuiltin' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
724 EXTERN int p_tf; /* 'ttyfast' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
725 #if defined(FEAT_TOOLBAR) && !defined(FEAT_GUI_W32)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
726 EXTERN char_u *p_toolbar; /* 'toolbar' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
727 EXTERN unsigned toolbar_flags;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
728 # ifdef IN_OPTION_C
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
729 static char *(p_toolbar_values[]) = {"text", "icons", "tooltips", "horiz", NULL};
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
730 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
731 # define TOOLBAR_TEXT 0x01
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
732 # define TOOLBAR_ICONS 0x02
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
733 # define TOOLBAR_TOOLTIPS 0x04
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
734 # define TOOLBAR_HORIZ 0x08
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
735 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
736 #if defined(FEAT_TOOLBAR) && defined(FEAT_GUI_GTK) && defined(HAVE_GTK2)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
737 EXTERN char_u *p_tbis; /* 'toolbariconsize' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
738 EXTERN unsigned tbis_flags;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
739 # ifdef IN_OPTION_C
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
740 static char *(p_tbis_values[]) = {"tiny", "small", "medium", "large", NULL};
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
741 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
742 # define TBIS_TINY 0x01
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
743 # define TBIS_SMALL 0x02
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
744 # define TBIS_MEDIUM 0x04
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
745 # define TBIS_LARGE 0x08
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
746 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
747 EXTERN long p_ttyscroll; /* 'ttyscroll' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
748 #if defined(FEAT_MOUSE) && (defined(UNIX) || defined(VMS))
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
749 EXTERN char_u *p_ttym; /* 'ttymouse' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
750 EXTERN unsigned ttym_flags;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
751 # ifdef IN_OPTION_C
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
752 static char *(p_ttym_values[]) = {"xterm", "xterm2", "dec", "netterm", "jsbterm", "pterm", NULL};
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
753 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
754 # define TTYM_XTERM 0x01
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
755 # define TTYM_XTERM2 0x02
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
756 # define TTYM_DEC 0x04
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
757 # define TTYM_NETTERM 0x08
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
758 # define TTYM_JSBTERM 0x10
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
759 # define TTYM_PTERM 0x20
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
760 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
761 EXTERN long p_ul; /* 'undolevels' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
762 EXTERN long p_uc; /* 'updatecount' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
763 EXTERN long p_ut; /* 'updatetime' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
764 #if defined(FEAT_WINDOWS) || defined(FEAT_FOLDING)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
765 EXTERN char_u *p_fcs; /* 'fillchar' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
766 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
767 #ifdef FEAT_VIMINFO
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
768 EXTERN char_u *p_viminfo; /* 'viminfo' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
769 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
770 #ifdef FEAT_SESSION
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
771 EXTERN char_u *p_vdir; /* 'viewdir' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
772 EXTERN char_u *p_vop; /* 'viewoptions' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
773 EXTERN unsigned vop_flags; /* uses SSOP_ flags */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
774 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
775 EXTERN int p_vb; /* 'visualbell' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
776 #ifdef FEAT_VIRTUALEDIT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
777 EXTERN char_u *p_ve; /* 'virtualedit' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
778 EXTERN unsigned ve_flags;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
779 # ifdef IN_OPTION_C
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
780 static char *(p_ve_values[]) = {"block", "insert", "all", NULL};
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
781 # endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
782 # define VE_BLOCK 5 /* includes "all" */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
783 # define VE_INSERT 6 /* includes "all" */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
784 # define VE_ALL 4
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
785 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
786 EXTERN long p_verbose; /* 'verbose' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
787 EXTERN int p_warn; /* 'warn' */
40
f1d2a58883b9 updated for version 7.0024
vimboss
parents: 39
diff changeset
788 #ifdef FEAT_CMDL_COMPL
f1d2a58883b9 updated for version 7.0024
vimboss
parents: 39
diff changeset
789 EXTERN char_u *p_wop; /* 'wildoptions' */
f1d2a58883b9 updated for version 7.0024
vimboss
parents: 39
diff changeset
790 #endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
791 #if defined(FEAT_GUI_MSWIN) || defined(FEAT_GUI_MOTIF) || defined(LINT) \
11
4424b47a0797 updated for version 7.0003
vimboss
parents: 10
diff changeset
792 || defined (FEAT_GUI_GTK) || defined(FEAT_GUI_PHOTON) || defined(FEAT_GUI_KDE)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
793 #define FEAT_WAK
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
794 EXTERN char_u *p_wak; /* 'winaltkeys' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
795 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
796 #ifdef FEAT_WILDIGN
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
797 EXTERN char_u *p_wig; /* 'wildignore' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
798 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
799 EXTERN int p_wiv; /* 'weirdinvert' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
800 EXTERN char_u *p_ww; /* 'whichwrap' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
801 EXTERN long p_wc; /* 'wildchar' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
802 EXTERN long p_wcm; /* 'wildcharm' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
803 EXTERN char_u *p_wim; /* 'wildmode' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
804 #ifdef FEAT_WILDMENU
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
805 EXTERN int p_wmnu; /* 'wildmenu' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
806 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
807 #ifdef FEAT_WINDOWS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
808 EXTERN long p_wh; /* 'winheight' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
809 EXTERN long p_wmh; /* 'winminheight' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
810 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
811 #ifdef FEAT_VERTSPLIT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
812 EXTERN long p_wmw; /* 'winminwidth' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
813 EXTERN long p_wiw; /* 'winwidth' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
814 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
815 EXTERN int p_ws; /* 'wrapscan' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
816 EXTERN int p_write; /* 'write' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
817 EXTERN int p_wa; /* 'writeany' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
818 EXTERN int p_wb; /* 'writebackup' */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
819 EXTERN long p_wd; /* 'writedelay' */