Mercurial > vim
annotate src/option.h @ 9305:4981cd0802c7 v7.4.1935
commit https://github.com/vim/vim/commit/bee666f239eada035d288b77269aebc42f644ea6
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jun 14 20:39:42 2016 +0200
patch 7.4.1935
Problem: When using the GUI search/replace a second match right after the
replacement is skipped.
Solution: Add the SEARCH_START flag. (Mleddy)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 14 Jun 2016 20:45:06 +0200 |
parents | 773d627cac0b |
children | da98db362fef |
rev | line source |
---|---|
7 | 1 /* vi:set ts=8 sts=4 sw=4: |
2 * | |
3 * VIM - Vi IMproved by Bram Moolenaar | |
4 * | |
5 * Do ":help uganda" in Vim to read copying and usage conditions. | |
6 * Do ":help credits" in Vim to see a list of people who contributed. | |
7 */ | |
8 | |
9 /* | |
10 * option.h: definition of global variables for settable options | |
11 */ | |
12 | |
36 | 13 /* |
14 * Default values for 'errorformat'. | |
15 * The "%f|%l| %m" one is used for when the contents of the quickfix window is | |
16 * written to a file. | |
17 */ | |
7 | 18 #ifdef AMIGA |
36 | 19 # 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 | 20 #else |
8212
05b88224cea1
commit https://github.com/vim/vim/commit/48e330aff911be1c798c88a973af6437a8141fce
Christian Brabandt <cb@256bit.org>
parents:
8182
diff
changeset
|
21 # if defined(WIN3264) |
133 | 22 # 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 | 23 # else |
24 # if defined(__EMX__) /* put most common here (i.e. gcc format) at front */ | |
133 | 25 # define DFLT_EFM "%f:%l:%c:%m,%f(%l):%m,%f:%l:%m,%*[^\"]\"%f\"%*\\D%l: %m,\"%f\"%*\\D%l: %m,%f(%l:%c) : %m,%f|%l| %m" |
7 | 26 # else |
27 # if defined(__QNX__) | |
36 | 28 # define DFLT_EFM "%f(%l):%*[^WE]%t%*\\D%n:%m,%f|%l| %m" |
7 | 29 # else |
30 # ifdef VMS | |
36 | 31 # define DFLT_EFM "%A%p^,%C%%CC-%t-%m,%Cat line number %l in file %f,%f|%l| %m" |
7 | 32 # else /* Unix, probably */ |
33 # ifdef EBCDIC | |
5582 | 34 #define DFLT_EFM "%*[^ ] %*[^ ] %f:%l%*[ ]%m,%*[^\"]\"%f\"%*\\D%l: %m,\"%f\"%*\\D%l: %m,%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',%DMaking %*\\a in %f,%f|%l| %m" |
7 | 35 # else |
5582 | 36 #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 | 37 # endif |
38 # endif | |
39 # endif | |
40 # endif | |
41 # endif | |
42 #endif | |
43 | |
44 #define DFLT_GREPFORMAT "%f:%l:%m,%f:%l%m,%f %l%m" | |
45 | |
46 /* default values for b_p_ff 'fileformat' and p_ffs 'fileformats' */ | |
47 #define FF_DOS "dos" | |
48 #define FF_MAC "mac" | |
49 #define FF_UNIX "unix" | |
50 | |
51 #ifdef USE_CRNL | |
52 # define DFLT_FF "dos" | |
53 # define DFLT_FFS_VIM "dos,unix" | |
54 # define DFLT_FFS_VI "dos,unix" /* also autodetect in compatible mode */ | |
55 # define DFLT_TEXTAUTO TRUE | |
56 #else | |
57 # ifdef USE_CR | |
58 # define DFLT_FF "mac" | |
59 # define DFLT_FFS_VIM "mac,unix,dos" | |
60 # define DFLT_FFS_VI "mac,unix,dos" | |
61 # define DFLT_TEXTAUTO TRUE | |
62 # else | |
63 # define DFLT_FF "unix" | |
64 # define DFLT_FFS_VIM "unix,dos" | |
65 # ifdef __CYGWIN__ | |
66 # define DFLT_FFS_VI "unix,dos" /* Cygwin always needs file detection */ | |
67 # define DFLT_TEXTAUTO TRUE | |
68 # else | |
69 # define DFLT_FFS_VI "" | |
70 # define DFLT_TEXTAUTO FALSE | |
71 # endif | |
72 # endif | |
73 #endif | |
74 | |
75 | |
76 #ifdef FEAT_MBYTE | |
77 /* Possible values for 'encoding' */ | |
78 # define ENC_UCSBOM "ucs-bom" /* check for BOM at start of file */ | |
79 | |
80 /* default value for 'encoding' */ | |
81 # define ENC_DFLT "latin1" | |
82 #endif | |
83 | |
84 /* end-of-line style */ | |
85 #define EOL_UNKNOWN -1 /* not defined yet */ | |
86 #define EOL_UNIX 0 /* NL */ | |
87 #define EOL_DOS 1 /* CR NL */ | |
88 #define EOL_MAC 2 /* CR */ | |
89 | |
90 /* Formatting options for p_fo 'formatoptions' */ | |
91 #define FO_WRAP 't' | |
92 #define FO_WRAP_COMS 'c' | |
93 #define FO_RET_COMS 'r' | |
94 #define FO_OPEN_COMS 'o' | |
95 #define FO_Q_COMS 'q' | |
96 #define FO_Q_NUMBER 'n' | |
97 #define FO_Q_SECOND '2' | |
98 #define FO_INS_VI 'v' | |
99 #define FO_INS_LONG 'l' | |
100 #define FO_INS_BLANK 'b' | |
101 #define FO_MBYTE_BREAK 'm' /* break before/after multi-byte char */ | |
102 #define FO_MBYTE_JOIN 'M' /* no space before/after multi-byte char */ | |
103 #define FO_MBYTE_JOIN2 'B' /* no space between multi-byte chars */ | |
104 #define FO_ONE_LETTER '1' | |
105 #define FO_WHITE_PAR 'w' /* trailing white space continues paragr. */ | |
106 #define FO_AUTO 'a' /* automatic formatting */ | |
3562 | 107 #define FO_REMOVE_COMS 'j' /* remove comment leaders when joining lines */ |
7 | 108 |
109 #define DFLT_FO_VI "vt" | |
110 #define DFLT_FO_VIM "tcq" | |
3562 | 111 #define FO_ALL "tcroq2vlb1mMBn,awj" /* for do_set() */ |
7 | 112 |
113 /* characters for the p_cpo option: */ | |
114 #define CPO_ALTREAD 'a' /* ":read" sets alternate file name */ | |
115 #define CPO_ALTWRITE 'A' /* ":write" sets alternate file name */ | |
116 #define CPO_BAR 'b' /* "\|" ends a mapping */ | |
117 #define CPO_BSLASH 'B' /* backslash in mapping is not special */ | |
118 #define CPO_SEARCH 'c' | |
119 #define CPO_CONCAT 'C' /* Don't concatenate sourced lines */ | |
120 #define CPO_DOTTAG 'd' /* "./tags" in 'tags' is in current dir */ | |
121 #define CPO_DIGRAPH 'D' /* No digraph after "r", "f", etc. */ | |
122 #define CPO_EXECBUF 'e' | |
123 #define CPO_EMPTYREGION 'E' /* operating on empty region is an error */ | |
124 #define CPO_FNAMER 'f' /* set file name for ":r file" */ | |
125 #define CPO_FNAMEW 'F' /* set file name for ":w file" */ | |
126 #define CPO_GOTO1 'g' /* goto line 1 for ":edit" */ | |
164 | 127 #define CPO_INSEND 'H' /* "I" inserts before last blank in line */ |
7 | 128 #define CPO_INTMOD 'i' /* interrupt a read makes buffer modified */ |
10 | 129 #define CPO_INDENT 'I' /* remove auto-indent more often */ |
7 | 130 #define CPO_JOINSP 'j' /* only use two spaces for join after '.' */ |
131 #define CPO_ENDOFSENT 'J' /* need two spaces to detect end of sentence */ | |
132 #define CPO_KEYCODE 'k' /* don't recognize raw key code in mappings */ | |
133 #define CPO_KOFFSET 'K' /* don't wait for key code in mappings */ | |
134 #define CPO_LITERAL 'l' /* take char after backslash in [] literal */ | |
135 #define CPO_LISTWM 'L' /* 'list' changes wrapmargin */ | |
136 #define CPO_SHOWMATCH 'm' | |
137 #define CPO_MATCHBSL 'M' /* "%" ignores use of backslashes */ | |
138 #define CPO_NUMCOL 'n' /* 'number' column also used for text */ | |
139 #define CPO_LINEOFF 'o' | |
140 #define CPO_OVERNEW 'O' /* silently overwrite new file */ | |
141 #define CPO_LISP 'p' /* 'lisp' indenting */ | |
590 | 142 #define CPO_FNAMEAPP 'P' /* set file name for ":w >>file" */ |
164 | 143 #define CPO_JOINCOL 'q' /* with "3J" use column after first join */ |
7 | 144 #define CPO_REDO 'r' |
145 #define CPO_REMMARK 'R' /* remove marks when filtering */ | |
146 #define CPO_BUFOPT 's' | |
147 #define CPO_BUFOPTGLOB 'S' | |
148 #define CPO_TAGPAT 't' | |
149 #define CPO_UNDO 'u' /* "u" undoes itself */ | |
150 #define CPO_BACKSPACE 'v' /* "v" keep deleted text */ | |
151 #define CPO_CW 'w' /* "cw" only changes one blank */ | |
152 #define CPO_FWRITE 'W' /* "w!" doesn't overwrite readonly files */ | |
153 #define CPO_ESC 'x' | |
1217 | 154 #define CPO_REPLCNT 'X' /* "R" with a count only deletes chars once */ |
7 | 155 #define CPO_YANK 'y' |
164 | 156 #define CPO_KEEPRO 'Z' /* don't reset 'readonly' on ":w!" */ |
7 | 157 #define CPO_DOLLAR '$' |
158 #define CPO_FILTER '!' | |
159 #define CPO_MATCH '%' | |
160 #define CPO_STAR '*' /* ":*" means ":@" */ | |
39 | 161 #define CPO_PLUS '+' /* ":write file" resets 'modified' */ |
161 | 162 #define CPO_MINUS '-' /* "9-" fails at and before line 9 */ |
7 | 163 #define CPO_SPECI '<' /* don't recognize <> in mappings */ |
164 | 164 #define CPO_REGAPPEND '>' /* insert NL when appending to a register */ |
165 /* POSIX flags */ | |
166 #define CPO_HASH '#' /* "D", "o" and "O" do not use a count */ | |
167 #define CPO_PARA '{' /* "{" is also a paragraph boundary */ | |
168 #define CPO_TSIZE '|' /* $LINES and $COLUMNS overrule term size */ | |
169 #define CPO_PRESERVE '&' /* keep swap file after :preserve */ | |
168 | 170 #define CPO_SUBPERCENT '/' /* % in :s string uses previous one */ |
171 #define CPO_BACKSL '\\' /* \ is not special in [] */ | |
172 #define CPO_CHDIR '.' /* don't chdir if buffer is modified */ | |
2925 | 173 #define CPO_SCOLON ';' /* using "," and ";" will skip over char if |
174 * cursor would not move */ | |
164 | 175 /* default values for Vim, Vi and POSIX */ |
176 #define CPO_VIM "aABceFs" | |
2925 | 177 #define CPO_VI "aAbBcCdDeEfFgHiIjJkKlLmMnoOpPqrRsStuvwWxXyZ$!%*-+<>;" |
178 #define CPO_ALL "aAbBcCdDeEfFgHiIjJkKlLmMnoOpPqrRsStuvwWxXyZ$!%*-+<>#{|&/\\.;" | |
7 | 179 |
180 /* characters for p_ww option: */ | |
181 #define WW_ALL "bshl<>[],~" | |
182 | |
183 /* characters for p_mouse option: */ | |
184 #define MOUSE_NORMAL 'n' /* use mouse in Normal mode */ | |
185 #define MOUSE_VISUAL 'v' /* use mouse in Visual/Select mode */ | |
186 #define MOUSE_INSERT 'i' /* use mouse in Insert mode */ | |
187 #define MOUSE_COMMAND 'c' /* use mouse in Command-line mode */ | |
188 #define MOUSE_HELP 'h' /* use mouse in help buffers */ | |
189 #define MOUSE_RETURN 'r' /* use mouse for hit-return message */ | |
190 #define MOUSE_A "nvich" /* used for 'a' flag */ | |
191 #define MOUSE_ALL "anvichr" /* all possible characters */ | |
192 #define MOUSE_NONE ' ' /* don't use Visual selection */ | |
193 #define MOUSE_NONEF 'x' /* forced modeless selection */ | |
194 | |
2382
3a5ededa240a
Add the 'c' flag to 'concealcursor'.
Bram Moolenaar <bram@vim.org>
parents:
2378
diff
changeset
|
195 #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
|
196 |
7 | 197 /* characters for p_shm option: */ |
198 #define SHM_RO 'r' /* readonly */ | |
199 #define SHM_MOD 'm' /* modified */ | |
200 #define SHM_FILE 'f' /* (file 1 of 2) */ | |
201 #define SHM_LAST 'i' /* last line incomplete */ | |
202 #define SHM_TEXT 'x' /* tx instead of textmode */ | |
203 #define SHM_LINES 'l' /* "L" instead of "lines" */ | |
204 #define SHM_NEW 'n' /* "[New]" instead of "[New file]" */ | |
205 #define SHM_WRI 'w' /* "[w]" instead of "written" */ | |
206 #define SHM_A "rmfixlnw" /* represented by 'a' flag */ | |
207 #define SHM_WRITE 'W' /* don't use "written" at all */ | |
208 #define SHM_TRUNC 't' /* trunctate file messages */ | |
209 #define SHM_TRUNCALL 'T' /* trunctate all messages */ | |
210 #define SHM_OVER 'o' /* overwrite file messages */ | |
211 #define SHM_OVERALL 'O' /* overwrite more messages */ | |
212 #define SHM_SEARCH 's' /* no search hit bottom messages */ | |
213 #define SHM_ATTENTION 'A' /* no ATTENTION messages */ | |
214 #define SHM_INTRO 'I' /* intro messages */ | |
5946 | 215 #define SHM_COMPLETIONMENU 'c' /* completion menu messages */ |
7233
9487ea110214
commit https://github.com/vim/vim/commit/a0ed84a26897c994512873a895b9fc54e90c6845
Christian Brabandt <cb@256bit.org>
parents:
7218
diff
changeset
|
216 #define SHM_RECORDING 'q' /* short recording message */ |
8560
f3c636c673f7
commit https://github.com/vim/vim/commit/426dd0219512af5f4abeb0901b533159253ffba3
Christian Brabandt <cb@256bit.org>
parents:
8469
diff
changeset
|
217 #define SHM_FILEINFO 'F' /* no file info messages */ |
f3c636c673f7
commit https://github.com/vim/vim/commit/426dd0219512af5f4abeb0901b533159253ffba3
Christian Brabandt <cb@256bit.org>
parents:
8469
diff
changeset
|
218 #define SHM_ALL "rmfixlnwaWtToOsAIcqF" /* all possible flags for 'shm' */ |
7 | 219 |
220 /* characters for p_go: */ | |
221 #define GO_ASEL 'a' /* autoselect */ | |
222 #define GO_ASELML 'A' /* autoselect modeless selection */ | |
223 #define GO_BOT 'b' /* use bottom scrollbar */ | |
224 #define GO_CONDIALOG 'c' /* use console dialog */ | |
685 | 225 #define GO_TABLINE 'e' /* may show tabline */ |
7 | 226 #define GO_FORG 'f' /* start GUI in foreground */ |
227 #define GO_GREY 'g' /* use grey menu items */ | |
228 #define GO_HORSCROLL 'h' /* flexible horizontal scrolling */ | |
229 #define GO_ICON 'i' /* use Vim icon */ | |
230 #define GO_LEFT 'l' /* use left scrollbar */ | |
231 #define GO_VLEFT 'L' /* left scrollbar with vert split */ | |
232 #define GO_MENUS 'm' /* use menu bar */ | |
233 #define GO_NOSYSMENU 'M' /* don't source system menu */ | |
234 #define GO_POINTER 'p' /* pointer enter/leave callbacks */ | |
3674 | 235 #define GO_ASELPLUS 'P' /* autoselectPlus */ |
7 | 236 #define GO_RIGHT 'r' /* use right scrollbar */ |
237 #define GO_VRIGHT 'R' /* right scrollbar with vert split */ | |
238 #define GO_TEAROFF 't' /* add tear-off menu items */ | |
239 #define GO_TOOLBAR 'T' /* add toolbar */ | |
240 #define GO_FOOTER 'F' /* add footer */ | |
241 #define GO_VERTICAL 'v' /* arrange dialog buttons vertically */ | |
685 | 242 #define GO_ALL "aAbcefFghilmMprtTv" /* all possible flags for 'go' */ |
7 | 243 |
244 /* flags for 'comments' option */ | |
245 #define COM_NEST 'n' /* comments strings nest */ | |
246 #define COM_BLANK 'b' /* needs blank after string */ | |
247 #define COM_START 's' /* start of comment */ | |
248 #define COM_MIDDLE 'm' /* middle of comment */ | |
249 #define COM_END 'e' /* end of comment */ | |
250 #define COM_AUTO_END 'x' /* last char of end closes comment */ | |
251 #define COM_FIRST 'f' /* first line comment only */ | |
252 #define COM_LEFT 'l' /* left adjusted */ | |
253 #define COM_RIGHT 'r' /* right adjusted */ | |
254 #define COM_NOBACK 'O' /* don't use for "O" command */ | |
255 #define COM_ALL "nbsmexflrO" /* all flags for 'comments' option */ | |
256 #define COM_MAX_LEN 50 /* maximum length of a part */ | |
257 | |
258 /* flags for 'statusline' option */ | |
259 #define STL_FILEPATH 'f' /* path of file in buffer */ | |
260 #define STL_FULLPATH 'F' /* full path of file in buffer */ | |
261 #define STL_FILENAME 't' /* last part (tail) of file path */ | |
262 #define STL_COLUMN 'c' /* column og cursor*/ | |
263 #define STL_VIRTCOL 'v' /* virtual column */ | |
264 #define STL_VIRTCOL_ALT 'V' /* - with 'if different' display */ | |
265 #define STL_LINE 'l' /* line number of cursor */ | |
266 #define STL_NUMLINES 'L' /* number of lines in buffer */ | |
267 #define STL_BUFNO 'n' /* current buffer number */ | |
268 #define STL_KEYMAP 'k' /* 'keymap' when active */ | |
269 #define STL_OFFSET 'o' /* offset of character under cursor*/ | |
270 #define STL_OFFSET_X 'O' /* - in hexadecimal */ | |
271 #define STL_BYTEVAL 'b' /* byte value of character */ | |
272 #define STL_BYTEVAL_X 'B' /* - in hexadecimal */ | |
273 #define STL_ROFLAG 'r' /* readonly flag */ | |
274 #define STL_ROFLAG_ALT 'R' /* - other display */ | |
275 #define STL_HELPFLAG 'h' /* window is showing a help file */ | |
276 #define STL_HELPFLAG_ALT 'H' /* - other display */ | |
277 #define STL_FILETYPE 'y' /* 'filetype' */ | |
278 #define STL_FILETYPE_ALT 'Y' /* - other display */ | |
279 #define STL_PREVIEWFLAG 'w' /* window is showing the preview buf */ | |
280 #define STL_PREVIEWFLAG_ALT 'W' /* - other display */ | |
281 #define STL_MODIFIED 'm' /* modified flag */ | |
282 #define STL_MODIFIED_ALT 'M' /* - other display */ | |
2411
68e394361ca3
Add "q" item for 'statusline'. Add w:quickfix_title. (Lech Lorens)
Bram Moolenaar <bram@vim.org>
parents:
2394
diff
changeset
|
283 #define STL_QUICKFIX 'q' /* quickfix window description */ |
7 | 284 #define STL_PERCENTAGE 'p' /* percentage through file */ |
285 #define STL_ALTPERCENT 'P' /* percentage as TOP BOT ALL or NN% */ | |
286 #define STL_ARGLISTSTAT 'a' /* argument list status as (x of y) */ | |
287 #define STL_PAGENUM 'N' /* page number (when printing)*/ | |
288 #define STL_VIM_EXPR '{' /* start of expression to substitute */ | |
289 #define STL_MIDDLEMARK '=' /* separation between left and right */ | |
290 #define STL_TRUNCMARK '<' /* truncation mark if line is too long*/ | |
680 | 291 #define STL_USER_HL '*' /* highlight from (User)1..9 or 0 */ |
292 #define STL_HIGHLIGHT '#' /* highlight name */ | |
681 | 293 #define STL_TABPAGENR 'T' /* tab page label nr */ |
294 #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
|
295 #define STL_ALL ((char_u *) "fFtcvVlLknoObBrRhHmYyWwMqpPaN{#") |
7 | 296 |
297 /* flags used for parsed 'wildmode' */ | |
298 #define WIM_FULL 1 | |
299 #define WIM_LONGEST 2 | |
300 #define WIM_LIST 4 | |
301 | |
302 /* arguments for can_bs() */ | |
303 #define BS_INDENT 'i' /* "Indent" */ | |
304 #define BS_EOL 'o' /* "eOl" */ | |
305 #define BS_START 's' /* "Start" */ | |
306 | |
307 #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" | |
308 | |
309 /* | |
665 | 310 * The following are actual variables for the options |
7 | 311 */ |
312 | |
313 #ifdef FEAT_RIGHTLEFT | |
314 EXTERN long p_aleph; /* 'aleph' */ | |
315 #endif | |
820 | 316 #ifdef FEAT_AUTOCHDIR |
7 | 317 EXTERN int p_acd; /* 'autochdir' */ |
318 #endif | |
319 #ifdef FEAT_MBYTE | |
320 EXTERN char_u *p_ambw; /* 'ambiwidth' */ | |
8629
54ac275e3fc4
commit https://github.com/vim/vim/commit/3848e00e0177abdb31bc600234967863ec487233
Christian Brabandt <cb@256bit.org>
parents:
8560
diff
changeset
|
321 EXTERN char_u *p_emoji; /* 'emoji' */ |
7 | 322 #endif |
323 #if defined(FEAT_GUI) && defined(MACOS_X) | |
324 EXTERN int *p_antialias; /* 'antialias' */ | |
325 #endif | |
326 EXTERN int p_ar; /* 'autoread' */ | |
327 EXTERN int p_aw; /* 'autowrite' */ | |
328 EXTERN int p_awa; /* 'autowriteall' */ | |
329 EXTERN char_u *p_bs; /* 'backspace' */ | |
330 EXTERN char_u *p_bg; /* 'background' */ | |
331 EXTERN int p_bk; /* 'backup' */ | |
332 EXTERN char_u *p_bkc; /* 'backupcopy' */ | |
6243 | 333 EXTERN unsigned bkc_flags; /* flags from 'backupcopy' */ |
7 | 334 #ifdef IN_OPTION_C |
335 static char *(p_bkc_values[]) = {"yes", "auto", "no", "breaksymlink", "breakhardlink", NULL}; | |
336 #endif | |
337 # define BKC_YES 0x001 | |
338 # define BKC_AUTO 0x002 | |
339 # define BKC_NO 0x004 | |
340 # define BKC_BREAKSYMLINK 0x008 | |
341 # define BKC_BREAKHARDLINK 0x010 | |
342 EXTERN char_u *p_bdir; /* 'backupdir' */ | |
343 EXTERN char_u *p_bex; /* 'backupext' */ | |
6949 | 344 EXTERN char_u *p_bo; /* 'belloff' */ |
345 EXTERN unsigned bo_flags; | |
346 # ifdef IN_OPTION_C | |
347 static char *(p_bo_values[]) = {"all", "backspace", "cursor", "complete", | |
348 "copy", "ctrlg", "error", "esc", "ex", | |
349 "hangul", "insertmode", "lang", "mess", | |
350 "showmatch", "operator", "register", "shell", | |
351 "spell", "wildmode", NULL}; | |
352 # endif | |
353 | |
354 /* values for the 'beepon' option */ | |
355 #define BO_ALL 0x0001 | |
356 #define BO_BS 0x0002 | |
357 #define BO_CRSR 0x0004 | |
358 #define BO_COMPL 0x0008 | |
359 #define BO_COPY 0x0010 | |
360 #define BO_CTRLG 0x0020 | |
361 #define BO_ERROR 0x0040 | |
362 #define BO_ESC 0x0080 | |
363 #define BO_EX 0x0100 | |
364 #define BO_HANGUL 0x0200 | |
365 #define BO_IM 0x0400 | |
366 #define BO_LANG 0x0800 | |
367 #define BO_MESS 0x1000 | |
368 #define BO_MATCH 0x2000 | |
369 #define BO_OPER 0x4000 | |
370 #define BO_REG 0x8000 | |
371 #define BO_SH 0x10000 | |
372 #define BO_SPELL 0x20000 | |
373 #define BO_WILD 0x40000 | |
374 | |
7 | 375 #ifdef FEAT_WILDIGN |
376 EXTERN char_u *p_bsk; /* 'backupskip' */ | |
377 #endif | |
2360
d8e4b27cef80
Change 'cryptmethod' from a number to a string option. Make it global-local.
Bram Moolenaar <bram@vim.org>
parents:
2314
diff
changeset
|
378 #ifdef FEAT_CRYPT |
d8e4b27cef80
Change 'cryptmethod' from a number to a string option. Make it global-local.
Bram Moolenaar <bram@vim.org>
parents:
2314
diff
changeset
|
379 EXTERN char_u *p_cm; /* 'cryptmethod' */ |
d8e4b27cef80
Change 'cryptmethod' from a number to a string option. Make it global-local.
Bram Moolenaar <bram@vim.org>
parents:
2314
diff
changeset
|
380 #endif |
7 | 381 #ifdef FEAT_BEVAL |
382 EXTERN long p_bdlay; /* 'balloondelay' */ | |
383 EXTERN int p_beval; /* 'ballooneval' */ | |
190 | 384 # ifdef FEAT_EVAL |
385 EXTERN char_u *p_bexpr; | |
7 | 386 # endif |
387 #endif | |
388 #ifdef FEAT_BROWSE | |
389 EXTERN char_u *p_bsdir; /* 'browsedir' */ | |
390 #endif | |
391 #ifdef FEAT_LINEBREAK | |
392 EXTERN char_u *p_breakat; /* 'breakat' */ | |
393 #endif | |
805 | 394 #ifdef FEAT_MBYTE |
7 | 395 EXTERN char_u *p_cmp; /* 'casemap' */ |
396 EXTERN unsigned cmp_flags; | |
805 | 397 # ifdef IN_OPTION_C |
7 | 398 static char *(p_cmp_values[]) = {"internal", "keepascii", NULL}; |
805 | 399 # endif |
400 # define CMP_INTERNAL 0x001 | |
401 # define CMP_KEEPASCII 0x002 | |
7 | 402 #endif |
403 #ifdef FEAT_MBYTE | |
404 EXTERN char_u *p_enc; /* 'encoding' */ | |
405 EXTERN int p_deco; /* 'delcombine' */ | |
406 # ifdef FEAT_EVAL | |
407 EXTERN char_u *p_ccv; /* 'charconvert' */ | |
408 # endif | |
409 #endif | |
410 #ifdef FEAT_CMDWIN | |
411 EXTERN char_u *p_cedit; /* 'cedit' */ | |
412 EXTERN long p_cwh; /* 'cmdwinheight' */ | |
413 #endif | |
414 #ifdef FEAT_CLIPBOARD | |
415 EXTERN char_u *p_cb; /* 'clipboard' */ | |
416 #endif | |
417 EXTERN long p_ch; /* 'cmdheight' */ | |
418 #if defined(FEAT_GUI_DIALOG) || defined(FEAT_CON_DIALOG) | |
419 EXTERN int p_confirm; /* 'confirm' */ | |
420 #endif | |
421 EXTERN int p_cp; /* 'compatible' */ | |
540 | 422 #ifdef FEAT_INS_EXPAND |
423 EXTERN char_u *p_cot; /* 'completeopt' */ | |
767 | 424 EXTERN long p_ph; /* 'pumheight' */ |
540 | 425 #endif |
7 | 426 EXTERN char_u *p_cpo; /* 'cpoptions' */ |
427 #ifdef FEAT_CSCOPE | |
428 EXTERN char_u *p_csprg; /* 'cscopeprg' */ | |
2883 | 429 EXTERN int p_csre; /* 'cscoperelative' */ |
7 | 430 # ifdef FEAT_QUICKFIX |
431 EXTERN char_u *p_csqf; /* 'cscopequickfix' */ | |
432 # define CSQF_CMDS "sgdctefi" | |
433 # define CSQF_FLAGS "+-0" | |
434 # endif | |
435 EXTERN int p_cst; /* 'cscopetag' */ | |
436 EXTERN long p_csto; /* 'cscopetagorder' */ | |
437 EXTERN long p_cspc; /* 'cscopepathcomp' */ | |
438 EXTERN int p_csverbose; /* 'cscopeverbose' */ | |
439 #endif | |
440 EXTERN char_u *p_debug; /* 'debug' */ | |
441 #ifdef FEAT_FIND_ID | |
442 EXTERN char_u *p_def; /* 'define' */ | |
443 EXTERN char_u *p_inc; | |
444 #endif | |
445 #ifdef FEAT_DIFF | |
446 EXTERN char_u *p_dip; /* 'diffopt' */ | |
447 # ifdef FEAT_EVAL | |
448 EXTERN char_u *p_dex; /* 'diffexpr' */ | |
449 # endif | |
450 #endif | |
451 #ifdef FEAT_INS_EXPAND | |
452 EXTERN char_u *p_dict; /* 'dictionary' */ | |
453 #endif | |
454 #ifdef FEAT_DIGRAPHS | |
455 EXTERN int p_dg; /* 'digraph' */ | |
456 #endif | |
457 EXTERN char_u *p_dir; /* 'directory' */ | |
458 EXTERN char_u *p_dy; /* 'display' */ | |
459 EXTERN unsigned dy_flags; | |
460 #ifdef IN_OPTION_C | |
461 static char *(p_dy_values[]) = {"lastline", "uhex", NULL}; | |
462 #endif | |
463 #define DY_LASTLINE 0x001 | |
464 #define DY_UHEX 0x002 | |
465 EXTERN int p_ed; /* 'edcompatible' */ | |
8643
24b43dd167eb
commit https://github.com/vim/vim/commit/44a2f923c00f1384c9ecde12fb5b4711bc20702e
Christian Brabandt <cb@256bit.org>
parents:
8629
diff
changeset
|
466 #ifdef FEAT_WINDOWS |
7 | 467 EXTERN char_u *p_ead; /* 'eadirection' */ |
468 #endif | |
469 EXTERN int p_ea; /* 'equalalways' */ | |
470 EXTERN char_u *p_ep; /* 'equalprg' */ | |
471 EXTERN int p_eb; /* 'errorbells' */ | |
472 #ifdef FEAT_QUICKFIX | |
473 EXTERN char_u *p_ef; /* 'errorfile' */ | |
474 EXTERN char_u *p_efm; /* 'errorformat' */ | |
475 EXTERN char_u *p_gefm; /* 'grepformat' */ | |
476 EXTERN char_u *p_gp; /* 'grepprg' */ | |
477 #endif | |
478 #ifdef FEAT_AUTOCMD | |
479 EXTERN char_u *p_ei; /* 'eventignore' */ | |
480 #endif | |
481 EXTERN int p_ek; /* 'esckeys' */ | |
482 EXTERN int p_exrc; /* 'exrc' */ | |
483 #ifdef FEAT_MBYTE | |
484 EXTERN char_u *p_fencs; /* 'fileencodings' */ | |
485 #endif | |
486 EXTERN char_u *p_ffs; /* 'fileformats' */ | |
4242 | 487 EXTERN long p_fic; /* 'fileignorecase' */ |
7 | 488 #ifdef FEAT_FOLDING |
489 EXTERN char_u *p_fcl; /* 'foldclose' */ | |
490 EXTERN long p_fdls; /* 'foldlevelstart' */ | |
491 EXTERN char_u *p_fdo; /* 'foldopen' */ | |
492 EXTERN unsigned fdo_flags; | |
493 # ifdef IN_OPTION_C | |
494 static char *(p_fdo_values[]) = {"all", "block", "hor", "mark", "percent", | |
495 "quickfix", "search", "tag", "insert", | |
496 "undo", "jump", NULL}; | |
497 # endif | |
498 # define FDO_ALL 0x001 | |
499 # define FDO_BLOCK 0x002 | |
500 # define FDO_HOR 0x004 | |
501 # define FDO_MARK 0x008 | |
502 # define FDO_PERCENT 0x010 | |
503 # define FDO_QUICKFIX 0x020 | |
504 # define FDO_SEARCH 0x040 | |
505 # define FDO_TAG 0x080 | |
506 # define FDO_INSERT 0x100 | |
507 # define FDO_UNDO 0x200 | |
508 # define FDO_JUMP 0x400 | |
509 #endif | |
510 EXTERN char_u *p_fp; /* 'formatprg' */ | |
378 | 511 #ifdef HAVE_FSYNC |
36 | 512 EXTERN int p_fs; /* 'fsync' */ |
378 | 513 #endif |
7 | 514 EXTERN int p_gd; /* 'gdefault' */ |
515 #ifdef FEAT_PRINTER | |
516 EXTERN char_u *p_pdev; /* 'printdevice' */ | |
517 # ifdef FEAT_POSTSCRIPT | |
518 EXTERN char_u *p_penc; /* 'printencoding' */ | |
519 EXTERN char_u *p_pexpr; /* 'printexpr' */ | |
15 | 520 # ifdef FEAT_MBYTE |
521 EXTERN char_u *p_pmfn; /* 'printmbfont' */ | |
522 EXTERN char_u *p_pmcs; /* 'printmbcharset' */ | |
523 # endif | |
7 | 524 # endif |
525 EXTERN char_u *p_pfn; /* 'printfont' */ | |
526 EXTERN char_u *p_popt; /* 'printoptions' */ | |
527 EXTERN char_u *p_header; /* 'printheader' */ | |
528 #endif | |
168 | 529 EXTERN int p_prompt; /* 'prompt' */ |
7 | 530 #ifdef FEAT_GUI |
531 EXTERN char_u *p_guifont; /* 'guifont' */ | |
532 # ifdef FEAT_XFONTSET | |
533 EXTERN char_u *p_guifontset; /* 'guifontset' */ | |
534 # endif | |
535 # ifdef FEAT_MBYTE | |
536 EXTERN char_u *p_guifontwide; /* 'guifontwide' */ | |
537 # endif | |
538 EXTERN int p_guipty; /* 'guipty' */ | |
539 #endif | |
574 | 540 #if defined(FEAT_GUI_GTK) || defined(FEAT_GUI_X11) |
7 | 541 EXTERN long p_ghr; /* 'guiheadroom' */ |
542 #endif | |
543 #ifdef CURSOR_SHAPE | |
544 EXTERN char_u *p_guicursor; /* 'guicursor' */ | |
545 #endif | |
546 #ifdef FEAT_MOUSESHAPE | |
547 EXTERN char_u *p_mouseshape; /* 'mouseshape' */ | |
548 #endif | |
549 #if defined(FEAT_GUI) | |
550 EXTERN char_u *p_go; /* 'guioptions' */ | |
692 | 551 #endif |
552 #if defined(FEAT_GUI_TABLINE) | |
688 | 553 EXTERN char_u *p_gtl; /* 'guitablabel' */ |
839 | 554 EXTERN char_u *p_gtt; /* 'guitabtooltip' */ |
7 | 555 #endif |
556 EXTERN char_u *p_hf; /* 'helpfile' */ | |
557 #ifdef FEAT_WINDOWS | |
558 EXTERN long p_hh; /* 'helpheight' */ | |
559 #endif | |
560 #ifdef FEAT_MULTI_LANG | |
561 EXTERN char_u *p_hlg; /* 'helplang' */ | |
562 #endif | |
563 EXTERN int p_hid; /* 'hidden' */ | |
564 /* Use P_HID to check if a buffer is to be hidden when it is no longer | |
565 * visible in a window. */ | |
566 #ifndef FEAT_QUICKFIX | |
567 # define P_HID(dummy) (p_hid || cmdmod.hide) | |
568 #else | |
569 # define P_HID(buf) (buf_hide(buf)) | |
570 #endif | |
571 EXTERN char_u *p_hl; /* 'highlight' */ | |
572 EXTERN int p_hls; /* 'hlsearch' */ | |
573 EXTERN long p_hi; /* 'history' */ | |
574 #ifdef FEAT_RIGHTLEFT | |
575 EXTERN int p_hkmap; /* 'hkmap' */ | |
576 EXTERN int p_hkmapp; /* 'hkmapp' */ | |
577 # ifdef FEAT_FKMAP | |
578 EXTERN int p_fkmap; /* 'fkmap' */ | |
579 EXTERN int p_altkeymap; /* 'altkeymap' */ | |
580 # endif | |
581 # ifdef FEAT_ARABIC | |
582 EXTERN int p_arshape; /* 'arabicshape' */ | |
583 # endif | |
584 #endif | |
585 #ifdef FEAT_TITLE | |
586 EXTERN int p_icon; /* 'icon' */ | |
587 EXTERN char_u *p_iconstring; /* 'iconstring' */ | |
588 #endif | |
589 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
|
590 #if defined(FEAT_XIM) && defined(FEAT_GUI_GTK) |
7 | 591 EXTERN char_u *p_imak; /* 'imactivatekey' */ |
5008
3717d569027d
updated for version 7.3.1248
Bram Moolenaar <bram@vim.org>
parents:
4444
diff
changeset
|
592 EXTERN char_u *p_imaf; /* 'imactivatefunc' */ |
3717d569027d
updated for version 7.3.1248
Bram Moolenaar <bram@vim.org>
parents:
4444
diff
changeset
|
593 EXTERN char_u *p_imsf; /* 'imstatusfunc' */ |
7 | 594 #endif |
595 #ifdef USE_IM_CONTROL | |
596 EXTERN int p_imcmdline; /* 'imcmdline' */ | |
597 EXTERN int p_imdisable; /* 'imdisable' */ | |
598 #endif | |
599 EXTERN int p_is; /* 'incsearch' */ | |
600 EXTERN int p_im; /* 'insertmode' */ | |
601 EXTERN char_u *p_isf; /* 'isfname' */ | |
602 EXTERN char_u *p_isi; /* 'isident' */ | |
603 EXTERN char_u *p_isp; /* 'isprint' */ | |
604 EXTERN int p_js; /* 'joinspaces' */ | |
605 EXTERN char_u *p_kp; /* 'keywordprg' */ | |
606 EXTERN char_u *p_km; /* 'keymodel' */ | |
607 #ifdef FEAT_LANGMAP | |
608 EXTERN char_u *p_langmap; /* 'langmap'*/ | |
6339 | 609 EXTERN int p_lnr; /* 'langnoremap' */ |
7 | 610 #endif |
611 #if defined(FEAT_MENU) && defined(FEAT_MULTI_LANG) | |
612 EXTERN char_u *p_lm; /* 'langmenu' */ | |
613 #endif | |
614 #ifdef FEAT_GUI | |
615 EXTERN long p_linespace; /* 'linespace' */ | |
616 #endif | |
617 #ifdef FEAT_LISP | |
618 EXTERN char_u *p_lispwords; /* 'lispwords' */ | |
619 #endif | |
620 #ifdef FEAT_WINDOWS | |
621 EXTERN long p_ls; /* 'laststatus' */ | |
677 | 622 EXTERN long p_stal; /* 'showtabline' */ |
7 | 623 #endif |
624 EXTERN char_u *p_lcs; /* 'listchars' */ | |
625 | |
626 EXTERN int p_lz; /* 'lazyredraw' */ | |
627 EXTERN int p_lpl; /* 'loadplugins' */ | |
7530
5d1b5fd708c6
commit https://github.com/vim/vim/commit/64496ffc9cfb0eb6f2074f22809de2b420b5f300
Christian Brabandt <cb@256bit.org>
parents:
7408
diff
changeset
|
628 #if defined(DYNAMIC_LUA) |
7196
42717d048817
commit https://github.com/vim/vim/commit/d94464ee294a351ce7b6ba18e8bd3f24f1bef920
Christian Brabandt <cb@256bit.org>
parents:
6949
diff
changeset
|
629 EXTERN char_u *p_luadll; /* 'luadll' */ |
42717d048817
commit https://github.com/vim/vim/commit/d94464ee294a351ce7b6ba18e8bd3f24f1bef920
Christian Brabandt <cb@256bit.org>
parents:
6949
diff
changeset
|
630 #endif |
842 | 631 #ifdef FEAT_GUI_MAC |
632 EXTERN int p_macatsui; /* 'macatsui' */ | |
633 #endif | |
7 | 634 EXTERN int p_magic; /* 'magic' */ |
635 #ifdef FEAT_QUICKFIX | |
636 EXTERN char_u *p_mef; /* 'makeef' */ | |
637 EXTERN char_u *p_mp; /* 'makeprg' */ | |
638 #endif | |
2314
233eb4412f5d
Added 'colorcolumn' option. Partly by Gregor Uhlenheuer.
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
639 #ifdef FEAT_SYN_HL |
233eb4412f5d
Added 'colorcolumn' option. Partly by Gregor Uhlenheuer.
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
640 EXTERN char_u *p_cc; /* 'colorcolumn' */ |
233eb4412f5d
Added 'colorcolumn' option. Partly by Gregor Uhlenheuer.
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
641 EXTERN int p_cc_cols[256]; /* array for 'colorcolumn' columns */ |
233eb4412f5d
Added 'colorcolumn' option. Partly by Gregor Uhlenheuer.
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
642 #endif |
7 | 643 EXTERN long p_mat; /* 'matchtime' */ |
714 | 644 #ifdef FEAT_MBYTE |
645 EXTERN long p_mco; /* 'maxcombine' */ | |
646 #endif | |
7 | 647 #ifdef FEAT_EVAL |
648 EXTERN long p_mfd; /* 'maxfuncdepth' */ | |
649 #endif | |
650 EXTERN long p_mmd; /* 'maxmapdepth' */ | |
651 EXTERN long p_mm; /* 'maxmem' */ | |
190 | 652 EXTERN long p_mmp; /* 'maxmempattern' */ |
7 | 653 EXTERN long p_mmt; /* 'maxmemtot' */ |
654 #ifdef FEAT_MENU | |
655 EXTERN long p_mis; /* 'menuitems' */ | |
656 #endif | |
744 | 657 #ifdef FEAT_SPELL |
484 | 658 EXTERN char_u *p_msm; /* 'mkspellmem' */ |
659 #endif | |
7 | 660 EXTERN long p_mls; /* 'modelines' */ |
661 EXTERN char_u *p_mouse; /* 'mouse' */ | |
662 #ifdef FEAT_GUI | |
663 EXTERN int p_mousef; /* 'mousefocus' */ | |
664 EXTERN int p_mh; /* 'mousehide' */ | |
665 #endif | |
666 EXTERN char_u *p_mousem; /* 'mousemodel' */ | |
667 EXTERN long p_mouset; /* 'mousetime' */ | |
668 EXTERN int p_more; /* 'more' */ | |
14 | 669 #ifdef FEAT_MZSCHEME |
670 EXTERN long p_mzq; /* 'mzquantum */ | |
671 #endif | |
8212
05b88224cea1
commit https://github.com/vim/vim/commit/48e330aff911be1c798c88a973af6437a8141fce
Christian Brabandt <cb@256bit.org>
parents:
8182
diff
changeset
|
672 #if defined(MSWIN) |
1004 | 673 EXTERN int p_odev; /* 'opendevice' */ |
674 #endif | |
593 | 675 EXTERN char_u *p_opfunc; /* 'operatorfunc' */ |
7 | 676 EXTERN char_u *p_para; /* 'paragraphs' */ |
677 EXTERN int p_paste; /* 'paste' */ | |
678 EXTERN char_u *p_pt; /* 'pastetoggle' */ | |
679 #if defined(FEAT_EVAL) && defined(FEAT_DIFF) | |
680 EXTERN char_u *p_pex; /* 'patchexpr' */ | |
681 #endif | |
682 EXTERN char_u *p_pm; /* 'patchmode' */ | |
683 EXTERN char_u *p_path; /* 'path' */ | |
684 #ifdef FEAT_SEARCHPATH | |
685 EXTERN char_u *p_cdpath; /* 'cdpath' */ | |
686 #endif | |
7530
5d1b5fd708c6
commit https://github.com/vim/vim/commit/64496ffc9cfb0eb6f2074f22809de2b420b5f300
Christian Brabandt <cb@256bit.org>
parents:
7408
diff
changeset
|
687 #if defined(DYNAMIC_PERL) |
7196
42717d048817
commit https://github.com/vim/vim/commit/d94464ee294a351ce7b6ba18e8bd3f24f1bef920
Christian Brabandt <cb@256bit.org>
parents:
6949
diff
changeset
|
688 EXTERN char_u *p_perldll; /* 'perldll' */ |
42717d048817
commit https://github.com/vim/vim/commit/d94464ee294a351ce7b6ba18e8bd3f24f1bef920
Christian Brabandt <cb@256bit.org>
parents:
6949
diff
changeset
|
689 #endif |
7530
5d1b5fd708c6
commit https://github.com/vim/vim/commit/64496ffc9cfb0eb6f2074f22809de2b420b5f300
Christian Brabandt <cb@256bit.org>
parents:
7408
diff
changeset
|
690 #if defined(DYNAMIC_PYTHON3) |
7218
36dc8df8560f
commit https://github.com/vim/vim/commit/0796c0625fa4b9eb2f47fe8c976b78523924e1fb
Christian Brabandt <cb@256bit.org>
parents:
7196
diff
changeset
|
691 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
|
692 #endif |
7530
5d1b5fd708c6
commit https://github.com/vim/vim/commit/64496ffc9cfb0eb6f2074f22809de2b420b5f300
Christian Brabandt <cb@256bit.org>
parents:
7408
diff
changeset
|
693 #if defined(DYNAMIC_PYTHON) |
7196
42717d048817
commit https://github.com/vim/vim/commit/d94464ee294a351ce7b6ba18e8bd3f24f1bef920
Christian Brabandt <cb@256bit.org>
parents:
6949
diff
changeset
|
694 EXTERN char_u *p_pydll; /* 'pythondll' */ |
42717d048817
commit https://github.com/vim/vim/commit/d94464ee294a351ce7b6ba18e8bd3f24f1bef920
Christian Brabandt <cb@256bit.org>
parents:
6949
diff
changeset
|
695 #endif |
1521 | 696 #ifdef FEAT_RELTIME |
697 EXTERN long p_rdt; /* 'redrawtime' */ | |
698 #endif | |
7 | 699 EXTERN int p_remap; /* 'remap' */ |
4444 | 700 EXTERN long p_re; /* 'regexpengine' */ |
6110 | 701 #ifdef FEAT_RENDER_OPTIONS |
702 EXTERN char_u *p_rop; /* 'renderoptions' */ | |
703 #endif | |
7 | 704 EXTERN long p_report; /* 'report' */ |
705 #if defined(FEAT_WINDOWS) && defined(FEAT_QUICKFIX) | |
706 EXTERN long p_pvh; /* 'previewheight' */ | |
707 #endif | |
708 #ifdef WIN3264 | |
709 EXTERN int p_rs; /* 'restorescreen' */ | |
710 #endif | |
711 #ifdef FEAT_RIGHTLEFT | |
712 EXTERN int p_ari; /* 'allowrevins' */ | |
713 EXTERN int p_ri; /* 'revins' */ | |
714 #endif | |
7530
5d1b5fd708c6
commit https://github.com/vim/vim/commit/64496ffc9cfb0eb6f2074f22809de2b420b5f300
Christian Brabandt <cb@256bit.org>
parents:
7408
diff
changeset
|
715 #if defined(DYNAMIC_RUBY) |
7196
42717d048817
commit https://github.com/vim/vim/commit/d94464ee294a351ce7b6ba18e8bd3f24f1bef920
Christian Brabandt <cb@256bit.org>
parents:
6949
diff
changeset
|
716 EXTERN char_u *p_rubydll; /* 'rubydll' */ |
42717d048817
commit https://github.com/vim/vim/commit/d94464ee294a351ce7b6ba18e8bd3f24f1bef920
Christian Brabandt <cb@256bit.org>
parents:
6949
diff
changeset
|
717 #endif |
7 | 718 #ifdef FEAT_CMDL_INFO |
719 EXTERN int p_ru; /* 'ruler' */ | |
720 #endif | |
721 #ifdef FEAT_STL_OPT | |
722 EXTERN char_u *p_ruf; /* 'rulerformat' */ | |
723 #endif | |
8182
95d59081580f
commit https://github.com/vim/vim/commit/f6fee0e2d4341c0c2f5339c1268e5877fafd07cf
Christian Brabandt <cb@256bit.org>
parents:
7538
diff
changeset
|
724 EXTERN char_u *p_pp; /* 'packpath' */ |
7 | 725 EXTERN char_u *p_rtp; /* 'runtimepath' */ |
726 EXTERN long p_sj; /* 'scrolljump' */ | |
727 EXTERN long p_so; /* 'scrolloff' */ | |
728 #ifdef FEAT_SCROLLBIND | |
729 EXTERN char_u *p_sbo; /* 'scrollopt' */ | |
730 #endif | |
731 EXTERN char_u *p_sections; /* 'sections' */ | |
732 EXTERN int p_secure; /* 'secure' */ | |
733 EXTERN char_u *p_sel; /* 'selection' */ | |
734 EXTERN char_u *p_slm; /* 'selectmode' */ | |
735 #ifdef FEAT_SESSION | |
736 EXTERN char_u *p_ssop; /* 'sessionoptions' */ | |
737 EXTERN unsigned ssop_flags; | |
738 # ifdef IN_OPTION_C | |
739 /* Also used for 'viewoptions'! */ | |
740 static char *(p_ssop_values[]) = {"buffers", "winpos", "resize", "winsize", | |
741 "localoptions", "options", "help", "blank", "globals", "slash", "unix", | |
827 | 742 "sesdir", "curdir", "folds", "cursor", "tabpages", NULL}; |
7 | 743 # endif |
744 # define SSOP_BUFFERS 0x001 | |
745 # define SSOP_WINPOS 0x002 | |
746 # define SSOP_RESIZE 0x004 | |
747 # define SSOP_WINSIZE 0x008 | |
748 # define SSOP_LOCALOPTIONS 0x010 | |
749 # define SSOP_OPTIONS 0x020 | |
750 # define SSOP_HELP 0x040 | |
751 # define SSOP_BLANK 0x080 | |
752 # define SSOP_GLOBALS 0x100 | |
753 # define SSOP_SLASH 0x200 | |
754 # define SSOP_UNIX 0x400 | |
755 # define SSOP_SESDIR 0x800 | |
756 # define SSOP_CURDIR 0x1000 | |
757 # define SSOP_FOLDS 0x2000 | |
758 # define SSOP_CURSOR 0x4000 | |
827 | 759 # define SSOP_TABPAGES 0x8000 |
7 | 760 #endif |
761 EXTERN char_u *p_sh; /* 'shell' */ | |
762 EXTERN char_u *p_shcf; /* 'shellcmdflag' */ | |
763 #ifdef FEAT_QUICKFIX | |
764 EXTERN char_u *p_sp; /* 'shellpipe' */ | |
765 #endif | |
766 EXTERN char_u *p_shq; /* 'shellquote' */ | |
767 EXTERN char_u *p_sxq; /* 'shellxquote' */ | |
3359 | 768 EXTERN char_u *p_sxe; /* 'shellxescape' */ |
7 | 769 EXTERN char_u *p_srr; /* 'shellredir' */ |
770 #ifdef AMIGA | |
771 EXTERN long p_st; /* 'shelltype' */ | |
772 #endif | |
168 | 773 EXTERN int p_stmp; /* 'shelltemp' */ |
7 | 774 #ifdef BACKSLASH_IN_FILENAME |
775 EXTERN int p_ssl; /* 'shellslash' */ | |
776 #endif | |
777 #ifdef FEAT_STL_OPT | |
778 EXTERN char_u *p_stl; /* 'statusline' */ | |
779 #endif | |
780 EXTERN int p_sr; /* 'shiftround' */ | |
781 EXTERN char_u *p_shm; /* 'shortmess' */ | |
782 #ifdef FEAT_LINEBREAK | |
783 EXTERN char_u *p_sbr; /* 'showbreak' */ | |
784 #endif | |
785 #ifdef FEAT_CMDL_INFO | |
786 EXTERN int p_sc; /* 'showcmd' */ | |
787 #endif | |
788 EXTERN int p_sft; /* 'showfulltag' */ | |
789 EXTERN int p_sm; /* 'showmatch' */ | |
790 EXTERN int p_smd; /* 'showmode' */ | |
791 EXTERN long p_ss; /* 'sidescroll' */ | |
792 EXTERN long p_siso; /* 'sidescrolloff' */ | |
793 EXTERN int p_scs; /* 'smartcase' */ | |
794 EXTERN int p_sta; /* 'smarttab' */ | |
795 #ifdef FEAT_WINDOWS | |
796 EXTERN int p_sb; /* 'splitbelow' */ | |
699 | 797 EXTERN long p_tpm; /* 'tabpagemax' */ |
677 | 798 # if defined(FEAT_STL_OPT) |
799 EXTERN char_u *p_tal; /* 'tabline' */ | |
800 # endif | |
7 | 801 #endif |
744 | 802 #ifdef FEAT_SPELL |
344 | 803 EXTERN char_u *p_sps; /* 'spellsuggest' */ |
804 #endif | |
8643
24b43dd167eb
commit https://github.com/vim/vim/commit/44a2f923c00f1384c9ecde12fb5b4711bc20702e
Christian Brabandt <cb@256bit.org>
parents:
8629
diff
changeset
|
805 #ifdef FEAT_WINDOWS |
7 | 806 EXTERN int p_spr; /* 'splitright' */ |
807 #endif | |
808 EXTERN int p_sol; /* 'startofline' */ | |
809 EXTERN char_u *p_su; /* 'suffixes' */ | |
810 EXTERN char_u *p_sws; /* 'swapsync' */ | |
811 EXTERN char_u *p_swb; /* 'switchbuf' */ | |
1622 | 812 EXTERN unsigned swb_flags; |
813 #ifdef IN_OPTION_C | |
6843 | 814 static char *(p_swb_values[]) = {"useopen", "usetab", "split", "newtab", "vsplit", NULL}; |
1622 | 815 #endif |
816 #define SWB_USEOPEN 0x001 | |
817 #define SWB_USETAB 0x002 | |
818 #define SWB_SPLIT 0x004 | |
819 #define SWB_NEWTAB 0x008 | |
6843 | 820 #define SWB_VSPLIT 0x010 |
7 | 821 EXTERN int p_tbs; /* 'tagbsearch' */ |
7266
6ba7182fb7bd
commit https://github.com/vim/vim/commit/0f6562e9036f889185dff49a75c7fc5ffb28b307
Christian Brabandt <cb@256bit.org>
parents:
7233
diff
changeset
|
822 EXTERN char_u *p_tc; /* 'tagcase' */ |
6ba7182fb7bd
commit https://github.com/vim/vim/commit/0f6562e9036f889185dff49a75c7fc5ffb28b307
Christian Brabandt <cb@256bit.org>
parents:
7233
diff
changeset
|
823 EXTERN unsigned tc_flags; /* flags from 'tagcase' */ |
6ba7182fb7bd
commit https://github.com/vim/vim/commit/0f6562e9036f889185dff49a75c7fc5ffb28b307
Christian Brabandt <cb@256bit.org>
parents:
7233
diff
changeset
|
824 #ifdef IN_OPTION_C |
6ba7182fb7bd
commit https://github.com/vim/vim/commit/0f6562e9036f889185dff49a75c7fc5ffb28b307
Christian Brabandt <cb@256bit.org>
parents:
7233
diff
changeset
|
825 static char *(p_tc_values[]) = {"followic", "ignore", "match", NULL}; |
6ba7182fb7bd
commit https://github.com/vim/vim/commit/0f6562e9036f889185dff49a75c7fc5ffb28b307
Christian Brabandt <cb@256bit.org>
parents:
7233
diff
changeset
|
826 #endif |
6ba7182fb7bd
commit https://github.com/vim/vim/commit/0f6562e9036f889185dff49a75c7fc5ffb28b307
Christian Brabandt <cb@256bit.org>
parents:
7233
diff
changeset
|
827 #define TC_FOLLOWIC 0x01 |
6ba7182fb7bd
commit https://github.com/vim/vim/commit/0f6562e9036f889185dff49a75c7fc5ffb28b307
Christian Brabandt <cb@256bit.org>
parents:
7233
diff
changeset
|
828 #define TC_IGNORE 0x02 |
6ba7182fb7bd
commit https://github.com/vim/vim/commit/0f6562e9036f889185dff49a75c7fc5ffb28b307
Christian Brabandt <cb@256bit.org>
parents:
7233
diff
changeset
|
829 #define TC_MATCH 0x04 |
7 | 830 EXTERN long p_tl; /* 'taglength' */ |
831 EXTERN int p_tr; /* 'tagrelative' */ | |
832 EXTERN char_u *p_tags; /* 'tags' */ | |
833 EXTERN int p_tgst; /* 'tagstack' */ | |
7538
c9fc24b76293
commit https://github.com/vim/vim/commit/8a5115cf18751022387af2085f374d38c60dde83
Christian Brabandt <cb@256bit.org>
parents:
7530
diff
changeset
|
834 #if defined(DYNAMIC_TCL) |
c9fc24b76293
commit https://github.com/vim/vim/commit/8a5115cf18751022387af2085f374d38c60dde83
Christian Brabandt <cb@256bit.org>
parents:
7530
diff
changeset
|
835 EXTERN char_u *p_tcldll; /* 'tcldll' */ |
c9fc24b76293
commit https://github.com/vim/vim/commit/8a5115cf18751022387af2085f374d38c60dde83
Christian Brabandt <cb@256bit.org>
parents:
7530
diff
changeset
|
836 #endif |
7 | 837 #ifdef FEAT_ARABIC |
838 EXTERN int p_tbidi; /* 'termbidi' */ | |
839 #endif | |
840 #ifdef FEAT_MBYTE | |
841 EXTERN char_u *p_tenc; /* 'termencoding' */ | |
842 #endif | |
9027
773d627cac0b
commit https://github.com/vim/vim/commit/61be73bb0f965a895bfb064ea3e55476ac175162
Christian Brabandt <cb@256bit.org>
parents:
8969
diff
changeset
|
843 #ifdef FEAT_TERMGUICOLORS |
773d627cac0b
commit https://github.com/vim/vim/commit/61be73bb0f965a895bfb064ea3e55476ac175162
Christian Brabandt <cb@256bit.org>
parents:
8969
diff
changeset
|
844 EXTERN int p_tgc; /* 'termguicolors' */ |
773d627cac0b
commit https://github.com/vim/vim/commit/61be73bb0f965a895bfb064ea3e55476ac175162
Christian Brabandt <cb@256bit.org>
parents:
8969
diff
changeset
|
845 #endif |
7 | 846 EXTERN int p_terse; /* 'terse' */ |
847 EXTERN int p_ta; /* 'textauto' */ | |
848 EXTERN int p_to; /* 'tildeop' */ | |
849 EXTERN int p_timeout; /* 'timeout' */ | |
850 EXTERN long p_tm; /* 'timeoutlen' */ | |
851 #ifdef FEAT_TITLE | |
852 EXTERN int p_title; /* 'title' */ | |
853 EXTERN long p_titlelen; /* 'titlelen' */ | |
854 EXTERN char_u *p_titleold; /* 'titleold' */ | |
855 EXTERN char_u *p_titlestring; /* 'titlestring' */ | |
856 #endif | |
857 #ifdef FEAT_INS_EXPAND | |
858 EXTERN char_u *p_tsr; /* 'thesaurus' */ | |
859 #endif | |
860 EXTERN int p_ttimeout; /* 'ttimeout' */ | |
861 EXTERN long p_ttm; /* 'ttimeoutlen' */ | |
862 EXTERN int p_tbi; /* 'ttybuiltin' */ | |
863 EXTERN int p_tf; /* 'ttyfast' */ | |
864 #if defined(FEAT_TOOLBAR) && !defined(FEAT_GUI_W32) | |
865 EXTERN char_u *p_toolbar; /* 'toolbar' */ | |
866 EXTERN unsigned toolbar_flags; | |
867 # ifdef IN_OPTION_C | |
868 static char *(p_toolbar_values[]) = {"text", "icons", "tooltips", "horiz", NULL}; | |
869 # endif | |
870 # define TOOLBAR_TEXT 0x01 | |
871 # define TOOLBAR_ICONS 0x02 | |
872 # define TOOLBAR_TOOLTIPS 0x04 | |
873 # define TOOLBAR_HORIZ 0x08 | |
874 #endif | |
2275
e4d849f4df03
Remove the old and not well supported GTK 1 code. (James Vega)
Bram Moolenaar <bram@vim.org>
parents:
2250
diff
changeset
|
875 #if defined(FEAT_TOOLBAR) && defined(FEAT_GUI_GTK) |
7 | 876 EXTERN char_u *p_tbis; /* 'toolbariconsize' */ |
877 EXTERN unsigned tbis_flags; | |
878 # ifdef IN_OPTION_C | |
8469
42020d59a432
commit https://github.com/vim/vim/commit/beb003b303cde1e55634aae9f810535684b76211
Christian Brabandt <cb@256bit.org>
parents:
8212
diff
changeset
|
879 static char *(p_tbis_values[]) = {"tiny", "small", "medium", "large", "huge", "giant", NULL}; |
7 | 880 # endif |
881 # define TBIS_TINY 0x01 | |
882 # define TBIS_SMALL 0x02 | |
883 # define TBIS_MEDIUM 0x04 | |
884 # define TBIS_LARGE 0x08 | |
8469
42020d59a432
commit https://github.com/vim/vim/commit/beb003b303cde1e55634aae9f810535684b76211
Christian Brabandt <cb@256bit.org>
parents:
8212
diff
changeset
|
885 # define TBIS_HUGE 0x10 |
42020d59a432
commit https://github.com/vim/vim/commit/beb003b303cde1e55634aae9f810535684b76211
Christian Brabandt <cb@256bit.org>
parents:
8212
diff
changeset
|
886 # define TBIS_GIANT 0x20 |
7 | 887 #endif |
888 EXTERN long p_ttyscroll; /* 'ttyscroll' */ | |
889 #if defined(FEAT_MOUSE) && (defined(UNIX) || defined(VMS)) | |
890 EXTERN char_u *p_ttym; /* 'ttymouse' */ | |
891 EXTERN unsigned ttym_flags; | |
892 # ifdef IN_OPTION_C | |
3746 | 893 static char *(p_ttym_values[]) = {"xterm", "xterm2", "dec", "netterm", "jsbterm", "pterm", "urxvt", "sgr", NULL}; |
7 | 894 # endif |
895 # define TTYM_XTERM 0x01 | |
896 # define TTYM_XTERM2 0x02 | |
897 # define TTYM_DEC 0x04 | |
898 # define TTYM_NETTERM 0x08 | |
899 # define TTYM_JSBTERM 0x10 | |
900 # define TTYM_PTERM 0x20 | |
3145 | 901 # define TTYM_URXVT 0x40 |
3746 | 902 # define TTYM_SGR 0x80 |
7 | 903 #endif |
2214
f8222d1f9a73
Included patch for persistent undo. Lots of changes and added test.
Bram Moolenaar <bram@vim.org>
parents:
2180
diff
changeset
|
904 EXTERN char_u *p_udir; /* 'undodir' */ |
7 | 905 EXTERN long p_ul; /* 'undolevels' */ |
2394
a3aca345aafa
Add the 'undoreload' option to be able to undo a file reload.
Bram Moolenaar <bram@vim.org>
parents:
2382
diff
changeset
|
906 EXTERN long p_ur; /* 'undoreload' */ |
7 | 907 EXTERN long p_uc; /* 'updatecount' */ |
908 EXTERN long p_ut; /* 'updatetime' */ | |
909 #if defined(FEAT_WINDOWS) || defined(FEAT_FOLDING) | |
910 EXTERN char_u *p_fcs; /* 'fillchar' */ | |
911 #endif | |
912 #ifdef FEAT_VIMINFO | |
913 EXTERN char_u *p_viminfo; /* 'viminfo' */ | |
914 #endif | |
915 #ifdef FEAT_SESSION | |
916 EXTERN char_u *p_vdir; /* 'viewdir' */ | |
917 EXTERN char_u *p_vop; /* 'viewoptions' */ | |
918 EXTERN unsigned vop_flags; /* uses SSOP_ flags */ | |
919 #endif | |
920 EXTERN int p_vb; /* 'visualbell' */ | |
921 #ifdef FEAT_VIRTUALEDIT | |
922 EXTERN char_u *p_ve; /* 'virtualedit' */ | |
923 EXTERN unsigned ve_flags; | |
924 # ifdef IN_OPTION_C | |
773 | 925 static char *(p_ve_values[]) = {"block", "insert", "all", "onemore", NULL}; |
7 | 926 # endif |
927 # define VE_BLOCK 5 /* includes "all" */ | |
928 # define VE_INSERT 6 /* includes "all" */ | |
929 # define VE_ALL 4 | |
773 | 930 # define VE_ONEMORE 8 |
7 | 931 #endif |
932 EXTERN long p_verbose; /* 'verbose' */ | |
2696 | 933 #ifdef IN_OPTION_C |
934 char_u *p_vfile = (char_u *)""; /* used before options are initialized */ | |
935 #else | |
2702 | 936 extern char_u *p_vfile; /* 'verbosefile' */ |
2696 | 937 #endif |
7 | 938 EXTERN int p_warn; /* 'warn' */ |
40 | 939 #ifdef FEAT_CMDL_COMPL |
940 EXTERN char_u *p_wop; /* 'wildoptions' */ | |
941 #endif | |
164 | 942 EXTERN long p_window; /* 'window' */ |
7 | 943 #if defined(FEAT_GUI_MSWIN) || defined(FEAT_GUI_MOTIF) || defined(LINT) \ |
574 | 944 || defined (FEAT_GUI_GTK) || defined(FEAT_GUI_PHOTON) |
7 | 945 #define FEAT_WAK |
946 EXTERN char_u *p_wak; /* 'winaltkeys' */ | |
947 #endif | |
948 #ifdef FEAT_WILDIGN | |
949 EXTERN char_u *p_wig; /* 'wildignore' */ | |
950 #endif | |
951 EXTERN int p_wiv; /* 'weirdinvert' */ | |
952 EXTERN char_u *p_ww; /* 'whichwrap' */ | |
953 EXTERN long p_wc; /* 'wildchar' */ | |
954 EXTERN long p_wcm; /* 'wildcharm' */ | |
2652 | 955 EXTERN long p_wic; /* 'wildignorecase' */ |
7 | 956 EXTERN char_u *p_wim; /* 'wildmode' */ |
957 #ifdef FEAT_WILDMENU | |
958 EXTERN int p_wmnu; /* 'wildmenu' */ | |
959 #endif | |
960 #ifdef FEAT_WINDOWS | |
961 EXTERN long p_wh; /* 'winheight' */ | |
962 EXTERN long p_wmh; /* 'winminheight' */ | |
963 EXTERN long p_wmw; /* 'winminwidth' */ | |
964 EXTERN long p_wiw; /* 'winwidth' */ | |
965 #endif | |
966 EXTERN int p_ws; /* 'wrapscan' */ | |
967 EXTERN int p_write; /* 'write' */ | |
968 EXTERN int p_wa; /* 'writeany' */ | |
969 EXTERN int p_wb; /* 'writebackup' */ | |
970 EXTERN long p_wd; /* 'writedelay' */ | |
694 | 971 |
972 /* | |
973 * "indir" values for buffer-local opions. | |
974 * These need to be defined globally, so that the BV_COUNT can be used with | |
975 * b_p_scriptID[]. | |
976 */ | |
977 enum | |
978 { | |
979 BV_AI = 0 | |
980 , BV_AR | |
981 #ifdef FEAT_QUICKFIX | |
982 , BV_BH | |
6243 | 983 #endif |
984 , BV_BKC | |
985 #ifdef FEAT_QUICKFIX | |
694 | 986 , BV_BT |
987 , BV_EFM | |
988 , BV_GP | |
989 , BV_MP | |
990 #endif | |
991 , BV_BIN | |
992 , BV_BL | |
993 #ifdef FEAT_MBYTE | |
994 , BV_BOMB | |
995 #endif | |
996 , BV_CI | |
997 #ifdef FEAT_CINDENT | |
998 , BV_CIN | |
999 , BV_CINK | |
1000 , BV_CINO | |
1001 #endif | |
1002 #if defined(FEAT_SMARTINDENT) || defined(FEAT_CINDENT) | |
1003 , BV_CINW | |
1004 #endif | |
2180
f60a0c9cbe6c
Add the blowfish encryption patch from Mohsin Ahmed. Needs more work.
Bram Moolenaar <bram@vim.org>
parents:
2178
diff
changeset
|
1005 , BV_CM |
694 | 1006 #ifdef FEAT_FOLDING |
1007 , BV_CMS | |
1008 #endif | |
1009 #ifdef FEAT_COMMENTS | |
1010 , BV_COM | |
1011 #endif | |
1012 #ifdef FEAT_INS_EXPAND | |
1013 , BV_CPT | |
1014 , BV_DICT | |
1015 , BV_TSR | |
1016 #endif | |
1017 #ifdef FEAT_COMPL_FUNC | |
1018 , BV_CFU | |
1019 #endif | |
1020 #ifdef FEAT_FIND_ID | |
1021 , BV_DEF | |
1022 , BV_INC | |
1023 #endif | |
1024 , BV_EOL | |
6933 | 1025 , BV_FIXEOL |
694 | 1026 , BV_EP |
1027 , BV_ET | |
1028 , BV_FENC | |
1029 #ifdef FEAT_EVAL | |
790 | 1030 , BV_BEXPR |
694 | 1031 , BV_FEX |
1032 #endif | |
1033 , BV_FF | |
1034 , BV_FLP | |
1035 , BV_FO | |
1036 #ifdef FEAT_AUTOCMD | |
1037 , BV_FT | |
1038 #endif | |
1039 , BV_IMI | |
1040 , BV_IMS | |
1041 #if defined(FEAT_CINDENT) && defined(FEAT_EVAL) | |
1042 , BV_INDE | |
1043 , BV_INDK | |
1044 #endif | |
1045 #if defined(FEAT_FIND_ID) && defined(FEAT_EVAL) | |
1046 , BV_INEX | |
1047 #endif | |
1048 , BV_INF | |
1049 , BV_ISK | |
1050 #ifdef FEAT_CRYPT | |
1051 , BV_KEY | |
1052 #endif | |
1053 #ifdef FEAT_KEYMAP | |
1054 , BV_KMAP | |
1055 #endif | |
1056 , BV_KP | |
1057 #ifdef FEAT_LISP | |
1058 , BV_LISP | |
5712 | 1059 , BV_LW |
694 | 1060 #endif |
1061 , BV_MA | |
1062 , BV_ML | |
1063 , BV_MOD | |
1064 , BV_MPS | |
1065 , BV_NF | |
1066 #ifdef FEAT_COMPL_FUNC | |
1067 , BV_OFU | |
1068 #endif | |
1069 , BV_PATH | |
1070 , BV_PI | |
1071 #ifdef FEAT_TEXTOBJ | |
1072 , BV_QE | |
1073 #endif | |
1074 , BV_RO | |
1075 #ifdef FEAT_SMARTINDENT | |
1076 , BV_SI | |
1077 #endif | |
1078 , BV_SN | |
1079 #ifdef FEAT_SYN_HL | |
1080 , BV_SMC | |
744 | 1081 , BV_SYN |
1082 #endif | |
1083 #ifdef FEAT_SPELL | |
694 | 1084 , BV_SPC |
1085 , BV_SPF | |
1086 , BV_SPL | |
1087 #endif | |
1088 , BV_STS | |
1089 #ifdef FEAT_SEARCHPATH | |
1090 , BV_SUA | |
1091 #endif | |
1092 , BV_SW | |
1093 , BV_SWF | |
1094 , BV_TAGS | |
7266
6ba7182fb7bd
commit https://github.com/vim/vim/commit/0f6562e9036f889185dff49a75c7fc5ffb28b307
Christian Brabandt <cb@256bit.org>
parents:
7233
diff
changeset
|
1095 , BV_TC |
694 | 1096 , BV_TS |
1097 , BV_TW | |
1098 , BV_TX | |
2214
f8222d1f9a73
Included patch for persistent undo. Lots of changes and added test.
Bram Moolenaar <bram@vim.org>
parents:
2180
diff
changeset
|
1099 , BV_UDF |
5446 | 1100 , BV_UL |
694 | 1101 , BV_WM |
1102 , BV_COUNT /* must be the last one */ | |
1103 }; | |
1104 | |
1105 /* | |
1106 * "indir" values for window-local options. | |
1107 * These need to be defined globally, so that the WV_COUNT can be used in the | |
1108 * window structure. | |
1109 */ | |
1110 enum | |
1111 { | |
1112 WV_LIST = 0 | |
1113 #ifdef FEAT_ARABIC | |
1114 , WV_ARAB | |
1115 #endif | |
2250
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
1116 #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
|
1117 , 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
|
1118 , WV_COLE |
2250
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
1119 #endif |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
1120 #ifdef FEAT_CURSORBIND |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
1121 , WV_CRBIND |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
1122 #endif |
5995 | 1123 #ifdef FEAT_LINEBREAK |
1124 , WV_BRI | |
1125 , WV_BRIOPT | |
1126 #endif | |
694 | 1127 #ifdef FEAT_DIFF |
1128 , WV_DIFF | |
1129 #endif | |
1130 #ifdef FEAT_FOLDING | |
1131 , WV_FDC | |
1132 , WV_FEN | |
1133 , WV_FDI | |
1134 , WV_FDL | |
1135 , WV_FDM | |
1136 , WV_FML | |
1137 , WV_FDN | |
1138 # ifdef FEAT_EVAL | |
1139 , WV_FDE | |
1140 , WV_FDT | |
1141 # endif | |
1142 , WV_FMR | |
1143 #endif | |
1144 #ifdef FEAT_LINEBREAK | |
1145 , WV_LBR | |
1146 #endif | |
1147 , WV_NU | |
2178
c6f1aa1e9f32
Add 'relativenumber' patch from Markus Heidelberg.
Bram Moolenaar <bram@vim.org>
parents:
2089
diff
changeset
|
1148 , WV_RNU |
694 | 1149 #ifdef FEAT_LINEBREAK |
1150 , WV_NUW | |
1151 #endif | |
1152 #if defined(FEAT_WINDOWS) && defined(FEAT_QUICKFIX) | |
1153 , WV_PVW | |
1154 #endif | |
1155 #ifdef FEAT_RIGHTLEFT | |
1156 , WV_RL | |
1157 , WV_RLC | |
1158 #endif | |
1159 #ifdef FEAT_SCROLLBIND | |
1160 , WV_SCBIND | |
1161 #endif | |
1162 , WV_SCROLL | |
744 | 1163 #ifdef FEAT_SPELL |
694 | 1164 , WV_SPELL |
744 | 1165 #endif |
1166 #ifdef FEAT_SYN_HL | |
1167 , WV_CUC | |
1168 , WV_CUL | |
2314
233eb4412f5d
Added 'colorcolumn' option. Partly by Gregor Uhlenheuer.
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
1169 , WV_CC |
694 | 1170 #endif |
1171 #ifdef FEAT_STL_OPT | |
1172 , WV_STL | |
1173 #endif | |
1174 #ifdef FEAT_WINDOWS | |
1175 , WV_WFH | |
782 | 1176 , WV_WFW |
1177 #endif | |
694 | 1178 , WV_WRAP |
1179 , WV_COUNT /* must be the last one */ | |
1180 }; | |
5446 | 1181 |
1182 /* Value for b_p_ul indicating the global value must be used. */ | |
1183 #define NO_LOCAL_UNDOLEVEL -123456 |