1 /* vi:set ts=8 sts=4 sw=4 noet:
3 * VIM - Vi IMproved by Bram Moolenaar
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.
10 * optiondefs.h: option definitions
13 // The options that are local to a window or buffer have "indir" set to one of
14 // these values. Special values:
15 // PV_NONE: global option.
16 // PV_WIN is added: window-local option
17 // PV_BUF is added: buffer-local option
18 // PV_BOTH is added: global option which also has a local value.
19 #define PV_BOTH 0x1000
22 #define PV_MASK 0x0fff
23 #define OPT_WIN(x) (idopt_T)(PV_WIN + (int)(x))
24 #define OPT_BUF(x) (idopt_T)(PV_BUF + (int)(x))
25 #define OPT_BOTH(x) (idopt_T)(PV_BOTH + (int)(x))
27 // Definition of the PV_ values for buffer-local options.
28 // The BV_ values are defined in option.h.
29 #define PV_AI OPT_BUF(BV_AI)
30 #define PV_AR OPT_BOTH(OPT_BUF(BV_AR))
31 #define PV_BKC OPT_BOTH(OPT_BUF(BV_BKC))
32 #define PV_BH OPT_BUF(BV_BH)
33 #define PV_BT OPT_BUF(BV_BT)
35 # define PV_EFM OPT_BOTH(OPT_BUF(BV_EFM))
36 # define PV_GP OPT_BOTH(OPT_BUF(BV_GP))
37 # define PV_MP OPT_BOTH(OPT_BUF(BV_MP))
39 #define PV_BIN OPT_BUF(BV_BIN)
40 #define PV_BL OPT_BUF(BV_BL)
41 #define PV_BOMB OPT_BUF(BV_BOMB)
42 #define PV_CI OPT_BUF(BV_CI)
43 #define PV_CIN OPT_BUF(BV_CIN)
44 #define PV_CINK OPT_BUF(BV_CINK)
45 #define PV_CINO OPT_BUF(BV_CINO)
46 #define PV_CINSD OPT_BUF(BV_CINSD)
47 #define PV_CINW OPT_BUF(BV_CINW)
48 #define PV_CM OPT_BOTH(OPT_BUF(BV_CM))
50 # define PV_CMS OPT_BUF(BV_CMS)
52 #define PV_COM OPT_BUF(BV_COM)
53 #define PV_CPT OPT_BUF(BV_CPT)
54 #define PV_DICT OPT_BOTH(OPT_BUF(BV_DICT))
55 #define PV_TSR OPT_BOTH(OPT_BUF(BV_TSR))
56 #define PV_CSL OPT_BUF(BV_CSL)
57 #ifdef FEAT_COMPL_FUNC
58 # define PV_CFU OPT_BUF(BV_CFU)
61 # define PV_DEF OPT_BOTH(OPT_BUF(BV_DEF))
62 # define PV_INC OPT_BOTH(OPT_BUF(BV_INC))
64 #define PV_EOF OPT_BUF(BV_EOF)
65 #define PV_EOL OPT_BUF(BV_EOL)
66 #define PV_FIXEOL OPT_BUF(BV_FIXEOL)
67 #define PV_EP OPT_BOTH(OPT_BUF(BV_EP))
68 #define PV_ET OPT_BUF(BV_ET)
69 #define PV_FENC OPT_BUF(BV_FENC)
70 #if defined(FEAT_BEVAL) && defined(FEAT_EVAL)
71 # define PV_BEXPR OPT_BOTH(OPT_BUF(BV_BEXPR))
73 #define PV_FP OPT_BOTH(OPT_BUF(BV_FP))
75 # define PV_FEX OPT_BUF(BV_FEX)
77 #define PV_FF OPT_BUF(BV_FF)
78 #define PV_FLP OPT_BUF(BV_FLP)
79 #define PV_FO OPT_BUF(BV_FO)
80 #define PV_FT OPT_BUF(BV_FT)
81 #define PV_IMI OPT_BUF(BV_IMI)
82 #define PV_IMS OPT_BUF(BV_IMS)
83 #if defined(FEAT_EVAL)
84 # define PV_INDE OPT_BUF(BV_INDE)
85 # define PV_INDK OPT_BUF(BV_INDK)
87 #if defined(FEAT_FIND_ID) && defined(FEAT_EVAL)
88 # define PV_INEX OPT_BUF(BV_INEX)
90 #define PV_INF OPT_BUF(BV_INF)
91 #define PV_ISK OPT_BUF(BV_ISK)
93 # define PV_KEY OPT_BUF(BV_KEY)
96 # define PV_KMAP OPT_BUF(BV_KMAP)
98 #define PV_KP OPT_BOTH(OPT_BUF(BV_KP))
99 #define PV_LISP OPT_BUF(BV_LISP)
100 #define PV_LOP OPT_BUF(BV_LOP)
101 #define PV_LW OPT_BOTH(OPT_BUF(BV_LW))
102 #define PV_MENC OPT_BOTH(OPT_BUF(BV_MENC))
103 #define PV_MA OPT_BUF(BV_MA)
104 #define PV_ML OPT_BUF(BV_ML)
105 #define PV_MOD OPT_BUF(BV_MOD)
106 #define PV_MPS OPT_BUF(BV_MPS)
107 #define PV_NF OPT_BUF(BV_NF)
108 #ifdef FEAT_COMPL_FUNC
109 # define PV_OFU OPT_BUF(BV_OFU)
111 #define PV_PATH OPT_BOTH(OPT_BUF(BV_PATH))
112 #define PV_PI OPT_BUF(BV_PI)
113 #define PV_QE OPT_BUF(BV_QE)
114 #define PV_RO OPT_BUF(BV_RO)
115 #define PV_SI OPT_BUF(BV_SI)
116 #define PV_SN OPT_BUF(BV_SN)
118 # define PV_SMC OPT_BUF(BV_SMC)
119 # define PV_SYN OPT_BUF(BV_SYN)
122 # define PV_SPC OPT_BUF(BV_SPC)
123 # define PV_SPF OPT_BUF(BV_SPF)
124 # define PV_SPL OPT_BUF(BV_SPL)
125 # define PV_SPO OPT_BUF(BV_SPO)
127 #define PV_STS OPT_BUF(BV_STS)
128 #define PV_SUA OPT_BUF(BV_SUA)
129 #define PV_SW OPT_BUF(BV_SW)
130 #define PV_SWF OPT_BUF(BV_SWF)
132 # define PV_TFU OPT_BUF(BV_TFU)
134 #ifdef FEAT_COMPL_FUNC
135 # define PV_TSRFU OPT_BOTH(OPT_BUF(BV_TSRFU))
137 #define PV_TAGS OPT_BOTH(OPT_BUF(BV_TAGS))
138 #define PV_TC OPT_BOTH(OPT_BUF(BV_TC))
139 #define PV_TS OPT_BUF(BV_TS)
140 #define PV_TW OPT_BUF(BV_TW)
141 #define PV_TX OPT_BUF(BV_TX)
142 #ifdef FEAT_PERSISTENT_UNDO
143 # define PV_UDF OPT_BUF(BV_UDF)
145 #define PV_WM OPT_BUF(BV_WM)
147 # define PV_VSTS OPT_BUF(BV_VSTS)
148 # define PV_VTS OPT_BUF(BV_VTS)
151 // Definition of the PV_ values for window-local options.
152 // The WV_ values are defined in option.h.
153 #define PV_LIST OPT_WIN(WV_LIST)
155 # define PV_ARAB OPT_WIN(WV_ARAB)
157 #ifdef FEAT_LINEBREAK
158 # define PV_BRI OPT_WIN(WV_BRI)
159 # define PV_BRIOPT OPT_WIN(WV_BRIOPT)
161 # define PV_WCR OPT_WIN(WV_WCR)
163 # define PV_DIFF OPT_WIN(WV_DIFF)
166 # define PV_FDC OPT_WIN(WV_FDC)
167 # define PV_FEN OPT_WIN(WV_FEN)
168 # define PV_FDI OPT_WIN(WV_FDI)
169 # define PV_FDL OPT_WIN(WV_FDL)
170 # define PV_FDM OPT_WIN(WV_FDM)
171 # define PV_FML OPT_WIN(WV_FML)
172 # define PV_FDN OPT_WIN(WV_FDN)
174 # define PV_FDE OPT_WIN(WV_FDE)
175 # define PV_FDT OPT_WIN(WV_FDT)
177 # define PV_FMR OPT_WIN(WV_FMR)
179 #ifdef FEAT_LINEBREAK
180 # define PV_LBR OPT_WIN(WV_LBR)
182 #define PV_LCS OPT_BOTH(OPT_WIN(WV_LCS))
183 #define PV_FCS OPT_BOTH(OPT_WIN(WV_FCS))
184 #define PV_NU OPT_WIN(WV_NU)
185 #define PV_RNU OPT_WIN(WV_RNU)
186 #define PV_VE OPT_BOTH(OPT_WIN(WV_VE))
187 #ifdef FEAT_LINEBREAK
188 # define PV_NUW OPT_WIN(WV_NUW)
190 #if defined(FEAT_QUICKFIX)
191 # define PV_PVW OPT_WIN(WV_PVW)
193 #ifdef FEAT_RIGHTLEFT
194 # define PV_RL OPT_WIN(WV_RL)
195 # define PV_RLC OPT_WIN(WV_RLC)
197 #define PV_SCBIND OPT_WIN(WV_SCBIND)
198 #define PV_SCROLL OPT_WIN(WV_SCROLL)
199 #define PV_SMS OPT_WIN(WV_SMS)
200 #define PV_SISO OPT_BOTH(OPT_WIN(WV_SISO))
201 #define PV_SO OPT_BOTH(OPT_WIN(WV_SO))
203 # define PV_SPELL OPT_WIN(WV_SPELL)
206 # define PV_CUC OPT_WIN(WV_CUC)
207 # define PV_CUL OPT_WIN(WV_CUL)
208 # define PV_CULOPT OPT_WIN(WV_CULOPT)
209 # define PV_CC OPT_WIN(WV_CC)
211 #ifdef FEAT_LINEBREAK
212 # define PV_SBR OPT_BOTH(OPT_WIN(WV_SBR))
215 # define PV_STL OPT_BOTH(OPT_WIN(WV_STL))
217 #define PV_UL OPT_BOTH(OPT_BUF(BV_UL))
218 # define PV_WFH OPT_WIN(WV_WFH)
219 # define PV_WFW OPT_WIN(WV_WFW)
220 #define PV_WRAP OPT_WIN(WV_WRAP)
221 #define PV_CRBIND OPT_WIN(WV_CRBIND)
223 # define PV_COCU OPT_WIN(WV_COCU)
224 # define PV_COLE OPT_WIN(WV_COLE)
227 # define PV_TWK OPT_WIN(WV_TWK)
228 # define PV_TWS OPT_WIN(WV_TWS)
229 # define PV_TWSL OPT_BUF(BV_TWSL)
232 # define PV_SCL OPT_WIN(WV_SCL)
235 // WV_ and BV_ values get typecasted to this for the "indir" field
239 PV_MAXVAL = 0xffff // to avoid warnings for value out of range
242 // Options local to a window have a value local to a buffer and global to all
243 // buffers. Indicate this by setting "var" to VAR_WIN.
244 #define VAR_WIN ((char_u *)-1)
246 // Saved values for when 'bin' is set.
247 static int p_et_nobin;
248 static int p_ml_nobin;
249 static long p_tw_nobin;
250 static long p_wm_nobin;
252 // Saved values for when 'paste' is set
253 static int p_ai_nopaste;
254 static int p_et_nopaste;
255 static long p_sts_nopaste;
256 static long p_tw_nopaste;
257 static long p_wm_nopaste;
259 static char_u *p_vsts_nopaste;
264 char *fullname; // full option name
265 char *shortname; // permissible abbreviation
266 long_u flags; // see in option.h
267 char_u *var; // global option: pointer to variable;
268 // window-local option: VAR_WIN;
269 // buffer-local option: global value
270 idopt_T indir; // global option: PV_NONE;
271 // local option: indirect option index
272 // callback function to invoke after an option is modified to validate and
273 // apply the new value.
274 opt_did_set_cb_T opt_did_set_cb;
275 char_u *def_val[2]; // default values for variable (vi and vim)
277 sctx_T script_ctx; // script context where the option was last set
278 # define SCTX_INIT , {0, 0, 0, 1}
284 #define VI_DEFAULT 0 // def_val[VI_DEFAULT] is Vi default value
285 #define VIM_DEFAULT 1 // def_val[VIM_DEFAULT] is Vim default value
287 #define ISK_LATIN1 (char_u *)"@,48-57,_,192-255"
289 // 'isprint' for latin1 is also used for MS-Windows cp1252, where 0x80 is used
290 // for the currency sign.
292 # define ISP_LATIN1 (char_u *)"@,~-255"
294 # define ISP_LATIN1 (char_u *)"@,161-255"
297 # define HIGHLIGHT_INIT "8:SpecialKey,~:EndOfBuffer,@:NonText,d:Directory,e:ErrorMsg,i:IncSearch,l:Search,y:CurSearch,m:MoreMsg,M:ModeMsg,n:LineNr,a:LineNrAbove,b:LineNrBelow,N:CursorLineNr,G:CursorLineSign,O:CursorLineFold,r:Question,s:StatusLine,S:StatusLineNC,c:VertSplit,t:Title,v:Visual,V:VisualNOS,w:WarningMsg,W:WildMenu,f:Folded,F:FoldColumn,A:DiffAdd,C:DiffChange,D:DiffDelete,T:DiffText,>:SignColumn,-:Conceal,B:SpellBad,P:SpellCap,R:SpellRare,L:SpellLocal,+:Pmenu,=:PmenuSel,x:PmenuSbar,X:PmenuThumb,*:TabLine,#:TabLineSel,_:TabLineFill,!:CursorColumn,.:CursorLine,o:ColorColumn,q:QuickFixLine,z:StatusLineTerm,Z:StatusLineTermNC"
299 // Default python version for pyx* commands
300 #if defined(FEAT_PYTHON) && defined(FEAT_PYTHON3)
301 # define DEFAULT_PYTHON_VER 0
302 #elif defined(FEAT_PYTHON3)
303 # define DEFAULT_PYTHON_VER 3
304 #elif defined(FEAT_PYTHON)
305 # define DEFAULT_PYTHON_VER 2
307 # define DEFAULT_PYTHON_VER 0
310 // used for 'cinkeys' and 'indentkeys'
311 #define INDENTKEYS_DEFAULT (char_u *)"0{,0},0),0],:,0#,!^F,o,O,e"
313 // options[] is initialized here.
314 // The order of the options MUST be alphabetic for ":set all" and findoption().
315 // All option names MUST start with a lowercase letter (for findoption()).
316 // Exception: "t_" options are at the end.
317 // The options with a NULL variable are 'hidden': a set command for them is
318 // ignored and they are not printed.
319 static struct vimoption options[] =
321 {"aleph", "al", P_NUM|P_VI_DEF|P_CURSWANT,
322 #ifdef FEAT_RIGHTLEFT
323 (char_u *)&p_aleph, PV_NONE,
325 (char_u *)NULL, PV_NONE,
329 #if defined(MSWIN) && !defined(FEAT_GUI_MSWIN)
334 (char_u *)0L} SCTX_INIT},
335 {"antialias", "anti", P_BOOL|P_VI_DEF|P_VIM|P_RCLR,
336 (char_u *)NULL, PV_NONE, NULL,
337 {(char_u *)FALSE, (char_u *)FALSE}
339 {"arabic", "arab", P_BOOL|P_VI_DEF|P_VIM|P_CURSWANT,
341 (char_u *)VAR_WIN, PV_ARAB, did_set_arabic,
343 (char_u *)NULL, PV_NONE, NULL,
345 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
346 {"arabicshape", "arshape", P_BOOL|P_VI_DEF|P_VIM|P_RCLR,
348 (char_u *)&p_arshape, PV_NONE, NULL,
350 (char_u *)NULL, PV_NONE, NULL,
352 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
353 {"allowrevins", "ari", P_BOOL|P_VI_DEF|P_VIM,
354 #ifdef FEAT_RIGHTLEFT
355 (char_u *)&p_ari, PV_NONE, NULL,
357 (char_u *)NULL, PV_NONE, NULL,
359 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
360 {"altkeymap", "akm", P_BOOL|P_VI_DEF,
361 (char_u *)NULL, PV_NONE, NULL,
362 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
363 {"ambiwidth", "ambw", P_STRING|P_VI_DEF|P_RCLR,
364 (char_u *)&p_ambw, PV_NONE, did_set_ambiwidth,
365 {(char_u *)"single", (char_u *)0L}
367 {"autochdir", "acd", P_BOOL|P_VI_DEF,
368 #ifdef FEAT_AUTOCHDIR
369 (char_u *)&p_acd, PV_NONE, did_set_autochdir,
370 {(char_u *)FALSE, (char_u *)0L}
372 (char_u *)NULL, PV_NONE, NULL,
373 {(char_u *)0L, (char_u *)0L}
376 {"autoshelldir", "asd", P_BOOL|P_VI_DEF,
377 #ifdef FEAT_AUTOSHELLDIR
378 (char_u *)&p_asd, PV_NONE, NULL,
379 {(char_u *)FALSE, (char_u *)0L}
381 (char_u *)NULL, PV_NONE, NULL,
382 {(char_u *)0L, (char_u *)0L}
385 {"autoindent", "ai", P_BOOL|P_VI_DEF,
386 (char_u *)&p_ai, PV_AI, NULL,
387 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
388 {"autoprint", "ap", P_BOOL|P_VI_DEF,
389 (char_u *)NULL, PV_NONE, NULL,
390 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
391 {"autoread", "ar", P_BOOL|P_VI_DEF,
392 (char_u *)&p_ar, PV_AR, NULL,
393 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
394 {"autowrite", "aw", P_BOOL|P_VI_DEF,
395 (char_u *)&p_aw, PV_NONE, NULL,
396 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
397 {"autowriteall","awa", P_BOOL|P_VI_DEF,
398 (char_u *)&p_awa, PV_NONE, NULL,
399 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
400 {"background", "bg", P_STRING|P_VI_DEF|P_RCLR,
401 (char_u *)&p_bg, PV_NONE, did_set_background,
403 #if (defined(MSWIN)) && !defined(FEAT_GUI)
408 (char_u *)0L} SCTX_INIT},
409 {"backspace", "bs", P_STRING|P_VI_DEF|P_VIM|P_ONECOMMA|P_NODUP,
410 (char_u *)&p_bs, PV_NONE, did_set_backspace,
411 {(char_u *)"", (char_u *)0L} SCTX_INIT},
412 {"backup", "bk", P_BOOL|P_VI_DEF|P_VIM,
413 (char_u *)&p_bk, PV_NONE, NULL,
414 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
415 {"backupcopy", "bkc", P_STRING|P_VIM|P_ONECOMMA|P_NODUP,
416 (char_u *)&p_bkc, PV_BKC, did_set_backupcopy,
418 {(char_u *)"yes", (char_u *)"auto"}
420 {(char_u *)"auto", (char_u *)"auto"}
423 {"backupdir", "bdir", P_STRING|P_EXPAND|P_VI_DEF|P_ONECOMMA
425 (char_u *)&p_bdir, PV_NONE, NULL,
426 {(char_u *)DFLT_BDIR, (char_u *)0L} SCTX_INIT},
427 {"backupext", "bex", P_STRING|P_VI_DEF|P_NFNAME,
428 (char_u *)&p_bex, PV_NONE,
429 did_set_backupext_or_patchmode,
436 (char_u *)0L} SCTX_INIT},
437 {"backupskip", "bsk", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
438 (char_u *)&p_bsk, PV_NONE, NULL,
439 {(char_u *)"", (char_u *)0L}
441 {"balloondelay","bdlay",P_NUM|P_VI_DEF,
443 (char_u *)&p_bdlay, PV_NONE, NULL,
444 {(char_u *)600L, (char_u *)0L}
446 (char_u *)NULL, PV_NONE, NULL,
447 {(char_u *)0L, (char_u *)0L}
450 {"ballooneval", "beval",P_BOOL|P_VI_DEF|P_NO_MKRC,
451 #ifdef FEAT_BEVAL_GUI
452 (char_u *)&p_beval, PV_NONE, did_set_ballooneval,
453 {(char_u *)FALSE, (char_u *)0L}
455 (char_u *)NULL, PV_NONE, NULL,
456 {(char_u *)0L, (char_u *)0L}
459 {"balloonevalterm", "bevalterm",P_BOOL|P_VI_DEF|P_NO_MKRC,
460 #ifdef FEAT_BEVAL_TERM
461 (char_u *)&p_bevalterm, PV_NONE,
462 did_set_balloonevalterm,
463 {(char_u *)FALSE, (char_u *)0L}
465 (char_u *)NULL, PV_NONE, NULL,
466 {(char_u *)0L, (char_u *)0L}
469 {"balloonexpr", "bexpr", P_STRING|P_ALLOCED|P_VI_DEF|P_VIM|P_MLE,
470 #if defined(FEAT_BEVAL) && defined(FEAT_EVAL)
471 (char_u *)&p_bexpr, PV_BEXPR, did_set_optexpr,
472 {(char_u *)"", (char_u *)0L}
474 (char_u *)NULL, PV_NONE, NULL,
475 {(char_u *)0L, (char_u *)0L}
478 {"beautify", "bf", P_BOOL|P_VI_DEF,
479 (char_u *)NULL, PV_NONE, NULL,
480 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
481 {"belloff", "bo", P_STRING|P_VI_DEF|P_COMMA|P_NODUP,
482 (char_u *)&p_bo, PV_NONE, did_set_belloff,
483 {(char_u *)"", (char_u *)0L} SCTX_INIT},
484 {"binary", "bin", P_BOOL|P_VI_DEF|P_RSTAT,
485 (char_u *)&p_bin, PV_BIN, did_set_binary,
486 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
487 {"bioskey", "biosk",P_BOOL|P_VI_DEF,
488 (char_u *)NULL, PV_NONE, NULL,
489 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
490 {"bomb", NULL, P_BOOL|P_NO_MKRC|P_VI_DEF|P_RSTAT,
491 (char_u *)&p_bomb, PV_BOMB,
492 did_set_eof_eol_fixeol_bomb,
493 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
494 {"breakat", "brk", P_STRING|P_VI_DEF|P_RALL|P_FLAGLIST,
495 #ifdef FEAT_LINEBREAK
496 (char_u *)&p_breakat, PV_NONE, did_set_breakat,
497 {(char_u *)" \t!@*-+;:,./?", (char_u *)0L}
499 (char_u *)NULL, PV_NONE, NULL,
500 {(char_u *)0L, (char_u *)0L}
503 {"breakindent", "bri", P_BOOL|P_VI_DEF|P_VIM|P_RWIN,
504 #ifdef FEAT_LINEBREAK
505 (char_u *)VAR_WIN, PV_BRI, NULL,
506 {(char_u *)FALSE, (char_u *)0L}
508 (char_u *)NULL, PV_NONE, NULL,
509 {(char_u *)0L, (char_u *)0L}
512 {"breakindentopt", "briopt", P_STRING|P_ALLOCED|P_VI_DEF|P_RBUF
514 #ifdef FEAT_LINEBREAK
515 (char_u *)VAR_WIN, PV_BRIOPT,
516 did_set_breakindentopt,
517 {(char_u *)"", (char_u *)NULL}
519 (char_u *)NULL, PV_NONE, NULL,
520 {(char_u *)"", (char_u *)NULL}
523 {"browsedir", "bsdir",P_STRING|P_VI_DEF,
525 (char_u *)&p_bsdir, PV_NONE, did_set_browsedir,
526 {(char_u *)"last", (char_u *)0L}
528 (char_u *)NULL, PV_NONE, NULL,
529 {(char_u *)0L, (char_u *)0L}
532 {"bufhidden", "bh", P_STRING|P_ALLOCED|P_VI_DEF|P_NOGLOB,
533 (char_u *)&p_bh, PV_BH, did_set_bufhidden,
534 {(char_u *)"", (char_u *)0L}
536 {"buflisted", "bl", P_BOOL|P_VI_DEF|P_NOGLOB,
537 (char_u *)&p_bl, PV_BL, did_set_buflisted,
538 {(char_u *)1L, (char_u *)0L}
540 {"buftype", "bt", P_STRING|P_ALLOCED|P_VI_DEF|P_NOGLOB,
541 (char_u *)&p_bt, PV_BT, did_set_buftype,
542 {(char_u *)"", (char_u *)0L}
544 {"casemap", "cmp", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
545 (char_u *)&p_cmp, PV_NONE, did_set_casemap,
546 {(char_u *)"internal,keepascii", (char_u *)0L}
548 {"cdhome", "cdh", P_BOOL|P_VI_DEF|P_VIM|P_SECURE,
549 (char_u *)&p_cdh, PV_NONE, NULL,
550 {(char_u *)FALSE, (char_u *)0L}
552 {"cdpath", "cd", P_STRING|P_EXPAND|P_VI_DEF|P_SECURE|P_COMMA|P_NODUP,
553 (char_u *)&p_cdpath, PV_NONE, NULL,
554 {(char_u *)",,", (char_u *)0L}
556 {"cedit", NULL, P_STRING,
557 (char_u *)&p_cedit, PV_NONE, did_set_cedit,
558 {(char_u *)"", (char_u *)CTRL_F_STR}
560 {"charconvert", "ccv", P_STRING|P_VI_DEF|P_SECURE,
561 #if defined(FEAT_EVAL)
562 (char_u *)&p_ccv, PV_NONE, did_set_optexpr,
563 {(char_u *)"", (char_u *)0L}
565 (char_u *)NULL, PV_NONE, NULL,
566 {(char_u *)0L, (char_u *)0L}
569 {"cindent", "cin", P_BOOL|P_VI_DEF|P_VIM,
570 (char_u *)&p_cin, PV_CIN, NULL,
571 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
572 {"cinkeys", "cink", P_STRING|P_ALLOCED|P_VI_DEF|P_ONECOMMA|P_NODUP,
573 (char_u *)&p_cink, PV_CINK, NULL,
574 {INDENTKEYS_DEFAULT, (char_u *)0L} SCTX_INIT},
575 {"cinoptions", "cino", P_STRING|P_ALLOCED|P_VI_DEF|P_ONECOMMA|P_NODUP,
576 (char_u *)&p_cino, PV_CINO, did_set_cinoptions,
577 {(char_u *)"", (char_u *)0L} SCTX_INIT},
578 {"cinscopedecls", "cinsd", P_STRING|P_ALLOCED|P_VI_DEF|P_ONECOMMA|P_NODUP,
579 (char_u *)&p_cinsd, PV_CINSD, NULL,
580 {(char_u *)"public,protected,private", (char_u *)0L}
582 {"cinwords", "cinw", P_STRING|P_ALLOCED|P_VI_DEF|P_ONECOMMA|P_NODUP,
583 (char_u *)&p_cinw, PV_CINW, NULL,
584 {(char_u *)"if,else,while,do,for,switch",
587 {"clipboard", "cb", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
588 #ifdef FEAT_CLIPBOARD
589 (char_u *)&p_cb, PV_NONE, did_set_clipboard,
590 # ifdef FEAT_XCLIPBOARD
591 {(char_u *)"autoselect,exclude:cons\\|linux",
594 {(char_u *)"", (char_u *)0L}
597 (char_u *)NULL, PV_NONE, NULL,
598 {(char_u *)"", (char_u *)0L}
601 {"cmdheight", "ch", P_NUM|P_VI_DEF|P_RALL,
602 (char_u *)&p_ch, PV_NONE, did_set_cmdheight,
603 {(char_u *)1L, (char_u *)0L} SCTX_INIT},
604 {"cmdwinheight", "cwh", P_NUM|P_VI_DEF,
605 (char_u *)&p_cwh, PV_NONE, NULL,
606 {(char_u *)7L, (char_u *)0L} SCTX_INIT},
607 {"colorcolumn", "cc", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP|P_RWIN,
609 (char_u *)VAR_WIN, PV_CC, did_set_colorcolumn,
611 (char_u *)NULL, PV_NONE, NULL,
613 {(char_u *)"", (char_u *)0L} SCTX_INIT},
614 {"columns", "co", P_NUM|P_NODEFAULT|P_NO_MKRC|P_VI_DEF|P_RCLR,
615 (char_u *)&Columns, PV_NONE, NULL,
616 {(char_u *)80L, (char_u *)0L} SCTX_INIT},
617 {"comments", "com", P_STRING|P_ALLOCED|P_VI_DEF|P_ONECOMMA
619 (char_u *)&p_com, PV_COM, did_set_comments,
620 {(char_u *)"s1:/*,mb:*,ex:*/,://,b:#,:%,:XCOMM,n:>,fb:-",
623 {"commentstring", "cms", P_STRING|P_ALLOCED|P_VI_DEF|P_CURSWANT,
625 (char_u *)&p_cms, PV_CMS, did_set_commentstring,
626 {(char_u *)"/*%s*/", (char_u *)0L}
628 (char_u *)NULL, PV_NONE, NULL,
629 {(char_u *)0L, (char_u *)0L}
632 // P_PRI_MKRC isn't needed here, optval_default()
633 // always returns TRUE for 'compatible'
634 {"compatible", "cp", P_BOOL|P_RALL,
635 (char_u *)&p_cp, PV_NONE, did_set_compatible,
636 {(char_u *)TRUE, (char_u *)FALSE} SCTX_INIT},
637 {"complete", "cpt", P_STRING|P_ALLOCED|P_VI_DEF|P_ONECOMMA|P_NODUP,
638 (char_u *)&p_cpt, PV_CPT, did_set_complete,
639 {(char_u *)".,w,b,u,t,i", (char_u *)0L}
641 {"concealcursor","cocu", P_STRING|P_ALLOCED|P_RWIN|P_VI_DEF,
643 (char_u *)VAR_WIN, PV_COCU, did_set_concealcursor,
644 {(char_u *)"", (char_u *)NULL}
646 (char_u *)NULL, PV_NONE, NULL,
647 {(char_u *)NULL, (char_u *)0L}
650 {"conceallevel","cole", P_NUM|P_RWIN|P_VI_DEF,
652 (char_u *)VAR_WIN, PV_COLE, did_set_conceallevel,
654 (char_u *)NULL, PV_NONE, NULL,
656 {(char_u *)0L, (char_u *)0L}
658 {"completefunc", "cfu", P_STRING|P_ALLOCED|P_VI_DEF|P_SECURE|P_FUNC,
659 #ifdef FEAT_COMPL_FUNC
660 (char_u *)&p_cfu, PV_CFU, did_set_completefunc,
661 {(char_u *)"", (char_u *)0L}
663 (char_u *)NULL, PV_NONE, NULL,
664 {(char_u *)0L, (char_u *)0L}
667 {"completeopt", "cot", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
668 (char_u *)&p_cot, PV_NONE, did_set_completeopt,
669 {(char_u *)"menu,preview", (char_u *)0L}
671 {"completepopup", "cpp", P_STRING|P_VI_DEF|P_COMMA|P_NODUP,
672 #if defined(FEAT_PROP_POPUP) && defined(FEAT_QUICKFIX)
673 (char_u *)&p_cpp, PV_NONE, did_set_completepopup,
674 {(char_u *)"", (char_u *)0L}
676 (char_u *)NULL, PV_NONE, NULL,
677 {(char_u *)NULL, (char_u *)0L}
680 {"completeslash", "csl", P_STRING|P_VI_DEF|P_VIM,
681 #if defined(BACKSLASH_IN_FILENAME)
682 (char_u *)&p_csl, PV_CSL, did_set_completeslash,
683 {(char_u *)"", (char_u *)0L}
685 (char_u *)NULL, PV_NONE, NULL,
686 {(char_u *)0L, (char_u *)0L}
689 {"confirm", "cf", P_BOOL|P_VI_DEF,
690 #if defined(FEAT_GUI_DIALOG) || defined(FEAT_CON_DIALOG)
691 (char_u *)&p_confirm, PV_NONE, NULL,
693 (char_u *)NULL, PV_NONE, NULL,
695 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
696 {"conskey", "consk",P_BOOL|P_VI_DEF,
697 (char_u *)NULL, PV_NONE, NULL,
698 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
699 {"copyindent", "ci", P_BOOL|P_VI_DEF|P_VIM,
700 (char_u *)&p_ci, PV_CI, NULL,
701 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
702 {"cpoptions", "cpo", P_STRING|P_VIM|P_RALL|P_FLAGLIST,
703 (char_u *)&p_cpo, PV_NONE, did_set_cpoptions,
704 {(char_u *)CPO_VI, (char_u *)CPO_VIM}
706 {"cryptmethod", "cm", P_STRING|P_ALLOCED|P_VI_DEF,
708 (char_u *)&p_cm, PV_CM, did_set_cryptmethod,
709 {(char_u *)"blowfish2", (char_u *)0L}
711 (char_u *)NULL, PV_NONE, NULL,
712 {(char_u *)0L, (char_u *)0L}
715 {"cscopepathcomp", "cspc", P_NUM|P_VI_DEF|P_VIM,
717 (char_u *)&p_cspc, PV_NONE, NULL,
719 (char_u *)NULL, PV_NONE, NULL,
721 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
722 {"cscopeprg", "csprg", P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
724 (char_u *)&p_csprg, PV_NONE, NULL,
725 {(char_u *)"cscope", (char_u *)0L}
727 (char_u *)NULL, PV_NONE, NULL,
728 {(char_u *)0L, (char_u *)0L}
731 {"cscopequickfix", "csqf", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
732 #if defined(FEAT_CSCOPE) && defined(FEAT_QUICKFIX)
733 (char_u *)&p_csqf, PV_NONE,
734 did_set_cscopequickfix,
735 {(char_u *)"", (char_u *)0L}
737 (char_u *)NULL, PV_NONE, NULL,
738 {(char_u *)0L, (char_u *)0L}
741 {"cscoperelative", "csre", P_BOOL|P_VI_DEF|P_VIM,
743 (char_u *)&p_csre, PV_NONE, NULL,
745 (char_u *)NULL, PV_NONE, NULL,
747 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
748 {"cscopetag", "cst", P_BOOL|P_VI_DEF|P_VIM,
750 (char_u *)&p_cst, PV_NONE, NULL,
752 (char_u *)NULL, PV_NONE, NULL,
754 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
755 {"cscopetagorder", "csto", P_NUM|P_VI_DEF|P_VIM,
757 (char_u *)&p_csto, PV_NONE, NULL,
759 (char_u *)NULL, PV_NONE, NULL,
761 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
762 {"cscopeverbose", "csverb", P_BOOL|P_VI_DEF|P_VIM,
764 (char_u *)&p_csverbose, PV_NONE, NULL,
766 (char_u *)NULL, PV_NONE, NULL,
768 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
769 {"cursorbind", "crb", P_BOOL|P_VI_DEF,
770 (char_u *)VAR_WIN, PV_CRBIND, NULL,
771 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
772 {"cursorcolumn", "cuc", P_BOOL|P_VI_DEF|P_RWINONLY,
774 (char_u *)VAR_WIN, PV_CUC, NULL,
776 (char_u *)NULL, PV_NONE, NULL,
778 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
779 {"cursorline", "cul", P_BOOL|P_VI_DEF|P_RWINONLY,
781 (char_u *)VAR_WIN, PV_CUL, NULL,
783 (char_u *)NULL, PV_NONE, NULL,
785 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
786 {"cursorlineopt", "culopt", P_STRING|P_VI_DEF|P_RWIN|P_ONECOMMA|P_NODUP,
788 (char_u *)VAR_WIN, PV_CULOPT,
789 did_set_cursorlineopt,
791 (char_u *)NULL, PV_NONE, NULL,
793 {(char_u *)"both", (char_u *)0L} SCTX_INIT},
794 {"debug", NULL, P_STRING|P_VI_DEF,
795 (char_u *)&p_debug, PV_NONE, did_set_debug,
796 {(char_u *)"", (char_u *)0L} SCTX_INIT},
797 {"define", "def", P_STRING|P_ALLOCED|P_VI_DEF|P_CURSWANT,
799 (char_u *)&p_def, PV_DEF, NULL,
800 {(char_u *)"^\\s*#\\s*define", (char_u *)0L}
802 (char_u *)NULL, PV_NONE, NULL,
803 {(char_u *)NULL, (char_u *)0L}
806 {"delcombine", "deco", P_BOOL|P_VI_DEF|P_VIM,
807 (char_u *)&p_deco, PV_NONE, NULL,
808 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
809 {"dictionary", "dict", P_STRING|P_EXPAND|P_VI_DEF|P_ONECOMMA|P_NODUP|P_NDNAME,
810 (char_u *)&p_dict, PV_DICT, NULL,
811 {(char_u *)"", (char_u *)0L} SCTX_INIT},
812 {"diff", NULL, P_BOOL|P_VI_DEF|P_RWIN|P_NOGLOB,
814 (char_u *)VAR_WIN, PV_DIFF, did_set_diff,
816 (char_u *)NULL, PV_NONE, NULL,
818 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
819 {"diffexpr", "dex", P_STRING|P_VI_DEF|P_SECURE|P_CURSWANT,
820 #if defined(FEAT_DIFF) && defined(FEAT_EVAL)
821 (char_u *)&p_dex, PV_NONE, did_set_optexpr,
822 {(char_u *)"", (char_u *)0L}
824 (char_u *)NULL, PV_NONE, NULL,
825 {(char_u *)0L, (char_u *)0L}
828 {"diffopt", "dip", P_STRING|P_ALLOCED|P_VI_DEF|P_RWIN|P_ONECOMMA
831 (char_u *)&p_dip, PV_NONE, did_set_diffopt,
832 {(char_u *)"internal,filler,closeoff",
835 (char_u *)NULL, PV_NONE, NULL,
836 {(char_u *)"", (char_u *)NULL}
839 {"digraph", "dg", P_BOOL|P_VI_DEF|P_VIM,
841 (char_u *)&p_dg, PV_NONE, NULL,
843 (char_u *)NULL, PV_NONE, NULL,
845 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
846 {"directory", "dir", P_STRING|P_EXPAND|P_VI_DEF|P_ONECOMMA
848 (char_u *)&p_dir, PV_NONE, NULL,
849 {(char_u *)DFLT_DIR, (char_u *)0L} SCTX_INIT},
850 {"display", "dy", P_STRING|P_VI_DEF|P_ONECOMMA|P_RALL|P_NODUP,
851 (char_u *)&p_dy, PV_NONE, did_set_display,
852 {(char_u *)"", (char_u *)0L} SCTX_INIT},
853 {"eadirection", "ead", P_STRING|P_VI_DEF,
854 (char_u *)&p_ead, PV_NONE, did_set_eadirection,
855 {(char_u *)"both", (char_u *)0L}
857 {"edcompatible","ed", P_BOOL|P_VI_DEF,
858 (char_u *)&p_ed, PV_NONE, NULL,
859 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
860 {"emoji", "emo", P_BOOL|P_VI_DEF|P_RCLR,
861 (char_u *)&p_emoji, PV_NONE, did_set_ambiwidth,
862 {(char_u *)TRUE, (char_u *)0L}
864 {"encoding", "enc", P_STRING|P_VI_DEF|P_RCLR|P_NO_ML,
865 (char_u *)&p_enc, PV_NONE, NULL,
866 {(char_u *)ENC_DFLT, (char_u *)0L}
868 {"endoffile", "eof", P_BOOL|P_NO_MKRC|P_VI_DEF|P_RSTAT,
869 (char_u *)&p_eof, PV_EOF,
870 did_set_eof_eol_fixeol_bomb,
871 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
872 {"endofline", "eol", P_BOOL|P_NO_MKRC|P_VI_DEF|P_RSTAT,
873 (char_u *)&p_eol, PV_EOL,
874 did_set_eof_eol_fixeol_bomb,
875 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
876 {"equalalways", "ea", P_BOOL|P_VI_DEF|P_RALL,
877 (char_u *)&p_ea, PV_NONE, did_set_equalalways,
878 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
879 {"equalprg", "ep", P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
880 (char_u *)&p_ep, PV_EP, NULL,
881 {(char_u *)"", (char_u *)0L} SCTX_INIT},
882 {"errorbells", "eb", P_BOOL|P_VI_DEF,
883 (char_u *)&p_eb, PV_NONE, NULL,
884 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
885 {"errorfile", "ef", P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
887 (char_u *)&p_ef, PV_NONE, NULL,
888 {(char_u *)DFLT_ERRORFILE, (char_u *)0L}
890 (char_u *)NULL, PV_NONE, NULL,
891 {(char_u *)NULL, (char_u *)0L}
894 {"errorformat", "efm", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
896 (char_u *)&p_efm, PV_EFM, NULL,
897 {(char_u *)DFLT_EFM, (char_u *)0L}
899 (char_u *)NULL, PV_NONE, NULL,
900 {(char_u *)NULL, (char_u *)0L}
903 {"esckeys", "ek", P_BOOL|P_VIM,
904 (char_u *)&p_ek, PV_NONE, NULL,
905 {(char_u *)FALSE, (char_u *)TRUE} SCTX_INIT},
906 {"eventignore", "ei", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
907 (char_u *)&p_ei, PV_NONE, did_set_eventignore,
908 {(char_u *)"", (char_u *)0L} SCTX_INIT},
909 {"expandtab", "et", P_BOOL|P_VI_DEF|P_VIM,
910 (char_u *)&p_et, PV_ET, NULL,
911 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
912 {"exrc", "ex", P_BOOL|P_VI_DEF|P_SECURE,
913 (char_u *)&p_exrc, PV_NONE, NULL,
914 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
915 {"fileencoding","fenc", P_STRING|P_ALLOCED|P_VI_DEF|P_RSTAT|P_RBUF
917 (char_u *)&p_fenc, PV_FENC, NULL,
918 {(char_u *)"", (char_u *)0L}
920 {"fileencodings","fencs", P_STRING|P_VI_DEF|P_ONECOMMA,
921 (char_u *)&p_fencs, PV_NONE, NULL,
922 {(char_u *)"ucs-bom", (char_u *)0L}
924 {"fileformat", "ff", P_STRING|P_ALLOCED|P_VI_DEF|P_RSTAT|P_NO_MKRC
926 (char_u *)&p_ff, PV_FF, did_set_fileformat,
927 {(char_u *)DFLT_FF, (char_u *)0L} SCTX_INIT},
928 {"fileformats", "ffs", P_STRING|P_VIM|P_ONECOMMA|P_NODUP,
929 (char_u *)&p_ffs, PV_NONE, did_set_fileformats,
930 {(char_u *)DFLT_FFS_VI, (char_u *)DFLT_FFS_VIM}
932 {"fileignorecase", "fic", P_BOOL|P_VI_DEF,
933 (char_u *)&p_fic, PV_NONE, NULL,
935 #ifdef CASE_INSENSITIVE_FILENAME
940 (char_u *)0L} SCTX_INIT},
941 {"filetype", "ft", P_STRING|P_EXPAND|P_ALLOCED|P_VI_DEF|P_NOGLOB|P_NFNAME,
942 (char_u *)&p_ft, PV_FT, NULL,
943 {(char_u *)"", (char_u *)0L}
945 {"fillchars", "fcs", P_STRING|P_VI_DEF|P_RALL|P_ONECOMMA|P_NODUP,
946 (char_u *)&p_fcs, PV_FCS, NULL,
947 {(char_u *)"vert:|,fold:-,eob:~,lastline:@",
950 {"fixendofline", "fixeol", P_BOOL|P_VI_DEF|P_RSTAT,
951 (char_u *)&p_fixeol, PV_FIXEOL,
952 did_set_eof_eol_fixeol_bomb,
953 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
954 {"fkmap", "fk", P_BOOL|P_VI_DEF,
955 (char_u *)NULL, PV_NONE, NULL,
956 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
957 {"flash", "fl", P_BOOL|P_VI_DEF,
958 (char_u *)NULL, PV_NONE, NULL,
959 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
960 {"foldclose", "fcl", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP|P_RWIN,
962 (char_u *)&p_fcl, PV_NONE, did_set_foldclose,
963 {(char_u *)"", (char_u *)0L}
965 (char_u *)NULL, PV_NONE, NULL,
966 {(char_u *)NULL, (char_u *)0L}
969 {"foldcolumn", "fdc", P_NUM|P_VI_DEF|P_RWIN,
971 (char_u *)VAR_WIN, PV_FDC, did_set_foldcolumn,
972 {(char_u *)FALSE, (char_u *)0L}
974 (char_u *)NULL, PV_NONE, NULL,
975 {(char_u *)NULL, (char_u *)0L}
978 {"foldenable", "fen", P_BOOL|P_VI_DEF|P_RWIN,
980 (char_u *)VAR_WIN, PV_FEN, NULL,
981 {(char_u *)TRUE, (char_u *)0L}
983 (char_u *)NULL, PV_NONE, NULL,
984 {(char_u *)NULL, (char_u *)0L}
987 {"foldexpr", "fde", P_STRING|P_ALLOCED|P_VIM|P_VI_DEF|P_RWIN|P_MLE,
988 #if defined(FEAT_FOLDING) && defined(FEAT_EVAL)
989 (char_u *)VAR_WIN, PV_FDE, did_set_foldexpr,
990 {(char_u *)"0", (char_u *)NULL}
992 (char_u *)NULL, PV_NONE, NULL,
993 {(char_u *)NULL, (char_u *)0L}
996 {"foldignore", "fdi", P_STRING|P_ALLOCED|P_VIM|P_VI_DEF|P_RWIN,
998 (char_u *)VAR_WIN, PV_FDI, did_set_foldignore,
999 {(char_u *)"#", (char_u *)NULL}
1001 (char_u *)NULL, PV_NONE, NULL,
1002 {(char_u *)NULL, (char_u *)0L}
1005 {"foldlevel", "fdl", P_NUM|P_VI_DEF|P_RWIN,
1007 (char_u *)VAR_WIN, PV_FDL, did_set_foldlevel,
1008 {(char_u *)0L, (char_u *)0L}
1010 (char_u *)NULL, PV_NONE, NULL,
1011 {(char_u *)NULL, (char_u *)0L}
1014 {"foldlevelstart","fdls", P_NUM|P_VI_DEF|P_CURSWANT,
1016 (char_u *)&p_fdls, PV_NONE, NULL,
1017 {(char_u *)-1L, (char_u *)0L}
1019 (char_u *)NULL, PV_NONE, NULL,
1020 {(char_u *)NULL, (char_u *)0L}
1023 {"foldmarker", "fmr", P_STRING|P_ALLOCED|P_VIM|P_VI_DEF|
1024 P_RWIN|P_ONECOMMA|P_NODUP,
1026 (char_u *)VAR_WIN, PV_FMR, did_set_foldmarker,
1027 {(char_u *)"{{{,}}}", (char_u *)NULL}
1029 (char_u *)NULL, PV_NONE, NULL,
1030 {(char_u *)NULL, (char_u *)0L}
1033 {"foldmethod", "fdm", P_STRING|P_ALLOCED|P_VIM|P_VI_DEF|P_RWIN,
1035 (char_u *)VAR_WIN, PV_FDM, did_set_foldmethod,
1036 {(char_u *)"manual", (char_u *)NULL}
1038 (char_u *)NULL, PV_NONE, NULL,
1039 {(char_u *)NULL, (char_u *)0L}
1042 {"foldminlines","fml", P_NUM|P_VI_DEF|P_RWIN,
1044 (char_u *)VAR_WIN, PV_FML, did_set_foldminlines,
1045 {(char_u *)1L, (char_u *)0L}
1047 (char_u *)NULL, PV_NONE, NULL,
1048 {(char_u *)NULL, (char_u *)0L}
1051 {"foldnestmax", "fdn", P_NUM|P_VI_DEF|P_RWIN,
1053 (char_u *)VAR_WIN, PV_FDN, did_set_foldnestmax,
1054 {(char_u *)20L, (char_u *)0L}
1056 (char_u *)NULL, PV_NONE, NULL,
1057 {(char_u *)NULL, (char_u *)0L}
1060 {"foldopen", "fdo", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP|P_CURSWANT,
1062 (char_u *)&p_fdo, PV_NONE, did_set_foldopen,
1063 {(char_u *)"block,hor,mark,percent,quickfix,search,tag,undo",
1066 (char_u *)NULL, PV_NONE, NULL,
1067 {(char_u *)NULL, (char_u *)0L}
1070 {"foldtext", "fdt", P_STRING|P_ALLOCED|P_VIM|P_VI_DEF|P_RWIN|P_MLE,
1071 #if defined(FEAT_FOLDING) && defined(FEAT_EVAL)
1072 (char_u *)VAR_WIN, PV_FDT, did_set_optexpr,
1073 {(char_u *)"foldtext()", (char_u *)NULL}
1075 (char_u *)NULL, PV_NONE, NULL,
1076 {(char_u *)NULL, (char_u *)0L}
1079 {"formatexpr", "fex", P_STRING|P_ALLOCED|P_VI_DEF|P_VIM|P_MLE,
1081 (char_u *)&p_fex, PV_FEX, did_set_optexpr,
1082 {(char_u *)"", (char_u *)0L}
1084 (char_u *)NULL, PV_NONE, NULL,
1085 {(char_u *)0L, (char_u *)0L}
1088 {"formatoptions","fo", P_STRING|P_ALLOCED|P_VIM|P_FLAGLIST,
1089 (char_u *)&p_fo, PV_FO, did_set_formatoptions,
1090 {(char_u *)DFLT_FO_VI, (char_u *)DFLT_FO_VIM}
1092 {"formatlistpat","flp", P_STRING|P_ALLOCED|P_VI_DEF,
1093 (char_u *)&p_flp, PV_FLP, NULL,
1094 {(char_u *)"^\\s*\\d\\+[\\]:.)}\\t ]\\s*",
1095 (char_u *)0L} SCTX_INIT},
1096 {"formatprg", "fp", P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
1097 (char_u *)&p_fp, PV_FP, NULL,
1098 {(char_u *)"", (char_u *)0L} SCTX_INIT},
1099 {"fsync", "fs", P_BOOL|P_SECURE|P_VI_DEF,
1101 (char_u *)&p_fs, PV_NONE, NULL,
1102 {(char_u *)TRUE, (char_u *)0L}
1104 (char_u *)NULL, PV_NONE, NULL,
1105 {(char_u *)FALSE, (char_u *)0L}
1108 {"gdefault", "gd", P_BOOL|P_VI_DEF|P_VIM,
1109 (char_u *)&p_gd, PV_NONE, NULL,
1110 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
1111 {"graphic", "gr", P_BOOL|P_VI_DEF,
1112 (char_u *)NULL, PV_NONE, NULL,
1113 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
1114 {"grepformat", "gfm", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
1115 #ifdef FEAT_QUICKFIX
1116 (char_u *)&p_gefm, PV_NONE, NULL,
1117 {(char_u *)DFLT_GREPFORMAT, (char_u *)0L}
1119 (char_u *)NULL, PV_NONE, NULL,
1120 {(char_u *)NULL, (char_u *)0L}
1123 {"grepprg", "gp", P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
1124 #ifdef FEAT_QUICKFIX
1125 (char_u *)&p_gp, PV_GP, NULL,
1128 // may be changed to "grep -n" in os_win32.c
1129 (char_u *)"findstr /n",
1130 # elif defined(UNIX)
1131 // Add an extra file name so that grep will always
1132 // insert a file name in the match line.
1133 (char_u *)"grep -n $* /dev/null",
1135 (char_u *)"SEARCH/NUMBERS ",
1137 (char_u *)"grep -n ",
1141 (char_u *)NULL, PV_NONE, NULL,
1142 {(char_u *)NULL, (char_u *)0L}
1145 {"guicursor", "gcr", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
1147 (char_u *)&p_guicursor, PV_NONE,
1151 (char_u *)"n-v-c:block-Cursor/lCursor,ve:ver35-Cursor,o:hor50-Cursor,i-ci:ver25-Cursor/lCursor,r-cr:hor20-Cursor/lCursor,sm:block-Cursor-blinkwait175-blinkoff150-blinkon175",
1152 # else // Win32 console
1153 (char_u *)"n-v-c:block,o:hor50,i-ci:hor15,r-cr:hor30,sm:block",
1157 (char_u *)NULL, PV_NONE, NULL,
1158 {(char_u *)NULL, (char_u *)0L}
1161 {"guifont", "gfn", P_STRING|P_VI_DEF|P_RCLR|P_ONECOMMA|P_NODUP,
1163 (char_u *)&p_guifont, PV_NONE, did_set_guifont,
1164 {(char_u *)"", (char_u *)0L}
1166 (char_u *)NULL, PV_NONE, NULL,
1167 {(char_u *)NULL, (char_u *)0L}
1170 {"guifontset", "gfs", P_STRING|P_VI_DEF|P_RCLR|P_ONECOMMA,
1171 #if defined(FEAT_GUI) && defined(FEAT_XFONTSET)
1172 (char_u *)&p_guifontset, PV_NONE,
1174 {(char_u *)"", (char_u *)0L}
1176 (char_u *)NULL, PV_NONE, NULL,
1177 {(char_u *)NULL, (char_u *)0L}
1180 {"guifontwide", "gfw", P_STRING|P_VI_DEF|P_RCLR|P_ONECOMMA|P_NODUP,
1181 #if defined(FEAT_GUI)
1182 (char_u *)&p_guifontwide, PV_NONE,
1183 did_set_guifontwide,
1184 {(char_u *)"", (char_u *)0L}
1186 (char_u *)NULL, PV_NONE, NULL,
1187 {(char_u *)NULL, (char_u *)0L}
1192 {"guiligatures", "gli", P_STRING|P_VI_DEF|P_RCLR|P_ONECOMMA|P_NODUP,
1193 #if defined(FEAT_GUI_GTK)
1194 (char_u *)&p_guiligatures, PV_NONE,
1195 did_set_guiligatures,
1196 {(char_u *)"", (char_u *)0L}
1198 (char_u *)NULL, PV_NONE, NULL,
1199 {(char_u *)NULL, (char_u *)0L}
1204 {"guiheadroom", "ghr", P_NUM|P_VI_DEF,
1205 #if defined(FEAT_GUI_GTK) || defined(FEAT_GUI_X11)
1206 (char_u *)&p_ghr, PV_NONE, NULL,
1208 (char_u *)NULL, PV_NONE, NULL,
1210 {(char_u *)50L, (char_u *)0L} SCTX_INIT},
1211 {"guioptions", "go", P_STRING|P_VI_DEF|P_RALL|P_FLAGLIST,
1212 #if defined(FEAT_GUI)
1213 (char_u *)&p_go, PV_NONE, did_set_guioptions,
1215 {(char_u *)"aegimrLtT", (char_u *)0L}
1217 {(char_u *)"egmrLtT", (char_u *)0L}
1220 (char_u *)NULL, PV_NONE, NULL,
1221 {(char_u *)NULL, (char_u *)0L}
1224 {"guipty", NULL, P_BOOL|P_VI_DEF,
1225 #if defined(FEAT_GUI)
1226 (char_u *)&p_guipty, PV_NONE, NULL,
1228 (char_u *)NULL, PV_NONE, NULL,
1230 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
1231 {"guitablabel", "gtl", P_STRING|P_VI_DEF|P_RWIN|P_MLE,
1232 #if defined(FEAT_GUI_TABLINE)
1233 (char_u *)&p_gtl, PV_NONE, did_set_guitablabel,
1234 {(char_u *)"", (char_u *)0L}
1236 (char_u *)NULL, PV_NONE, NULL,
1237 {(char_u *)NULL, (char_u *)0L}
1240 {"guitabtooltip", "gtt", P_STRING|P_VI_DEF|P_RWIN,
1241 #if defined(FEAT_GUI_TABLINE)
1242 (char_u *)&p_gtt, PV_NONE, NULL,
1243 {(char_u *)"", (char_u *)0L}
1245 (char_u *)NULL, PV_NONE, NULL,
1246 {(char_u *)NULL, (char_u *)0L}
1249 {"hardtabs", "ht", P_NUM|P_VI_DEF,
1250 (char_u *)NULL, PV_NONE, NULL,
1251 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
1252 {"helpfile", "hf", P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
1253 (char_u *)&p_hf, PV_NONE, did_set_helpfile,
1254 {(char_u *)DFLT_HELPFILE, (char_u *)0L}
1256 {"helpheight", "hh", P_NUM|P_VI_DEF,
1257 (char_u *)&p_hh, PV_NONE,
1258 did_set_winheight_helpheight,
1259 {(char_u *)20L, (char_u *)0L} SCTX_INIT},
1260 {"helplang", "hlg", P_STRING|P_VI_DEF|P_ONECOMMA,
1261 #ifdef FEAT_MULTI_LANG
1262 (char_u *)&p_hlg, PV_NONE, did_set_helplang,
1263 {(char_u *)"", (char_u *)0L}
1265 (char_u *)NULL, PV_NONE, NULL,
1266 {(char_u *)0L, (char_u *)0L}
1269 {"hidden", "hid", P_BOOL|P_VI_DEF,
1270 (char_u *)&p_hid, PV_NONE, NULL,
1271 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
1272 {"highlight", "hl", P_STRING|P_VI_DEF|P_RCLR|P_ONECOMMA|P_NODUP,
1273 (char_u *)&p_hl, PV_NONE, did_set_highlight,
1274 {(char_u *)HIGHLIGHT_INIT, (char_u *)0L}
1276 {"history", "hi", P_NUM|P_VIM,
1277 (char_u *)&p_hi, PV_NONE, NULL,
1278 {(char_u *)0L, (char_u *)50L} SCTX_INIT},
1279 {"hkmap", "hk", P_BOOL|P_VI_DEF|P_VIM,
1280 #ifdef FEAT_RIGHTLEFT
1281 (char_u *)&p_hkmap, PV_NONE, NULL,
1283 (char_u *)NULL, PV_NONE, NULL,
1285 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
1286 {"hkmapp", "hkp", P_BOOL|P_VI_DEF|P_VIM,
1287 #ifdef FEAT_RIGHTLEFT
1288 (char_u *)&p_hkmapp, PV_NONE, NULL,
1290 (char_u *)NULL, PV_NONE, NULL,
1292 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
1293 {"hlsearch", "hls", P_BOOL|P_VI_DEF|P_VIM|P_RALL,
1294 #if defined(FEAT_SEARCH_EXTRA)
1295 (char_u *)&p_hls, PV_NONE, did_set_hlsearch,
1297 (char_u *)NULL, PV_NONE, NULL,
1299 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
1300 {"icon", NULL, P_BOOL|P_VI_DEF,
1301 (char_u *)&p_icon, PV_NONE, did_set_title_icon,
1302 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
1303 {"iconstring", NULL, P_STRING|P_VI_DEF|P_MLE,
1304 (char_u *)&p_iconstring, PV_NONE,
1306 {(char_u *)"", (char_u *)0L} SCTX_INIT},
1307 {"ignorecase", "ic", P_BOOL|P_VI_DEF,
1308 (char_u *)&p_ic, PV_NONE, did_set_ignorecase,
1309 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
1310 {"imactivatefunc","imaf",P_STRING|P_VI_DEF|P_SECURE|P_FUNC,
1311 #if defined(FEAT_EVAL) && \
1312 (defined(FEAT_XIM) || defined(IME_WITHOUT_XIM) || defined(VIMDLL))
1313 (char_u *)&p_imaf, PV_NONE,
1314 did_set_imactivatefunc,
1315 {(char_u *)"", (char_u *)NULL}
1317 (char_u *)NULL, PV_NONE, NULL,
1318 {(char_u *)NULL, (char_u *)0L}
1321 {"imactivatekey","imak",P_STRING|P_VI_DEF,
1322 #if defined(FEAT_XIM) && defined(FEAT_GUI_GTK)
1323 (char_u *)&p_imak, PV_NONE,
1324 did_set_imactivatekey,
1326 (char_u *)NULL, PV_NONE, NULL,
1328 {(char_u *)"", (char_u *)0L} SCTX_INIT},
1329 {"imcmdline", "imc", P_BOOL|P_VI_DEF,
1330 (char_u *)&p_imcmdline, PV_NONE, NULL,
1331 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
1332 {"imdisable", "imd", P_BOOL|P_VI_DEF,
1333 #if defined(HAVE_INPUT_METHOD)
1334 (char_u *)&p_imdisable, PV_NONE,
1337 (char_u *)NULL, PV_NONE, NULL,
1339 {(char_u *)FALSE, (char_u *)0L}
1341 {"iminsert", "imi", P_NUM|P_VI_DEF,
1342 (char_u *)&p_iminsert, PV_IMI, did_set_iminsert,
1343 {(char_u *)B_IMODE_NONE, (char_u *)0L}
1345 {"imsearch", "ims", P_NUM|P_VI_DEF,
1346 (char_u *)&p_imsearch, PV_IMS, did_set_imsearch,
1347 {(char_u *)B_IMODE_USE_INSERT, (char_u *)0L}
1349 {"imstatusfunc","imsf",P_STRING|P_VI_DEF|P_SECURE|P_FUNC,
1350 #if defined(FEAT_EVAL) && \
1351 (defined(FEAT_XIM) || defined(IME_WITHOUT_XIM) || defined(VIMDLL))
1352 (char_u *)&p_imsf, PV_NONE, did_set_imstatusfunc,
1353 {(char_u *)"", (char_u *)NULL}
1355 (char_u *)NULL, PV_NONE, NULL,
1356 {(char_u *)NULL, (char_u *)0L}
1359 {"imstyle", "imst", P_NUM|P_VI_DEF|P_SECURE,
1360 #if defined(FEAT_XIM) && defined(FEAT_GUI_GTK)
1361 (char_u *)&p_imst, PV_NONE, did_set_imstyle,
1362 {(char_u *)IM_OVER_THE_SPOT, (char_u *)0L}
1364 (char_u *)NULL, PV_NONE, NULL,
1365 {(char_u *)0L, (char_u *)0L}
1368 {"include", "inc", P_STRING|P_ALLOCED|P_VI_DEF,
1370 (char_u *)&p_inc, PV_INC, NULL,
1371 {(char_u *)"^\\s*#\\s*include", (char_u *)0L}
1373 (char_u *)NULL, PV_NONE, NULL,
1374 {(char_u *)0L, (char_u *)0L}
1377 {"includeexpr", "inex", P_STRING|P_ALLOCED|P_VI_DEF|P_MLE,
1378 #if defined(FEAT_FIND_ID) && defined(FEAT_EVAL)
1379 (char_u *)&p_inex, PV_INEX, did_set_optexpr,
1380 {(char_u *)"", (char_u *)0L}
1382 (char_u *)NULL, PV_NONE, NULL,
1383 {(char_u *)0L, (char_u *)0L}
1386 {"incsearch", "is", P_BOOL|P_VI_DEF|P_VIM,
1387 (char_u *)&p_is, PV_NONE, NULL,
1388 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
1389 {"indentexpr", "inde", P_STRING|P_ALLOCED|P_VI_DEF|P_VIM|P_MLE,
1390 #if defined(FEAT_EVAL)
1391 (char_u *)&p_inde, PV_INDE, did_set_optexpr,
1392 {(char_u *)"", (char_u *)0L}
1394 (char_u *)NULL, PV_NONE, NULL,
1395 {(char_u *)0L, (char_u *)0L}
1398 {"indentkeys", "indk", P_STRING|P_ALLOCED|P_VI_DEF|P_ONECOMMA|P_NODUP,
1399 #if defined(FEAT_EVAL)
1400 (char_u *)&p_indk, PV_INDK, NULL,
1401 {INDENTKEYS_DEFAULT, (char_u *)0L}
1403 (char_u *)NULL, PV_NONE, NULL,
1404 {(char_u *)0L, (char_u *)0L}
1407 {"infercase", "inf", P_BOOL|P_VI_DEF,
1408 (char_u *)&p_inf, PV_INF, NULL,
1409 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
1410 {"insertmode", "im", P_BOOL|P_VI_DEF|P_VIM,
1411 (char_u *)&p_im, PV_NONE, did_set_insertmode,
1412 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
1413 {"isfname", "isf", P_STRING|P_VI_DEF|P_COMMA|P_NODUP,
1414 (char_u *)&p_isf, PV_NONE, NULL,
1416 #ifdef BACKSLASH_IN_FILENAME
1417 // Excluded are: & and ^ are special in cmd.exe
1418 // ( and ) are used in text separating fnames
1419 (char_u *)"@,48-57,/,\\,.,-,_,+,,,#,$,%,{,},[,],:,@-@,!,~,=",
1422 (char_u *)"@,48-57,/,.,-,_,+,,,$,:",
1424 (char_u *)"@,48-57,/,.,-,_,+,,,#,$,%,<,>,[,],:,;,~",
1425 # else // UNIX et al.
1426 (char_u *)"@,48-57,/,.,-,_,+,,,#,$,%,~,=",
1429 (char_u *)0L} SCTX_INIT},
1430 {"isident", "isi", P_STRING|P_VI_DEF|P_COMMA|P_NODUP,
1431 (char_u *)&p_isi, PV_NONE, NULL,
1434 (char_u *)"@,48-57,_,128-167,224-235",
1436 (char_u *)"@,48-57,_,192-255",
1438 (char_u *)0L} SCTX_INIT},
1439 {"iskeyword", "isk", P_STRING|P_ALLOCED|P_VIM|P_COMMA|P_NODUP,
1440 (char_u *)&p_isk, PV_ISK, NULL,
1442 (char_u *)"@,48-57,_",
1444 (char_u *)"@,48-57,_,128-167,224-235"
1449 {"isprint", "isp", P_STRING|P_VI_DEF|P_RALL|P_COMMA|P_NODUP,
1450 (char_u *)&p_isp, PV_NONE, NULL,
1452 #if defined(MSWIN) || defined(VMS)
1453 (char_u *)"@,~-255",
1457 (char_u *)0L} SCTX_INIT},
1458 {"joinspaces", "js", P_BOOL|P_VI_DEF|P_VIM,
1459 (char_u *)&p_js, PV_NONE, NULL,
1460 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
1461 {"key", NULL, P_STRING|P_ALLOCED|P_VI_DEF|P_NO_MKRC,
1463 (char_u *)&p_key, PV_KEY, did_set_cryptkey,
1464 {(char_u *)"", (char_u *)0L}
1466 (char_u *)NULL, PV_NONE, NULL,
1467 {(char_u *)0L, (char_u *)0L}
1470 {"keymap", "kmp", P_STRING|P_ALLOCED|P_VI_DEF|P_RBUF|P_RSTAT|P_NFNAME|P_PRI_MKRC,
1472 (char_u *)&p_keymap, PV_KMAP, NULL,
1473 {(char_u *)"", (char_u *)0L}
1475 (char_u *)NULL, PV_NONE, NULL,
1476 {(char_u *)"", (char_u *)0L}
1479 {"keymodel", "km", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
1480 (char_u *)&p_km, PV_NONE, did_set_keymodel,
1481 {(char_u *)"", (char_u *)0L} SCTX_INIT},
1482 {"keyprotocol", "kpc", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
1483 (char_u *)&p_kpc, PV_NONE, did_set_keyprotocol,
1484 {(char_u *)"kitty:kitty,foot:kitty,wezterm:kitty,xterm:mok2", (char_u *)0L}
1486 {"keywordprg", "kp", P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
1487 (char_u *)&p_kp, PV_KP, NULL,
1493 #elif defined(USEMAN_S)
1498 (char_u *)0L} SCTX_INIT},
1499 {"langmap", "lmap", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP|P_SECURE,
1501 (char_u *)&p_langmap, PV_NONE, did_set_langmap,
1502 {(char_u *)"", (char_u *)0L}
1504 (char_u *)NULL, PV_NONE, NULL,
1505 {(char_u *)NULL, (char_u *)0L}
1508 {"langmenu", "lm", P_STRING|P_VI_DEF|P_NFNAME,
1509 #if defined(FEAT_MENU) && defined(FEAT_MULTI_LANG)
1510 (char_u *)&p_lm, PV_NONE, NULL,
1512 (char_u *)NULL, PV_NONE, NULL,
1514 {(char_u *)"", (char_u *)0L} SCTX_INIT},
1515 {"langnoremap", "lnr", P_BOOL|P_VI_DEF,
1517 (char_u *)&p_lnr, PV_NONE, did_set_langnoremap,
1519 (char_u *)NULL, PV_NONE, NULL,
1521 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
1522 {"langremap", "lrm", P_BOOL|P_VI_DEF,
1524 (char_u *)&p_lrm, PV_NONE, did_set_langremap,
1526 (char_u *)NULL, PV_NONE, NULL,
1528 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
1529 {"laststatus", "ls", P_NUM|P_VI_DEF|P_RALL,
1530 (char_u *)&p_ls, PV_NONE, did_set_laststatus,
1531 {(char_u *)1L, (char_u *)0L} SCTX_INIT},
1532 {"lazyredraw", "lz", P_BOOL|P_VI_DEF,
1533 (char_u *)&p_lz, PV_NONE, NULL,
1534 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
1535 {"linebreak", "lbr", P_BOOL|P_VI_DEF|P_RWIN,
1536 #ifdef FEAT_LINEBREAK
1537 (char_u *)VAR_WIN, PV_LBR, NULL,
1539 (char_u *)NULL, PV_NONE, NULL,
1541 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
1542 {"lines", NULL, P_NUM|P_NODEFAULT|P_NO_MKRC|P_VI_DEF|P_RCLR,
1543 (char_u *)&Rows, PV_NONE, NULL,
1550 (char_u *)0L} SCTX_INIT},
1551 {"linespace", "lsp", P_NUM|P_VI_DEF|P_RCLR,
1553 (char_u *)&p_linespace, PV_NONE,
1556 (char_u *)NULL, PV_NONE, NULL,
1558 #ifdef FEAT_GUI_MSWIN
1559 {(char_u *)1L, (char_u *)0L}
1561 {(char_u *)0L, (char_u *)0L}
1564 {"lisp", NULL, P_BOOL|P_VI_DEF,
1565 (char_u *)&p_lisp, PV_LISP, did_set_lisp,
1566 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
1567 {"lispoptions", "lop", P_STRING|P_ALLOCED|P_VI_DEF|P_ONECOMMA|P_NODUP,
1568 (char_u *)&p_lop, PV_LOP, did_set_lispoptions,
1569 {(char_u *)"", (char_u *)0L} SCTX_INIT},
1570 {"lispwords", "lw", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
1571 (char_u *)&p_lispwords, PV_LW, NULL,
1572 {(char_u *)LISPWORD_VALUE, (char_u *)0L} SCTX_INIT},
1573 {"list", NULL, P_BOOL|P_VI_DEF|P_RWIN,
1574 (char_u *)VAR_WIN, PV_LIST, NULL,
1575 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
1576 {"listchars", "lcs", P_STRING|P_VI_DEF|P_RALL|P_ONECOMMA|P_NODUP,
1577 (char_u *)&p_lcs, PV_LCS, NULL,
1578 {(char_u *)"eol:$", (char_u *)0L} SCTX_INIT},
1579 {"loadplugins", "lpl", P_BOOL|P_VI_DEF,
1580 (char_u *)&p_lpl, PV_NONE, NULL,
1581 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
1582 {"luadll", NULL, P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
1583 #if defined(DYNAMIC_LUA)
1584 (char_u *)&p_luadll, PV_NONE, NULL,
1585 {(char_u *)DYNAMIC_LUA_DLL, (char_u *)0L}
1587 (char_u *)NULL, PV_NONE, NULL,
1588 {(char_u *)"", (char_u *)0L}
1591 {"macatsui", NULL, P_BOOL|P_VI_DEF|P_RCLR,
1592 (char_u *)NULL, PV_NONE, NULL,
1593 {(char_u *)"", (char_u *)0L}
1595 {"magic", NULL, P_BOOL|P_VI_DEF,
1596 (char_u *)&p_magic, PV_NONE, NULL,
1597 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
1598 {"makeef", "mef", P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
1599 #ifdef FEAT_QUICKFIX
1600 (char_u *)&p_mef, PV_NONE, NULL,
1601 {(char_u *)"", (char_u *)0L}
1603 (char_u *)NULL, PV_NONE, NULL,
1604 {(char_u *)NULL, (char_u *)0L}
1607 {"makeencoding","menc", P_STRING|P_VI_DEF,
1608 (char_u *)&p_menc, PV_MENC, NULL,
1609 {(char_u *)"", (char_u *)0L}
1611 {"makeprg", "mp", P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
1612 #ifdef FEAT_QUICKFIX
1613 (char_u *)&p_mp, PV_MP, NULL,
1615 {(char_u *)"MMS", (char_u *)0L}
1617 {(char_u *)"make", (char_u *)0L}
1620 (char_u *)NULL, PV_NONE, NULL,
1621 {(char_u *)NULL, (char_u *)0L}
1624 {"matchpairs", "mps", P_STRING|P_ALLOCED|P_VI_DEF|P_ONECOMMA|P_NODUP,
1625 (char_u *)&p_mps, PV_MPS, did_set_matchpairs,
1626 {(char_u *)"(:),{:},[:]", (char_u *)0L}
1628 {"matchtime", "mat", P_NUM|P_VI_DEF,
1629 (char_u *)&p_mat, PV_NONE, NULL,
1630 {(char_u *)5L, (char_u *)0L} SCTX_INIT},
1631 {"maxcombine", "mco", P_NUM|P_VI_DEF|P_CURSWANT,
1632 (char_u *)&p_mco, PV_NONE, did_set_maxcombine,
1633 {(char_u *)2, (char_u *)0L} SCTX_INIT},
1634 {"maxfuncdepth", "mfd", P_NUM|P_VI_DEF,
1636 (char_u *)&p_mfd, PV_NONE, NULL,
1638 (char_u *)NULL, PV_NONE, NULL,
1640 {(char_u *)100L, (char_u *)0L} SCTX_INIT},
1641 {"maxmapdepth", "mmd", P_NUM|P_VI_DEF,
1642 (char_u *)&p_mmd, PV_NONE, NULL,
1643 {(char_u *)1000L, (char_u *)0L} SCTX_INIT},
1644 {"maxmem", "mm", P_NUM|P_VI_DEF,
1645 (char_u *)&p_mm, PV_NONE, NULL,
1646 {(char_u *)DFLT_MAXMEM, (char_u *)0L}
1648 {"maxmempattern","mmp", P_NUM|P_VI_DEF,
1649 (char_u *)&p_mmp, PV_NONE, NULL,
1650 {(char_u *)1000L, (char_u *)0L} SCTX_INIT},
1651 {"maxmemtot", "mmt", P_NUM|P_VI_DEF,
1652 (char_u *)&p_mmt, PV_NONE, NULL,
1653 {(char_u *)DFLT_MAXMEMTOT, (char_u *)0L}
1655 {"menuitems", "mis", P_NUM|P_VI_DEF,
1657 (char_u *)&p_mis, PV_NONE, NULL,
1659 (char_u *)NULL, PV_NONE, NULL,
1661 {(char_u *)25L, (char_u *)0L} SCTX_INIT},
1662 {"mesg", NULL, P_BOOL|P_VI_DEF,
1663 (char_u *)NULL, PV_NONE, NULL,
1664 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
1665 {"mkspellmem", "msm", P_STRING|P_VI_DEF|P_EXPAND|P_SECURE,
1667 (char_u *)&p_msm, PV_NONE, did_set_mkspellmem,
1668 {(char_u *)"460000,2000,500", (char_u *)0L}
1670 (char_u *)NULL, PV_NONE, NULL,
1671 {(char_u *)0L, (char_u *)0L}
1674 {"modeline", "ml", P_BOOL|P_VIM,
1675 (char_u *)&p_ml, PV_ML, NULL,
1676 {(char_u *)FALSE, (char_u *)TRUE} SCTX_INIT},
1677 {"modelineexpr", "mle", P_BOOL|P_VI_DEF|P_SECURE,
1678 (char_u *)&p_mle, PV_NONE, NULL,
1679 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
1680 {"modelines", "mls", P_NUM|P_VI_DEF,
1681 (char_u *)&p_mls, PV_NONE, NULL,
1682 {(char_u *)5L, (char_u *)0L} SCTX_INIT},
1683 {"modifiable", "ma", P_BOOL|P_VI_DEF|P_NOGLOB,
1684 (char_u *)&p_ma, PV_MA, did_set_modifiable,
1685 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
1686 {"modified", "mod", P_BOOL|P_NO_MKRC|P_VI_DEF|P_RSTAT,
1687 (char_u *)&p_mod, PV_MOD, did_set_modified,
1688 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
1689 {"more", NULL, P_BOOL|P_VIM,
1690 (char_u *)&p_more, PV_NONE, NULL,
1691 {(char_u *)FALSE, (char_u *)TRUE} SCTX_INIT},
1692 {"mouse", NULL, P_STRING|P_VI_DEF|P_FLAGLIST,
1693 (char_u *)&p_mouse, PV_NONE, did_set_mouse,
1700 (char_u *)0L} SCTX_INIT},
1701 {"mousefocus", "mousef", P_BOOL|P_VI_DEF,
1703 (char_u *)&p_mousef, PV_NONE, NULL,
1705 (char_u *)NULL, PV_NONE, NULL,
1707 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
1708 {"mousehide", "mh", P_BOOL|P_VI_DEF,
1710 (char_u *)&p_mh, PV_NONE, did_set_mousehide,
1712 (char_u *)NULL, PV_NONE, NULL,
1714 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
1715 {"mousemodel", "mousem", P_STRING|P_VI_DEF,
1716 (char_u *)&p_mousem, PV_NONE, did_set_mousemodel,
1721 # if defined(MACOS_X)
1722 (char_u *)"popup_setpos",
1727 (char_u *)0L} SCTX_INIT},
1728 {"mousemoveevent", "mousemev", P_BOOL|P_VI_DEF,
1730 (char_u *)&p_mousemev, PV_NONE, NULL,
1732 (char_u *)NULL, PV_NONE, NULL,
1734 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
1735 {"mouseshape", "mouses", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
1736 #ifdef FEAT_MOUSESHAPE
1737 (char_u *)&p_mouseshape, PV_NONE,
1739 {(char_u *)"i-r:beam,s:updown,sd:udsizing,vs:leftright,vd:lrsizing,m:no,ml:up-arrow,v:rightup-arrow", (char_u *)0L}
1741 (char_u *)NULL, PV_NONE, NULL,
1742 {(char_u *)NULL, (char_u *)0L}
1745 {"mousetime", "mouset", P_NUM|P_VI_DEF,
1746 (char_u *)&p_mouset, PV_NONE, NULL,
1747 {(char_u *)500L, (char_u *)0L} SCTX_INIT},
1748 {"mzschemedll", NULL, P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
1749 #if defined(DYNAMIC_MZSCHEME)
1750 (char_u *)&p_mzschemedll, PV_NONE, NULL,
1751 {(char_u *)DYNAMIC_MZSCH_DLL, (char_u *)0L}
1753 (char_u *)NULL, PV_NONE, NULL,
1754 {(char_u *)"", (char_u *)0L}
1757 {"mzschemegcdll", NULL, P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
1758 #if defined(DYNAMIC_MZSCHEME)
1759 (char_u *)&p_mzschemegcdll, PV_NONE, NULL,
1760 {(char_u *)DYNAMIC_MZGC_DLL, (char_u *)0L}
1762 (char_u *)NULL, PV_NONE, NULL,
1763 {(char_u *)"", (char_u *)0L}
1766 {"mzquantum", "mzq", P_NUM,
1767 #ifdef FEAT_MZSCHEME
1768 (char_u *)&p_mzq, PV_NONE, did_set_mzquantum,
1770 (char_u *)NULL, PV_NONE, NULL,
1772 {(char_u *)100L, (char_u *)100L} SCTX_INIT},
1773 {"novice", NULL, P_BOOL|P_VI_DEF,
1774 (char_u *)NULL, PV_NONE, NULL,
1775 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
1776 {"nrformats", "nf", P_STRING|P_ALLOCED|P_VI_DEF|P_ONECOMMA|P_NODUP,
1777 (char_u *)&p_nf, PV_NF, did_set_nrformats,
1778 {(char_u *)"bin,octal,hex", (char_u *)0L}
1780 {"number", "nu", P_BOOL|P_VI_DEF|P_RWIN,
1781 (char_u *)VAR_WIN, PV_NU,
1782 did_set_number_relativenumber,
1783 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
1784 {"numberwidth", "nuw", P_NUM|P_RWIN|P_VIM,
1785 #ifdef FEAT_LINEBREAK
1786 (char_u *)VAR_WIN, PV_NUW, did_set_numberwidth,
1788 (char_u *)NULL, PV_NONE, NULL,
1790 {(char_u *)8L, (char_u *)4L} SCTX_INIT},
1791 {"omnifunc", "ofu", P_STRING|P_ALLOCED|P_VI_DEF|P_SECURE|P_FUNC,
1792 #ifdef FEAT_COMPL_FUNC
1793 (char_u *)&p_ofu, PV_OFU, did_set_omnifunc,
1794 {(char_u *)"", (char_u *)0L}
1796 (char_u *)NULL, PV_NONE, NULL,
1797 {(char_u *)0L, (char_u *)0L}
1800 {"open", NULL, P_BOOL|P_VI_DEF,
1801 (char_u *)NULL, PV_NONE, NULL,
1802 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
1803 {"opendevice", "odev", P_BOOL|P_VI_DEF,
1805 (char_u *)&p_odev, PV_NONE, NULL,
1807 (char_u *)NULL, PV_NONE, NULL,
1809 {(char_u *)FALSE, (char_u *)FALSE}
1811 {"operatorfunc", "opfunc", P_STRING|P_VI_DEF|P_SECURE|P_FUNC,
1812 (char_u *)&p_opfunc, PV_NONE,
1813 did_set_operatorfunc,
1814 {(char_u *)"", (char_u *)0L} SCTX_INIT},
1815 {"optimize", "opt", P_BOOL|P_VI_DEF,
1816 (char_u *)NULL, PV_NONE, NULL,
1817 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
1818 {"osfiletype", "oft", P_STRING|P_ALLOCED|P_VI_DEF,
1819 (char_u *)NULL, PV_NONE, NULL,
1820 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
1821 {"packpath", "pp", P_STRING|P_VI_DEF|P_EXPAND|P_ONECOMMA|P_NODUP
1823 (char_u *)&p_pp, PV_NONE, NULL,
1824 {(char_u *)DFLT_RUNTIMEPATH, (char_u *)0L}
1826 {"paragraphs", "para", P_STRING|P_VI_DEF,
1827 (char_u *)&p_para, PV_NONE, NULL,
1828 {(char_u *)"IPLPPPQPP TPHPLIPpLpItpplpipbp",
1829 (char_u *)0L} SCTX_INIT},
1830 {"paste", NULL, P_BOOL|P_VI_DEF|P_PRI_MKRC,
1831 (char_u *)&p_paste, PV_NONE, did_set_paste,
1832 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
1833 {"pastetoggle", "pt", P_STRING|P_VI_DEF,
1834 (char_u *)&p_pt, PV_NONE, did_set_pastetoggle,
1835 {(char_u *)"", (char_u *)0L} SCTX_INIT},
1836 {"patchexpr", "pex", P_STRING|P_VI_DEF|P_SECURE,
1837 #if defined(FEAT_DIFF) && defined(FEAT_EVAL)
1838 (char_u *)&p_pex, PV_NONE, did_set_optexpr,
1839 {(char_u *)"", (char_u *)0L}
1841 (char_u *)NULL, PV_NONE, NULL,
1842 {(char_u *)0L, (char_u *)0L}
1845 {"patchmode", "pm", P_STRING|P_VI_DEF|P_NFNAME,
1846 (char_u *)&p_pm, PV_NONE,
1847 did_set_backupext_or_patchmode,
1848 {(char_u *)"", (char_u *)0L} SCTX_INIT},
1849 {"path", "pa", P_STRING|P_EXPAND|P_VI_DEF|P_COMMA|P_NODUP,
1850 (char_u *)&p_path, PV_PATH, NULL,
1852 #if defined(AMIGA) || defined(MSWIN)
1855 (char_u *)".,/usr/include,,",
1857 (char_u *)0L} SCTX_INIT},
1858 {"perldll", NULL, P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
1859 #if defined(DYNAMIC_PERL)
1860 (char_u *)&p_perldll, PV_NONE, NULL,
1861 {(char_u *)DYNAMIC_PERL_DLL, (char_u *)0L}
1863 (char_u *)NULL, PV_NONE, NULL,
1864 {(char_u *)0L, (char_u *)0L}
1867 {"preserveindent", "pi", P_BOOL|P_VI_DEF|P_VIM,
1868 (char_u *)&p_pi, PV_PI, NULL,
1869 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
1870 {"previewheight", "pvh", P_NUM|P_VI_DEF,
1871 #if defined(FEAT_QUICKFIX)
1872 (char_u *)&p_pvh, PV_NONE, NULL,
1874 (char_u *)NULL, PV_NONE, NULL,
1876 {(char_u *)12L, (char_u *)0L} SCTX_INIT},
1877 {"previewpopup", "pvp", P_STRING|P_VI_DEF|P_COMMA|P_NODUP,
1878 #ifdef FEAT_PROP_POPUP
1879 (char_u *)&p_pvp, PV_NONE, did_set_previewpopup,
1880 {(char_u *)"", (char_u *)0L}
1882 (char_u *)NULL, PV_NONE, NULL,
1883 {(char_u *)NULL, (char_u *)0L}
1886 {"previewwindow", "pvw", P_BOOL|P_VI_DEF|P_RSTAT|P_NOGLOB,
1887 #if defined(FEAT_QUICKFIX)
1888 (char_u *)VAR_WIN, PV_PVW, did_set_previewwindow,
1890 (char_u *)NULL, PV_NONE, NULL,
1892 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
1893 {"printdevice", "pdev", P_STRING|P_VI_DEF|P_SECURE,
1895 (char_u *)&p_pdev, PV_NONE, NULL,
1896 {(char_u *)"", (char_u *)0L}
1898 (char_u *)NULL, PV_NONE, NULL,
1899 {(char_u *)NULL, (char_u *)0L}
1902 {"printencoding", "penc", P_STRING|P_VI_DEF,
1903 #ifdef FEAT_POSTSCRIPT
1904 (char_u *)&p_penc, PV_NONE,
1905 did_set_printencoding,
1906 {(char_u *)"", (char_u *)0L}
1908 (char_u *)NULL, PV_NONE, NULL,
1909 {(char_u *)NULL, (char_u *)0L}
1912 {"printexpr", "pexpr", P_STRING|P_VI_DEF|P_SECURE,
1913 #ifdef FEAT_POSTSCRIPT
1914 (char_u *)&p_pexpr, PV_NONE, did_set_optexpr,
1915 {(char_u *)"", (char_u *)0L}
1917 (char_u *)NULL, PV_NONE, NULL,
1918 {(char_u *)NULL, (char_u *)0L}
1921 {"printfont", "pfn", P_STRING|P_VI_DEF,
1923 (char_u *)&p_pfn, PV_NONE, NULL,
1926 (char_u *)"Courier_New:h10",
1928 (char_u *)"courier",
1932 (char_u *)NULL, PV_NONE, NULL,
1933 {(char_u *)NULL, (char_u *)0L}
1936 {"printheader", "pheader", P_STRING|P_VI_DEF|P_GETTEXT,
1938 (char_u *)&p_header, PV_NONE, NULL,
1939 // untranslated to avoid problems when 'encoding'
1941 {(char_u *)"%<%f%h%m%=Page %N", (char_u *)0L}
1943 (char_u *)NULL, PV_NONE, NULL,
1944 {(char_u *)NULL, (char_u *)0L}
1947 {"printmbcharset", "pmbcs", P_STRING|P_VI_DEF,
1948 #if defined(FEAT_POSTSCRIPT)
1949 (char_u *)&p_pmcs, PV_NONE, NULL,
1950 {(char_u *)"", (char_u *)0L}
1952 (char_u *)NULL, PV_NONE, NULL,
1953 {(char_u *)NULL, (char_u *)0L}
1956 {"printmbfont", "pmbfn", P_STRING|P_VI_DEF,
1957 #if defined(FEAT_POSTSCRIPT)
1958 (char_u *)&p_pmfn, PV_NONE, parse_printmbfont,
1959 {(char_u *)"", (char_u *)0L}
1961 (char_u *)NULL, PV_NONE, NULL,
1962 {(char_u *)NULL, (char_u *)0L}
1965 {"printoptions", "popt", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
1967 (char_u *)&p_popt, PV_NONE, parse_printoptions,
1968 {(char_u *)"", (char_u *)0L}
1970 (char_u *)NULL, PV_NONE, NULL,
1971 {(char_u *)NULL, (char_u *)0L}
1974 {"prompt", NULL, P_BOOL|P_VI_DEF,
1975 (char_u *)&p_prompt, PV_NONE, NULL,
1976 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
1977 {"pumheight", "ph", P_NUM|P_VI_DEF,
1978 (char_u *)&p_ph, PV_NONE, NULL,
1979 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
1980 {"pumwidth", "pw", P_NUM|P_VI_DEF,
1981 (char_u *)&p_pw, PV_NONE, NULL,
1982 {(char_u *)15L, (char_u *)15L} SCTX_INIT},
1983 {"pythonthreedll", NULL, P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
1984 #if defined(DYNAMIC_PYTHON3)
1985 (char_u *)&p_py3dll, PV_NONE, NULL,
1986 {(char_u *)DYNAMIC_PYTHON3_DLL, (char_u *)0L}
1988 (char_u *)NULL, PV_NONE, NULL,
1989 {(char_u *)NULL, (char_u *)0L}
1992 {"pythonthreehome", NULL, P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
1993 #if defined(FEAT_PYTHON3)
1994 (char_u *)&p_py3home, PV_NONE, NULL,
1995 {(char_u *)"", (char_u *)0L}
1997 (char_u *)NULL, PV_NONE, NULL,
1998 {(char_u *)NULL, (char_u *)0L}
2001 {"pythondll", NULL, P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
2002 #if defined(DYNAMIC_PYTHON)
2003 (char_u *)&p_pydll, PV_NONE, NULL,
2004 {(char_u *)DYNAMIC_PYTHON_DLL, (char_u *)0L}
2006 (char_u *)NULL, PV_NONE, NULL,
2007 {(char_u *)NULL, (char_u *)0L}
2010 {"pythonhome", NULL, P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
2011 #if defined(FEAT_PYTHON)
2012 (char_u *)&p_pyhome, PV_NONE, NULL,
2013 {(char_u *)"", (char_u *)0L}
2015 (char_u *)NULL, PV_NONE, NULL,
2016 {(char_u *)NULL, (char_u *)0L}
2019 {"pyxversion", "pyx", P_NUM|P_VI_DEF|P_SECURE,
2020 #if defined(FEAT_PYTHON) || defined(FEAT_PYTHON3)
2021 (char_u *)&p_pyx, PV_NONE, did_set_pyxversion,
2023 (char_u *)NULL, PV_NONE, NULL,
2025 {(char_u *)DEFAULT_PYTHON_VER, (char_u *)0L}
2027 {"quickfixtextfunc", "qftf", P_STRING|P_ALLOCED|P_VI_DEF|P_VIM|P_SECURE|P_FUNC,
2028 #if defined(FEAT_QUICKFIX) && defined(FEAT_EVAL)
2029 (char_u *)&p_qftf, PV_NONE,
2030 did_set_quickfixtextfunc,
2031 {(char_u *)"", (char_u *)0L}
2033 (char_u *)NULL, PV_NONE, NULL,
2034 {(char_u *)NULL, (char_u *)NULL}
2037 {"quoteescape", "qe", P_STRING|P_ALLOCED|P_VI_DEF,
2038 (char_u *)&p_qe, PV_QE, NULL,
2039 {(char_u *)"\\", (char_u *)0L} SCTX_INIT},
2040 {"readonly", "ro", P_BOOL|P_VI_DEF|P_RSTAT|P_NOGLOB,
2041 (char_u *)&p_ro, PV_RO, did_set_readonly,
2042 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
2043 {"redraw", NULL, P_BOOL|P_VI_DEF,
2044 (char_u *)NULL, PV_NONE, NULL,
2045 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
2046 {"redrawtime", "rdt", P_NUM|P_VI_DEF,
2048 (char_u *)&p_rdt, PV_NONE, NULL,
2050 (char_u *)NULL, PV_NONE, NULL,
2052 {(char_u *)2000L, (char_u *)0L} SCTX_INIT},
2053 {"regexpengine", "re", P_NUM|P_VI_DEF,
2054 (char_u *)&p_re, PV_NONE, NULL,
2055 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
2056 {"relativenumber", "rnu", P_BOOL|P_VI_DEF|P_RWIN,
2057 (char_u *)VAR_WIN, PV_RNU,
2058 did_set_number_relativenumber,
2059 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
2060 {"remap", NULL, P_BOOL|P_VI_DEF,
2061 (char_u *)&p_remap, PV_NONE, NULL,
2062 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
2063 {"renderoptions", "rop", P_STRING|P_ONECOMMA|P_RCLR|P_VI_DEF,
2064 #ifdef FEAT_RENDER_OPTIONS
2065 (char_u *)&p_rop, PV_NONE, did_set_renderoptions,
2066 {(char_u *)"", (char_u *)0L}
2068 (char_u *)NULL, PV_NONE, NULL,
2069 {(char_u *)NULL, (char_u *)0L}
2072 {"report", NULL, P_NUM|P_VI_DEF,
2073 (char_u *)&p_report, PV_NONE, NULL,
2074 {(char_u *)2L, (char_u *)0L} SCTX_INIT},
2075 {"restorescreen", "rs", P_BOOL|P_VI_DEF,
2077 (char_u *)&p_rs, PV_NONE, NULL,
2079 (char_u *)NULL, PV_NONE, NULL,
2081 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
2082 {"revins", "ri", P_BOOL|P_VI_DEF|P_VIM,
2083 #ifdef FEAT_RIGHTLEFT
2084 (char_u *)&p_ri, PV_NONE, NULL,
2086 (char_u *)NULL, PV_NONE, NULL,
2088 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
2089 {"rightleft", "rl", P_BOOL|P_VI_DEF|P_RWIN,
2090 #ifdef FEAT_RIGHTLEFT
2091 (char_u *)VAR_WIN, PV_RL, NULL,
2093 (char_u *)NULL, PV_NONE, NULL,
2095 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
2096 {"rightleftcmd", "rlc", P_STRING|P_ALLOCED|P_VI_DEF|P_RWIN,
2097 #ifdef FEAT_RIGHTLEFT
2098 (char_u *)VAR_WIN, PV_RLC, NULL,
2099 {(char_u *)"search", (char_u *)NULL}
2101 (char_u *)NULL, PV_NONE, NULL,
2102 {(char_u *)NULL, (char_u *)0L}
2105 {"rubydll", NULL, P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
2106 #if defined(DYNAMIC_RUBY)
2107 (char_u *)&p_rubydll, PV_NONE, NULL,
2108 {(char_u *)DYNAMIC_RUBY_DLL, (char_u *)0L}
2110 (char_u *)NULL, PV_NONE, NULL,
2111 {(char_u *)NULL, (char_u *)0L}
2114 {"ruler", "ru", P_BOOL|P_VI_DEF|P_VIM|P_RSTAT,
2115 (char_u *)&p_ru, PV_NONE, NULL,
2116 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
2117 {"rulerformat", "ruf", P_STRING|P_VI_DEF|P_ALLOCED|P_RSTAT|P_MLE,
2119 (char_u *)&p_ruf, PV_NONE, did_set_rulerformat,
2121 (char_u *)NULL, PV_NONE, NULL,
2123 {(char_u *)"", (char_u *)0L} SCTX_INIT},
2124 {"runtimepath", "rtp", P_STRING|P_VI_DEF|P_EXPAND|P_ONECOMMA|P_NODUP
2126 (char_u *)&p_rtp, PV_NONE, NULL,
2127 {(char_u *)DFLT_RUNTIMEPATH, (char_u *)0L}
2129 {"scroll", "scr", P_NUM|P_NO_MKRC|P_VI_DEF,
2130 (char_u *)VAR_WIN, PV_SCROLL, NULL,
2131 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
2132 {"scrollbind", "scb", P_BOOL|P_VI_DEF,
2133 (char_u *)VAR_WIN, PV_SCBIND, did_set_scrollbind,
2134 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
2135 {"scrollfocus", "scf", P_BOOL|P_VI_DEF,
2136 #if defined(MSWIN) && defined(FEAT_GUI)
2137 (char_u *)&p_scf, PV_NONE, NULL,
2139 (char_u *)NULL, PV_NONE, NULL,
2141 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
2142 {"scrolljump", "sj", P_NUM|P_VI_DEF|P_VIM,
2143 (char_u *)&p_sj, PV_NONE, NULL,
2144 {(char_u *)1L, (char_u *)0L} SCTX_INIT},
2145 {"scrolloff", "so", P_NUM|P_VI_DEF|P_VIM|P_RALL,
2146 (char_u *)&p_so, PV_SO, NULL,
2147 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
2148 {"scrollopt", "sbo", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
2149 (char_u *)&p_sbo, PV_NONE, did_set_scrollopt,
2150 {(char_u *)"ver,jump", (char_u *)0L}
2152 {"sections", "sect", P_STRING|P_VI_DEF,
2153 (char_u *)&p_sections, PV_NONE, NULL,
2154 {(char_u *)"SHNHH HUnhsh", (char_u *)0L}
2156 {"secure", NULL, P_BOOL|P_VI_DEF|P_SECURE,
2157 (char_u *)&p_secure, PV_NONE, NULL,
2158 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
2159 {"selection", "sel", P_STRING|P_VI_DEF,
2160 (char_u *)&p_sel, PV_NONE, did_set_selection,
2161 {(char_u *)"inclusive", (char_u *)0L}
2163 {"selectmode", "slm", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
2164 (char_u *)&p_slm, PV_NONE, did_set_selectmode,
2165 {(char_u *)"", (char_u *)0L} SCTX_INIT},
2166 {"sessionoptions", "ssop", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
2168 (char_u *)&p_ssop, PV_NONE,
2169 did_set_sessionoptions,
2170 {(char_u *)"blank,buffers,curdir,folds,help,options,tabpages,winsize,terminal",
2173 (char_u *)NULL, PV_NONE, NULL,
2174 {(char_u *)0L, (char_u *)0L}
2177 {"shell", "sh", P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
2178 (char_u *)&p_sh, PV_NONE, NULL,
2184 (char_u *)"", // set in set_init_1()
2189 (char_u *)0L} SCTX_INIT},
2190 {"shellcmdflag","shcf", P_STRING|P_VI_DEF|P_SECURE,
2191 (char_u *)&p_shcf, PV_NONE, NULL,
2198 (char_u *)0L} SCTX_INIT},
2199 {"shellpipe", "sp", P_STRING|P_VI_DEF|P_SECURE,
2200 #ifdef FEAT_QUICKFIX
2201 (char_u *)&p_sp, PV_NONE, NULL,
2210 (char_u *)NULL, PV_NONE, NULL,
2211 {(char_u *)0L, (char_u *)0L}
2214 {"shellquote", "shq", P_STRING|P_VI_DEF|P_SECURE,
2215 (char_u *)&p_shq, PV_NONE, NULL,
2216 {(char_u *)"", (char_u *)0L} SCTX_INIT},
2217 {"shellredir", "srr", P_STRING|P_VI_DEF|P_SECURE,
2218 (char_u *)&p_srr, PV_NONE, NULL,
2219 {(char_u *)">", (char_u *)0L} SCTX_INIT},
2220 {"shellslash", "ssl", P_BOOL|P_VI_DEF,
2221 #ifdef BACKSLASH_IN_FILENAME
2222 (char_u *)&p_ssl, PV_NONE, did_set_shellslash,
2224 (char_u *)NULL, PV_NONE, NULL,
2226 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
2227 {"shelltemp", "stmp", P_BOOL,
2228 (char_u *)&p_stmp, PV_NONE, NULL,
2229 {(char_u *)FALSE, (char_u *)TRUE} SCTX_INIT},
2230 {"shelltype", "st", P_NUM|P_VI_DEF,
2232 (char_u *)&p_st, PV_NONE, NULL,
2234 (char_u *)NULL, PV_NONE, NULL,
2236 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
2237 {"shellxquote", "sxq", P_STRING|P_VI_DEF|P_SECURE,
2238 (char_u *)&p_sxq, PV_NONE, NULL,
2240 #if defined(UNIX) && defined(USE_SYSTEM)
2245 (char_u *)0L} SCTX_INIT},
2246 {"shellxescape", "sxe", P_STRING|P_VI_DEF|P_SECURE,
2247 (char_u *)&p_sxe, PV_NONE, NULL,
2250 (char_u *)"\"&|<>()@^",
2254 (char_u *)0L} SCTX_INIT},
2255 {"shiftround", "sr", P_BOOL|P_VI_DEF|P_VIM,
2256 (char_u *)&p_sr, PV_NONE, NULL,
2257 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
2258 {"shiftwidth", "sw", P_NUM|P_VI_DEF,
2259 (char_u *)&p_sw, PV_SW,
2260 did_set_shiftwidth_tabstop,
2261 {(char_u *)8L, (char_u *)0L} SCTX_INIT},
2262 {"shortmess", "shm", P_STRING|P_VIM|P_FLAGLIST,
2263 (char_u *)&p_shm, PV_NONE, did_set_shortmess,
2264 {(char_u *)"S", (char_u *)"filnxtToOS"}
2266 {"shortname", "sn", P_BOOL|P_VI_DEF,
2267 (char_u *)&p_sn, PV_SN, NULL,
2268 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
2269 {"showbreak", "sbr", P_STRING|P_VI_DEF|P_RALL,
2270 #ifdef FEAT_LINEBREAK
2271 (char_u *)&p_sbr, PV_SBR, did_set_showbreak,
2273 (char_u *)NULL, PV_NONE, NULL,
2275 {(char_u *)"", (char_u *)0L} SCTX_INIT},
2276 {"showcmd", "sc", P_BOOL|P_VIM,
2277 (char_u *)&p_sc, PV_NONE, NULL,
2285 {"showcmdloc", "sloc", P_STRING|P_RSTAT,
2286 (char_u *)&p_sloc, PV_NONE, did_set_showcmdloc,
2287 {(char_u *)"last", (char_u *)"last"} SCTX_INIT},
2288 {"showfulltag", "sft", P_BOOL|P_VI_DEF,
2289 (char_u *)&p_sft, PV_NONE, NULL,
2290 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
2291 {"showmatch", "sm", P_BOOL|P_VI_DEF,
2292 (char_u *)&p_sm, PV_NONE, NULL,
2293 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
2294 {"showmode", "smd", P_BOOL|P_VIM,
2295 (char_u *)&p_smd, PV_NONE, NULL,
2296 {(char_u *)FALSE, (char_u *)TRUE} SCTX_INIT},
2297 {"showtabline", "stal", P_NUM|P_VI_DEF|P_RALL,
2298 (char_u *)&p_stal, PV_NONE, did_set_showtabline,
2299 {(char_u *)1L, (char_u *)0L} SCTX_INIT},
2300 {"sidescroll", "ss", P_NUM|P_VI_DEF,
2301 (char_u *)&p_ss, PV_NONE, NULL,
2302 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
2303 {"sidescrolloff", "siso", P_NUM|P_VI_DEF|P_VIM|P_RBUF,
2304 (char_u *)&p_siso, PV_SISO, NULL,
2305 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
2306 {"signcolumn", "scl", P_STRING|P_ALLOCED|P_VI_DEF|P_RCLR,
2308 (char_u *)VAR_WIN, PV_SCL, did_set_signcolumn,
2309 {(char_u *)"auto", (char_u *)0L}
2311 (char_u *)NULL, PV_NONE, NULL,
2312 {(char_u *)NULL, (char_u *)0L}
2315 {"slowopen", "slow", P_BOOL|P_VI_DEF,
2316 (char_u *)NULL, PV_NONE, NULL,
2317 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
2318 {"smartcase", "scs", P_BOOL|P_VI_DEF|P_VIM,
2319 (char_u *)&p_scs, PV_NONE, NULL,
2320 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
2321 {"smartindent", "si", P_BOOL|P_VI_DEF|P_VIM,
2322 (char_u *)&p_si, PV_SI, NULL,
2323 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
2324 {"smarttab", "sta", P_BOOL|P_VI_DEF|P_VIM,
2325 (char_u *)&p_sta, PV_NONE, NULL,
2326 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
2327 {"smoothscroll", "sms", P_BOOL|P_VI_DEF|P_RWIN,
2328 (char_u *)VAR_WIN, PV_SMS, did_set_smoothscroll,
2329 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
2330 {"softtabstop", "sts", P_NUM|P_VI_DEF|P_VIM,
2331 (char_u *)&p_sts, PV_STS, NULL,
2332 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
2333 {"sourceany", NULL, P_BOOL|P_VI_DEF,
2334 (char_u *)NULL, PV_NONE, NULL,
2335 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
2336 {"spell", NULL, P_BOOL|P_VI_DEF|P_RWIN,
2338 (char_u *)VAR_WIN, PV_SPELL, did_set_spell,
2340 (char_u *)NULL, PV_NONE, NULL,
2342 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
2343 {"spellcapcheck", "spc", P_STRING|P_ALLOCED|P_VI_DEF|P_RBUF,
2345 (char_u *)&p_spc, PV_SPC, did_set_spellcapcheck,
2346 {(char_u *)"[.?!]\\_[\\])'\" ]\\+", (char_u *)0L}
2348 (char_u *)NULL, PV_NONE, NULL,
2349 {(char_u *)0L, (char_u *)0L}
2352 {"spellfile", "spf", P_STRING|P_EXPAND|P_ALLOCED|P_VI_DEF|P_SECURE
2355 (char_u *)&p_spf, PV_SPF, did_set_spellfile,
2356 {(char_u *)"", (char_u *)0L}
2358 (char_u *)NULL, PV_NONE, NULL,
2359 {(char_u *)0L, (char_u *)0L}
2362 {"spelllang", "spl", P_STRING|P_ALLOCED|P_VI_DEF|P_ONECOMMA
2365 (char_u *)&p_spl, PV_SPL, did_set_spelllang,
2366 {(char_u *)"en", (char_u *)0L}
2368 (char_u *)NULL, PV_NONE, NULL,
2369 {(char_u *)0L, (char_u *)0L}
2372 {"spelloptions", "spo", P_STRING|P_ALLOCED|P_VI_DEF
2373 |P_ONECOMMA|P_NODUP|P_RBUF,
2375 (char_u *)&p_spo, PV_SPO, did_set_spelloptions,
2376 {(char_u *)"", (char_u *)0L}
2378 (char_u *)NULL, PV_NONE, NULL,
2379 {(char_u *)0L, (char_u *)0L}
2382 {"spellsuggest", "sps", P_STRING|P_VI_DEF|P_EXPAND|P_SECURE|P_ONECOMMA,
2384 (char_u *)&p_sps, PV_NONE, did_set_spellsuggest,
2385 {(char_u *)"best", (char_u *)0L}
2387 (char_u *)NULL, PV_NONE, NULL,
2388 {(char_u *)0L, (char_u *)0L}
2391 {"splitbelow", "sb", P_BOOL|P_VI_DEF,
2392 (char_u *)&p_sb, PV_NONE, NULL,
2393 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
2394 {"splitkeep", "spk", P_STRING,
2395 (char_u *)&p_spk, PV_NONE, did_set_splitkeep,
2396 {(char_u *)"cursor", (char_u *)"cursor"} SCTX_INIT},
2397 {"splitright", "spr", P_BOOL|P_VI_DEF,
2398 (char_u *)&p_spr, PV_NONE, NULL,
2399 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
2400 {"startofline", "sol", P_BOOL|P_VI_DEF|P_VIM,
2401 (char_u *)&p_sol, PV_NONE, NULL,
2402 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
2403 {"statusline" ,"stl", P_STRING|P_VI_DEF|P_ALLOCED|P_RSTAT|P_MLE,
2405 (char_u *)&p_stl, PV_STL, did_set_statusline,
2407 (char_u *)NULL, PV_NONE, NULL,
2409 {(char_u *)"", (char_u *)0L} SCTX_INIT},
2410 {"suffixes", "su", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
2411 (char_u *)&p_su, PV_NONE, NULL,
2412 {(char_u *)".bak,~,.o,.h,.info,.swp,.obj",
2413 (char_u *)0L} SCTX_INIT},
2414 {"suffixesadd", "sua", P_STRING|P_VI_DEF|P_ALLOCED|P_ONECOMMA|P_NODUP,
2415 (char_u *)&p_sua, PV_SUA, NULL,
2416 {(char_u *)"", (char_u *)0L}
2418 {"swapfile", "swf", P_BOOL|P_VI_DEF|P_RSTAT,
2419 (char_u *)&p_swf, PV_SWF, did_set_swapfile,
2420 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
2421 {"swapsync", "sws", P_STRING|P_VI_DEF,
2422 (char_u *)&p_sws, PV_NONE, NULL,
2423 {(char_u *)"fsync", (char_u *)0L} SCTX_INIT},
2424 {"switchbuf", "swb", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
2425 (char_u *)&p_swb, PV_NONE, did_set_switchbuf,
2426 {(char_u *)"", (char_u *)0L} SCTX_INIT},
2427 {"synmaxcol", "smc", P_NUM|P_VI_DEF|P_RBUF,
2429 (char_u *)&p_smc, PV_SMC, NULL,
2430 {(char_u *)3000L, (char_u *)0L}
2432 (char_u *)NULL, PV_NONE, NULL,
2433 {(char_u *)0L, (char_u *)0L}
2436 {"syntax", "syn", P_STRING|P_ALLOCED|P_VI_DEF|P_NOGLOB|P_NFNAME,
2438 (char_u *)&p_syn, PV_SYN, NULL,
2439 {(char_u *)"", (char_u *)0L}
2441 (char_u *)NULL, PV_NONE, NULL,
2442 {(char_u *)0L, (char_u *)0L}
2445 {"tabline", "tal", P_STRING|P_VI_DEF|P_RALL|P_MLE,
2447 (char_u *)&p_tal, PV_NONE, did_set_tabline,
2449 (char_u *)NULL, PV_NONE, NULL,
2451 {(char_u *)"", (char_u *)0L} SCTX_INIT},
2452 {"tabpagemax", "tpm", P_NUM|P_VI_DEF,
2453 (char_u *)&p_tpm, PV_NONE, NULL,
2454 {(char_u *)10L, (char_u *)0L} SCTX_INIT},
2455 {"tabstop", "ts", P_NUM|P_VI_DEF|P_RBUF,
2456 (char_u *)&p_ts, PV_TS,
2457 did_set_shiftwidth_tabstop,
2458 {(char_u *)8L, (char_u *)0L} SCTX_INIT},
2459 {"tagbsearch", "tbs", P_BOOL|P_VI_DEF,
2460 (char_u *)&p_tbs, PV_NONE, NULL,
2461 #ifdef VMS // binary searching doesn't appear to work on VMS
2462 {(char_u *)0L, (char_u *)0L}
2464 {(char_u *)TRUE, (char_u *)0L}
2467 {"tagcase", "tc", P_STRING|P_VIM,
2468 (char_u *)&p_tc, PV_TC, did_set_tagcase,
2469 {(char_u *)"followic", (char_u *)"followic"} SCTX_INIT},
2470 {"tagfunc", "tfu", P_STRING|P_ALLOCED|P_VI_DEF|P_SECURE|P_FUNC,
2472 (char_u *)&p_tfu, PV_TFU, did_set_tagfunc,
2473 {(char_u *)"", (char_u *)0L}
2475 (char_u *)NULL, PV_NONE, NULL,
2476 {(char_u *)0L, (char_u *)0L}
2479 {"taglength", "tl", P_NUM|P_VI_DEF,
2480 (char_u *)&p_tl, PV_NONE, NULL,
2481 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
2482 {"tagrelative", "tr", P_BOOL|P_VIM,
2483 (char_u *)&p_tr, PV_NONE, NULL,
2484 {(char_u *)FALSE, (char_u *)TRUE} SCTX_INIT},
2485 {"tags", "tag", P_STRING|P_EXPAND|P_VI_DEF|P_ONECOMMA|P_NODUP,
2486 (char_u *)&p_tags, PV_TAGS, NULL,
2488 #if defined(FEAT_EMACS_TAGS) && !defined(CASE_INSENSITIVE_FILENAME)
2489 (char_u *)"./tags,./TAGS,tags,TAGS",
2491 (char_u *)"./tags,tags",
2493 (char_u *)0L} SCTX_INIT},
2494 {"tagstack", "tgst", P_BOOL|P_VI_DEF,
2495 (char_u *)&p_tgst, PV_NONE, NULL,
2496 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
2497 {"tcldll", NULL, P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
2498 #if defined(DYNAMIC_TCL)
2499 (char_u *)&p_tcldll, PV_NONE, NULL,
2500 {(char_u *)DYNAMIC_TCL_DLL, (char_u *)0L}
2502 (char_u *)NULL, PV_NONE, NULL,
2503 {(char_u *)0L, (char_u *)0L}
2506 {"term", NULL, P_STRING|P_EXPAND|P_NODEFAULT|P_NO_MKRC|P_VI_DEF|P_RALL,
2507 (char_u *)&T_NAME, PV_NONE, NULL,
2508 {(char_u *)"", (char_u *)0L} SCTX_INIT},
2509 {"termbidi", "tbidi", P_BOOL|P_VI_DEF,
2511 (char_u *)&p_tbidi, PV_NONE, NULL,
2513 (char_u *)NULL, PV_NONE, NULL,
2515 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
2516 {"termencoding", "tenc", P_STRING|P_VI_DEF|P_RCLR,
2517 (char_u *)&p_tenc, PV_NONE, NULL,
2518 {(char_u *)"", (char_u *)0L}
2520 {"termguicolors", "tgc", P_BOOL|P_VI_DEF|P_VIM|P_RCLR,
2521 #ifdef FEAT_TERMGUICOLORS
2522 (char_u *)&p_tgc, PV_NONE, did_set_termguicolors,
2523 {(char_u *)FALSE, (char_u *)FALSE}
2525 (char_u*)NULL, PV_NONE, NULL,
2526 {(char_u *)FALSE, (char_u *)FALSE}
2529 {"termwinkey", "twk", P_STRING|P_ALLOCED|P_RWIN|P_VI_DEF,
2530 #ifdef FEAT_TERMINAL
2531 (char_u *)VAR_WIN, PV_TWK, did_set_termwinkey,
2532 {(char_u *)"", (char_u *)NULL}
2534 (char_u *)NULL, PV_NONE, NULL,
2535 {(char_u *)NULL, (char_u *)0L}
2538 {"termwinscroll", "twsl", P_NUM|P_VI_DEF|P_VIM|P_RBUF,
2539 #ifdef FEAT_TERMINAL
2540 (char_u *)&p_twsl, PV_TWSL, NULL,
2541 {(char_u *)10000L, (char_u *)10000L}
2543 (char_u *)NULL, PV_NONE, NULL,
2544 {(char_u *)NULL, (char_u *)0L}
2547 {"termwinsize", "tws", P_STRING|P_ALLOCED|P_RWIN|P_VI_DEF,
2548 #ifdef FEAT_TERMINAL
2549 (char_u *)VAR_WIN, PV_TWS, did_set_termwinsize,
2550 {(char_u *)"", (char_u *)NULL}
2552 (char_u *)NULL, PV_NONE, NULL,
2553 {(char_u *)NULL, (char_u *)0L}
2556 {"termwintype", "twt", P_STRING|P_ALLOCED|P_VI_DEF,
2557 #if defined(MSWIN) && defined(FEAT_TERMINAL)
2558 (char_u *)&p_twt, PV_NONE, did_set_termwintype,
2559 {(char_u *)"", (char_u *)NULL}
2561 (char_u *)NULL, PV_NONE, NULL,
2562 {(char_u *)NULL, (char_u *)0L}
2565 {"terse", NULL, P_BOOL|P_VI_DEF,
2566 (char_u *)&p_terse, PV_NONE, did_set_terse,
2567 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
2568 {"textauto", "ta", P_BOOL|P_VIM,
2569 (char_u *)&p_ta, PV_NONE, did_set_textauto,
2570 {(char_u *)DFLT_TEXTAUTO, (char_u *)TRUE}
2572 {"textmode", "tx", P_BOOL|P_VI_DEF|P_NO_MKRC,
2573 (char_u *)&p_tx, PV_TX, did_set_textmode,
2580 (char_u *)0L} SCTX_INIT},
2581 {"textwidth", "tw", P_NUM|P_VI_DEF|P_VIM|P_RBUF,
2582 (char_u *)&p_tw, PV_TW, did_set_textwidth,
2583 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
2584 {"thesaurus", "tsr", P_STRING|P_EXPAND|P_VI_DEF|P_ONECOMMA|P_NODUP|P_NDNAME,
2585 (char_u *)&p_tsr, PV_TSR, NULL,
2586 {(char_u *)"", (char_u *)0L} SCTX_INIT},
2587 {"thesaurusfunc", "tsrfu", P_STRING|P_ALLOCED|P_VI_DEF|P_SECURE|P_FUNC,
2588 #ifdef FEAT_COMPL_FUNC
2589 (char_u *)&p_tsrfu, PV_TSRFU,
2590 did_set_thesaurusfunc,
2591 {(char_u *)"", (char_u *)0L}
2593 (char_u *)NULL, PV_NONE, NULL,
2594 {(char_u *)0L, (char_u *)0L}
2597 {"tildeop", "top", P_BOOL|P_VI_DEF|P_VIM,
2598 (char_u *)&p_to, PV_NONE, NULL,
2599 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
2600 {"timeout", "to", P_BOOL|P_VI_DEF,
2601 (char_u *)&p_timeout, PV_NONE, NULL,
2602 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
2603 {"timeoutlen", "tm", P_NUM|P_VI_DEF,
2604 (char_u *)&p_tm, PV_NONE, NULL,
2605 {(char_u *)1000L, (char_u *)0L} SCTX_INIT},
2606 {"title", NULL, P_BOOL|P_VI_DEF,
2607 (char_u *)&p_title, PV_NONE, did_set_title_icon,
2608 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
2609 {"titlelen", NULL, P_NUM|P_VI_DEF,
2610 (char_u *)&p_titlelen, PV_NONE, did_set_titlelen,
2611 {(char_u *)85L, (char_u *)0L} SCTX_INIT},
2612 {"titleold", NULL, P_STRING|P_VI_DEF|P_GETTEXT|P_SECURE|P_NO_MKRC,
2613 (char_u *)&p_titleold, PV_NONE, NULL,
2614 {(char_u *)N_("Thanks for flying Vim"),
2617 {"titlestring", NULL, P_STRING|P_VI_DEF|P_MLE,
2618 (char_u *)&p_titlestring, PV_NONE,
2619 did_set_titlestring,
2620 {(char_u *)"", (char_u *)0L} SCTX_INIT},
2621 {"toolbar", "tb", P_STRING|P_ONECOMMA|P_VI_DEF|P_NODUP,
2622 #if defined(FEAT_TOOLBAR) && !defined(FEAT_GUI_MSWIN)
2623 (char_u *)&p_toolbar, PV_NONE, did_set_toolbar,
2624 {(char_u *)"icons,tooltips", (char_u *)0L}
2626 (char_u *)NULL, PV_NONE, NULL,
2627 {(char_u *)0L, (char_u *)0L}
2630 {"toolbariconsize", "tbis", P_STRING|P_VI_DEF,
2631 #if defined(FEAT_TOOLBAR) && defined(FEAT_GUI_GTK)
2632 (char_u *)&p_tbis, PV_NONE,
2633 did_set_toolbariconsize,
2634 {(char_u *)"small", (char_u *)0L}
2636 (char_u *)NULL, PV_NONE, NULL,
2637 {(char_u *)0L, (char_u *)0L}
2640 {"ttimeout", NULL, P_BOOL|P_VI_DEF|P_VIM,
2641 (char_u *)&p_ttimeout, PV_NONE, NULL,
2642 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
2643 {"ttimeoutlen", "ttm", P_NUM|P_VI_DEF,
2644 (char_u *)&p_ttm, PV_NONE, NULL,
2645 {(char_u *)-1L, (char_u *)0L} SCTX_INIT},
2646 {"ttybuiltin", "tbi", P_BOOL|P_VI_DEF,
2647 (char_u *)&p_tbi, PV_NONE, NULL,
2648 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
2649 {"ttyfast", "tf", P_BOOL|P_NO_MKRC|P_VI_DEF,
2650 (char_u *)&p_tf, PV_NONE, NULL,
2651 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
2652 {"ttymouse", "ttym", P_STRING|P_NODEFAULT|P_NO_MKRC|P_VI_DEF,
2653 #if defined(UNIX) || defined(VMS)
2654 (char_u *)&p_ttym, PV_NONE, did_set_ttymouse,
2656 (char_u *)NULL, PV_NONE, NULL,
2658 {(char_u *)"", (char_u *)0L} SCTX_INIT},
2659 {"ttyscroll", "tsl", P_NUM|P_VI_DEF,
2660 (char_u *)&p_ttyscroll, PV_NONE, NULL,
2661 {(char_u *)999L, (char_u *)0L} SCTX_INIT},
2662 {"ttytype", "tty", P_STRING|P_EXPAND|P_NODEFAULT|P_NO_MKRC|P_VI_DEF|P_RALL,
2663 (char_u *)&T_NAME, PV_NONE, NULL,
2664 {(char_u *)"", (char_u *)0L} SCTX_INIT},
2665 {"undodir", "udir", P_STRING|P_EXPAND|P_ONECOMMA|P_NODUP|P_SECURE
2667 #ifdef FEAT_PERSISTENT_UNDO
2668 (char_u *)&p_udir, PV_NONE, NULL,
2669 {(char_u *)".", (char_u *)0L}
2671 (char_u *)NULL, PV_NONE, NULL,
2672 {(char_u *)0L, (char_u *)0L}
2675 {"undofile", "udf", P_BOOL|P_VI_DEF|P_VIM,
2676 #ifdef FEAT_PERSISTENT_UNDO
2677 (char_u *)&p_udf, PV_UDF, did_set_undofile,
2679 (char_u *)NULL, PV_NONE, NULL,
2681 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
2682 {"undolevels", "ul", P_NUM|P_VI_DEF,
2683 (char_u *)&p_ul, PV_UL, did_set_undolevels,
2685 #if defined(UNIX) || defined(MSWIN) || defined(VMS)
2690 (char_u *)0L} SCTX_INIT},
2691 {"undoreload", "ur", P_NUM|P_VI_DEF,
2692 (char_u *)&p_ur, PV_NONE, NULL,
2693 { (char_u *)10000L, (char_u *)0L} SCTX_INIT},
2694 {"updatecount", "uc", P_NUM|P_VI_DEF,
2695 (char_u *)&p_uc, PV_NONE, did_set_updatecount,
2696 {(char_u *)200L, (char_u *)0L} SCTX_INIT},
2697 {"updatetime", "ut", P_NUM|P_VI_DEF,
2698 (char_u *)&p_ut, PV_NONE, NULL,
2699 {(char_u *)4000L, (char_u *)0L} SCTX_INIT},
2700 {"varsofttabstop", "vsts", P_STRING|P_VI_DEF|P_VIM|P_COMMA,
2702 (char_u *)&p_vsts, PV_VSTS,
2703 did_set_varsofttabstop,
2704 {(char_u *)"", (char_u *)0L}
2706 (char_u *)NULL, PV_NONE, NULL,
2707 {(char_u *)"", (char_u *)NULL}
2710 {"vartabstop", "vts", P_STRING|P_VI_DEF|P_VIM|P_RBUF|P_COMMA,
2712 (char_u *)&p_vts, PV_VTS, did_set_vartabstop,
2713 {(char_u *)"", (char_u *)0L}
2715 (char_u *)NULL, PV_NONE, NULL,
2716 {(char_u *)"", (char_u *)NULL}
2719 {"verbose", "vbs", P_NUM|P_VI_DEF,
2720 (char_u *)&p_verbose, PV_NONE, NULL,
2721 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
2722 {"verbosefile", "vfile", P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
2723 (char_u *)&p_vfile, PV_NONE, did_set_verbosefile,
2724 {(char_u *)"", (char_u *)0L} SCTX_INIT},
2725 {"viewdir", "vdir", P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
2727 (char_u *)&p_vdir, PV_NONE, NULL,
2728 {(char_u *)DFLT_VDIR, (char_u *)0L}
2730 (char_u *)NULL, PV_NONE, NULL,
2731 {(char_u *)0L, (char_u *)0L}
2734 {"viewoptions", "vop", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
2736 (char_u *)&p_vop, PV_NONE, did_set_viewoptions,
2737 {(char_u *)"folds,options,cursor,curdir",
2740 (char_u *)NULL, PV_NONE, NULL,
2741 {(char_u *)0L, (char_u *)0L}
2744 {"viminfo", "vi", P_STRING|P_ONECOMMA|P_NODUP|P_SECURE,
2746 (char_u *)&p_viminfo, PV_NONE, did_set_viminfo,
2748 {(char_u *)"", (char_u *)"'100,<50,s10,h,rA:,rB:"}
2749 #elif defined(AMIGA)
2751 (char_u *)"'100,<50,s10,h,rdf0:,rdf1:,rdf2:"}
2753 {(char_u *)"", (char_u *)"'100,<50,s10,h"}
2756 (char_u *)NULL, PV_NONE, NULL,
2757 {(char_u *)0L, (char_u *)0L}
2760 {"viminfofile", "vif", P_STRING|P_EXPAND|P_ONECOMMA|P_NODUP
2763 (char_u *)&p_viminfofile, PV_NONE, NULL,
2764 {(char_u *)"", (char_u *)0L}
2766 (char_u *)NULL, PV_NONE, NULL,
2767 {(char_u *)0L, (char_u *)0L}
2770 {"virtualedit", "ve", P_STRING|P_ONECOMMA|P_NODUP|P_VI_DEF
2772 (char_u *)&p_ve, PV_VE, did_set_virtualedit,
2773 {(char_u *)"", (char_u *)""}
2775 {"visualbell", "vb", P_BOOL|P_VI_DEF,
2776 (char_u *)&p_vb, PV_NONE, NULL,
2777 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
2778 {"w300", NULL, P_NUM|P_VI_DEF,
2779 (char_u *)NULL, PV_NONE, NULL,
2780 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
2781 {"w1200", NULL, P_NUM|P_VI_DEF,
2782 (char_u *)NULL, PV_NONE, NULL,
2783 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
2784 {"w9600", NULL, P_NUM|P_VI_DEF,
2785 (char_u *)NULL, PV_NONE, NULL,
2786 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
2787 {"warn", NULL, P_BOOL|P_VI_DEF,
2788 (char_u *)&p_warn, PV_NONE, NULL,
2789 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
2790 {"weirdinvert", "wiv", P_BOOL|P_VI_DEF|P_RCLR,
2791 (char_u *)&p_wiv, PV_NONE, did_set_weirdinvert,
2792 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
2793 {"whichwrap", "ww", P_STRING|P_VIM|P_ONECOMMA|P_FLAGLIST,
2794 (char_u *)&p_ww, PV_NONE, did_set_whichwrap,
2795 {(char_u *)"", (char_u *)"b,s"} SCTX_INIT},
2796 {"wildchar", "wc", P_NUM|P_VIM,
2797 (char_u *)&p_wc, PV_NONE, NULL,
2798 {(char_u *)(long)Ctrl_E, (char_u *)(long)TAB}
2800 {"wildcharm", "wcm", P_NUM|P_VI_DEF,
2801 (char_u *)&p_wcm, PV_NONE, NULL,
2802 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
2803 {"wildignore", "wig", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
2804 (char_u *)&p_wig, PV_NONE, NULL,
2805 {(char_u *)"", (char_u *)0L} SCTX_INIT},
2806 {"wildignorecase", "wic", P_BOOL|P_VI_DEF,
2807 (char_u *)&p_wic, PV_NONE, NULL,
2808 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
2809 {"wildmenu", "wmnu", P_BOOL|P_VI_DEF,
2810 (char_u *)&p_wmnu, PV_NONE, NULL,
2811 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
2812 {"wildmode", "wim", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
2813 (char_u *)&p_wim, PV_NONE, did_set_wildmode,
2814 {(char_u *)"full", (char_u *)0L} SCTX_INIT},
2815 {"wildoptions", "wop", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
2816 (char_u *)&p_wop, PV_NONE, did_set_wildoptions,
2817 {(char_u *)"", (char_u *)0L}
2819 {"winaltkeys", "wak", P_STRING|P_VI_DEF,
2821 (char_u *)&p_wak, PV_NONE, did_set_winaltkeys,
2822 {(char_u *)"menu", (char_u *)0L}
2824 (char_u *)NULL, PV_NONE, NULL,
2825 {(char_u *)NULL, (char_u *)0L}
2828 {"wincolor", "wcr", P_STRING|P_ALLOCED|P_VI_DEF|P_RWIN,
2829 (char_u *)VAR_WIN, PV_WCR, did_set_wincolor,
2830 {(char_u *)"", (char_u *)NULL}
2832 {"window", "wi", P_NUM|P_VI_DEF,
2833 (char_u *)&p_window, PV_NONE, did_set_window,
2834 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
2835 {"winheight", "wh", P_NUM|P_VI_DEF,
2836 (char_u *)&p_wh, PV_NONE,
2837 did_set_winheight_helpheight,
2838 {(char_u *)1L, (char_u *)0L} SCTX_INIT},
2839 {"winfixheight", "wfh", P_BOOL|P_VI_DEF|P_RSTAT,
2840 (char_u *)VAR_WIN, PV_WFH, NULL,
2841 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
2842 {"winfixwidth", "wfw", P_BOOL|P_VI_DEF|P_RSTAT,
2843 (char_u *)VAR_WIN, PV_WFW, NULL,
2844 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
2845 {"winminheight", "wmh", P_NUM|P_VI_DEF,
2846 (char_u *)&p_wmh, PV_NONE, did_set_winminheight,
2847 {(char_u *)1L, (char_u *)0L} SCTX_INIT},
2848 {"winminwidth", "wmw", P_NUM|P_VI_DEF,
2849 (char_u *)&p_wmw, PV_NONE, did_set_winminwidth,
2850 {(char_u *)1L, (char_u *)0L} SCTX_INIT},
2851 {"winptydll", NULL, P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
2852 #if defined(MSWIN) && defined(FEAT_TERMINAL)
2853 (char_u *)&p_winptydll, PV_NONE, NULL, {
2855 (char_u *)"winpty64.dll",
2857 (char_u *)"winpty32.dll",
2861 (char_u *)NULL, PV_NONE, NULL,
2862 {(char_u *)0L, (char_u *)0L}
2865 {"winwidth", "wiw", P_NUM|P_VI_DEF,
2866 (char_u *)&p_wiw, PV_NONE, did_set_winwidth,
2867 {(char_u *)20L, (char_u *)0L} SCTX_INIT},
2868 {"wrap", NULL, P_BOOL|P_VI_DEF|P_RWIN,
2869 (char_u *)VAR_WIN, PV_WRAP, did_set_wrap,
2870 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
2871 {"wrapmargin", "wm", P_NUM|P_VI_DEF,
2872 (char_u *)&p_wm, PV_WM, NULL,
2873 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
2874 {"wrapscan", "ws", P_BOOL|P_VI_DEF,
2875 (char_u *)&p_ws, PV_NONE, NULL,
2876 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
2877 {"write", NULL, P_BOOL|P_VI_DEF,
2878 (char_u *)&p_write, PV_NONE, NULL,
2879 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
2880 {"writeany", "wa", P_BOOL|P_VI_DEF,
2881 (char_u *)&p_wa, PV_NONE, NULL,
2882 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
2883 {"writebackup", "wb", P_BOOL|P_VI_DEF|P_VIM,
2884 (char_u *)&p_wb, PV_NONE, NULL,
2886 #ifdef FEAT_WRITEBACKUP
2891 (char_u *)0L} SCTX_INIT},
2892 {"writedelay", "wd", P_NUM|P_VI_DEF,
2893 (char_u *)&p_wd, PV_NONE, NULL,
2894 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
2895 {"xtermcodes", NULL, P_BOOL|P_VI_DEF,
2896 (char_u *)&p_xtermcodes, PV_NONE, NULL,
2897 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
2899 // terminal output codes
2900 #define p_term(sss, vvv) \
2901 {sss, NULL, P_STRING|P_VI_DEF|P_RALL|P_SECURE, \
2902 (char_u *)&vvv, PV_NONE, NULL, \
2903 {(char_u *)"", (char_u *)0L} SCTX_INIT},
2905 p_term("t_AB", T_CAB)
2906 p_term("t_AF", T_CAF)
2907 p_term("t_AU", T_CAU)
2908 p_term("t_AL", T_CAL)
2909 p_term("t_al", T_AL)
2910 p_term("t_bc", T_BC)
2911 p_term("t_BE", T_BE)
2912 p_term("t_BD", T_BD)
2913 p_term("t_cd", T_CD)
2914 p_term("t_ce", T_CE)
2915 p_term("t_Ce", T_UCE)
2916 p_term("t_cl", T_CL)
2917 p_term("t_cm", T_CM)
2918 p_term("t_Co", T_CCO)
2919 p_term("t_CS", T_CCS)
2920 p_term("t_Cs", T_UCS)
2921 p_term("t_cs", T_CS)
2922 p_term("t_CV", T_CSV)
2923 p_term("t_da", T_DA)
2924 p_term("t_db", T_DB)
2925 p_term("t_DL", T_CDL)
2926 p_term("t_dl", T_DL)
2927 p_term("t_ds", T_DS)
2928 p_term("t_Ds", T_CDS)
2929 p_term("t_EC", T_CEC)
2930 p_term("t_EI", T_CEI)
2931 p_term("t_fs", T_FS)
2932 p_term("t_fd", T_FD)
2933 p_term("t_fe", T_FE)
2934 p_term("t_GP", T_CGP)
2935 p_term("t_IE", T_CIE)
2936 p_term("t_IS", T_CIS)
2937 p_term("t_ke", T_KE)
2938 p_term("t_ks", T_KS)
2939 p_term("t_le", T_LE)
2940 p_term("t_mb", T_MB)
2941 p_term("t_md", T_MD)
2942 p_term("t_me", T_ME)
2943 p_term("t_mr", T_MR)
2944 p_term("t_ms", T_MS)
2945 p_term("t_nd", T_ND)
2946 p_term("t_op", T_OP)
2947 p_term("t_RF", T_RFG)
2948 p_term("t_RB", T_RBG)
2949 p_term("t_RC", T_CRC)
2950 p_term("t_RI", T_CRI)
2951 p_term("t_Ri", T_SRI)
2952 p_term("t_RK", T_CRK)
2953 p_term("t_RS", T_CRS)
2954 p_term("t_RT", T_CRT)
2955 p_term("t_RV", T_CRV)
2956 p_term("t_Sb", T_CSB)
2957 p_term("t_SC", T_CSC)
2958 p_term("t_se", T_SE)
2959 p_term("t_Sf", T_CSF)
2960 p_term("t_SH", T_CSH)
2961 p_term("t_SI", T_CSI)
2962 p_term("t_Si", T_SSI)
2963 p_term("t_so", T_SO)
2964 p_term("t_SR", T_CSR)
2965 p_term("t_sr", T_SR)
2966 p_term("t_ST", T_CST)
2967 p_term("t_Te", T_STE)
2968 p_term("t_te", T_TE)
2969 p_term("t_TE", T_CTE)
2970 p_term("t_ti", T_TI)
2971 p_term("t_TI", T_CTI)
2972 p_term("t_Ts", T_STS)
2973 p_term("t_ts", T_TS)
2974 p_term("t_u7", T_U7)
2975 p_term("t_ue", T_UE)
2976 p_term("t_us", T_US)
2977 p_term("t_Us", T_USS)
2978 p_term("t_ut", T_UT)
2979 p_term("t_vb", T_VB)
2980 p_term("t_ve", T_VE)
2981 p_term("t_vi", T_VI)
2982 p_term("t_VS", T_CVS)
2983 p_term("t_vs", T_VS)
2984 p_term("t_WP", T_CWP)
2985 p_term("t_WS", T_CWS)
2986 p_term("t_XM", T_CXM)
2987 p_term("t_xn", T_XN)
2988 p_term("t_xs", T_XS)
2989 p_term("t_ZH", T_CZH)
2990 p_term("t_ZR", T_CZR)
2991 p_term("t_8f", T_8F)
2992 p_term("t_8b", T_8B)
2993 p_term("t_8u", T_8U)
2995 // terminal key codes are not in here
2998 {NULL, NULL, 0, NULL, PV_NONE, NULL, {NULL, NULL} SCTX_INIT}
3001 #define OPTION_COUNT ARRAY_LENGTH(options)
3003 // The following is needed to make the gen_opt_test.vim script work.