option_defs.h
Go to the documentation of this file.
1 #ifndef NVIM_OPTION_DEFS_H
2 #define NVIM_OPTION_DEFS_H
3 
4 #include "nvim/types.h"
5 #include "nvim/macros.h" // For EXTERN
6 #include "eval/typval.h" // For scid_T
7 
8 // option_defs.h: definition of global variables for settable options
9 
10 // Return value from get_option_value_strict
11 #define SOPT_BOOL 0x01 // Boolean option
12 #define SOPT_NUM 0x02 // Number option
13 #define SOPT_STRING 0x04 // String option
14 #define SOPT_GLOBAL 0x08 // Option has global value
15 #define SOPT_WIN 0x10 // Option has window-local value
16 #define SOPT_BUF 0x20 // Option has buffer-local value
17 #define SOPT_UNSET 0x40 // Option does not have local value set
18 
19 // Option types for various functions in option.c
20 #define SREQ_GLOBAL 0 // Request global option value
21 #define SREQ_WIN 1 // Request window-local option value
22 #define SREQ_BUF 2 // Request buffer-local option value
23 
24 // Default values for 'errorformat'.
25 // The "%f|%l| %m" one is used for when the contents of the quickfix window is
26 // written to a file.
27 #ifdef WIN32
28 # 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"
29 #else
30 # 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"
31 #endif
32 
33 #define DFLT_GREPFORMAT "%f:%l:%m,%f:%l%m,%f %l%m"
34 
35 // default values for b_p_ff 'fileformat' and p_ffs 'fileformats'
36 #define FF_DOS "dos"
37 #define FF_MAC "mac"
38 #define FF_UNIX "unix"
39 
40 #ifdef USE_CRNL
41 # define DFLT_FF "dos"
42 # define DFLT_FFS_VIM "dos,unix"
43 # define DFLT_FFS_VI "dos,unix" // also autodetect in compatible mode
44 #else
45 # define DFLT_FF "unix"
46 # define DFLT_FFS_VIM "unix,dos"
47 # define DFLT_FFS_VI ""
48 #endif
49 
50 
51 // Possible values for 'encoding'
52 # define ENC_UCSBOM "ucs-bom" // check for BOM at start of file
53 
54 // default value for 'encoding'
55 # define ENC_DFLT "utf-8"
56 
57 // end-of-line style
58 #define EOL_UNKNOWN -1 // not defined yet
59 #define EOL_UNIX 0 // NL
60 #define EOL_DOS 1 // CR NL
61 #define EOL_MAC 2 // CR
62 
63 // Formatting options for p_fo 'formatoptions'
64 #define FO_WRAP 't'
65 #define FO_WRAP_COMS 'c'
66 #define FO_RET_COMS 'r'
67 #define FO_OPEN_COMS 'o'
68 #define FO_Q_COMS 'q'
69 #define FO_Q_NUMBER 'n'
70 #define FO_Q_SECOND '2'
71 #define FO_INS_VI 'v'
72 #define FO_INS_LONG 'l'
73 #define FO_INS_BLANK 'b'
74 #define FO_MBYTE_BREAK 'm' // break before/after multi-byte char
75 #define FO_MBYTE_JOIN 'M' // no space before/after multi-byte char
76 #define FO_MBYTE_JOIN2 'B' // no space between multi-byte chars
77 #define FO_ONE_LETTER '1'
78 #define FO_WHITE_PAR 'w' // trailing white space continues paragr.
79 #define FO_AUTO 'a' // automatic formatting
80 #define FO_REMOVE_COMS 'j' // remove comment leaders when joining lines
81 #define FO_PERIOD_ABBR 'p' // don't break a single space after a period
82 
83 #define DFLT_FO_VI "vt"
84 #define DFLT_FO_VIM "tcqj"
85 #define FO_ALL "tcroq2vlb1mMBn,awjp" // for do_set()
86 
87 // characters for the p_cpo option:
88 #define CPO_ALTREAD 'a' // ":read" sets alternate file name
89 #define CPO_ALTWRITE 'A' // ":write" sets alternate file name
90 #define CPO_BAR 'b' // "\|" ends a mapping
91 #define CPO_BSLASH 'B' // backslash in mapping is not special
92 #define CPO_SEARCH 'c'
93 #define CPO_CONCAT 'C' // Don't concatenate sourced lines
94 #define CPO_DOTTAG 'd' // "./tags" in 'tags' is in current dir
95 #define CPO_DIGRAPH 'D' // No digraph after "r", "f", etc.
96 #define CPO_EXECBUF 'e'
97 #define CPO_EMPTYREGION 'E' // operating on empty region is an error
98 #define CPO_FNAMER 'f' // set file name for ":r file"
99 #define CPO_FNAMEW 'F' // set file name for ":w file"
100 #define CPO_INTMOD 'i' // interrupt a read makes buffer modified
101 #define CPO_INDENT 'I' // remove auto-indent more often
102 #define CPO_ENDOFSENT 'J' // need two spaces to detect end of sentence
103 #define CPO_KOFFSET 'K' // don't wait for key code in mappings
104 #define CPO_LITERAL 'l' // take char after backslash in [] literal
105 #define CPO_LISTWM 'L' // 'list' changes wrapmargin
106 #define CPO_SHOWMATCH 'm'
107 #define CPO_MATCHBSL 'M' // "%" ignores use of backslashes
108 #define CPO_NUMCOL 'n' // 'number' column also used for text
109 #define CPO_LINEOFF 'o'
110 #define CPO_OVERNEW 'O' // silently overwrite new file
111 #define CPO_LISP 'p' // 'lisp' indenting
112 #define CPO_FNAMEAPP 'P' // set file name for ":w >>file"
113 #define CPO_JOINCOL 'q' // with "3J" use column after first join
114 #define CPO_REDO 'r'
115 #define CPO_REMMARK 'R' // remove marks when filtering
116 #define CPO_BUFOPT 's'
117 #define CPO_BUFOPTGLOB 'S'
118 #define CPO_TAGPAT 't'
119 #define CPO_UNDO 'u' // "u" undoes itself
120 #define CPO_BACKSPACE 'v' // "v" keep deleted text
121 #define CPO_FWRITE 'W' // "w!" doesn't overwrite readonly files
122 #define CPO_ESC 'x'
123 #define CPO_REPLCNT 'X' // "R" with a count only deletes chars once
124 #define CPO_YANK 'y'
125 #define CPO_KEEPRO 'Z' // don't reset 'readonly' on ":w!"
126 #define CPO_DOLLAR '$'
127 #define CPO_FILTER '!'
128 #define CPO_MATCH '%'
129 #define CPO_PLUS '+' // ":write file" resets 'modified'
130 #define CPO_REGAPPEND '>' // insert NL when appending to a register
131 #define CPO_SCOLON ';' // using "," and ";" will skip over char if
132  // cursor would not move
133 #define CPO_CHANGEW '_' // "cw" special-case
134 // default values for Vim and Vi
135 #define CPO_VIM "aABceFs_"
136 #define CPO_VI "aAbBcCdDeEfFiIJKlLmMnoOpPqrRsStuvWxXyZ$!%+>;_"
137 
138 // characters for p_ww option:
139 #define WW_ALL "bshl<>[],~"
140 
141 // characters for p_mouse option:
142 #define MOUSE_NORMAL 'n' // use mouse in Normal mode
143 #define MOUSE_VISUAL 'v' // use mouse in Visual/Select mode
144 #define MOUSE_INSERT 'i' // use mouse in Insert mode
145 #define MOUSE_COMMAND 'c' // use mouse in Command-line mode
146 #define MOUSE_HELP 'h' // use mouse in help buffers
147 #define MOUSE_RETURN 'r' // use mouse for hit-return message
148 #define MOUSE_A "nvich" // used for 'a' flag
149 #define MOUSE_ALL "anvichr" // all possible characters
150 #define MOUSE_NONE ' ' // don't use Visual selection
151 #define MOUSE_NONEF 'x' // forced modeless selection
152 
153 #define COCU_ALL "nvic" // flags for 'concealcursor'
154 
156 enum {
157  SHM_RO = 'r',
158  SHM_MOD = 'm',
159  SHM_FILE = 'f',
160  SHM_LAST = 'i',
161  SHM_TEXT = 'x',
162  SHM_LINES = 'l',
163  SHM_NEW = 'n',
164  SHM_WRI = 'w',
166  SHM_WRITE = 'W',
167  SHM_TRUNC = 't',
168  SHM_TRUNCALL = 'T',
169  SHM_OVER = 'o',
170  SHM_OVERALL = 'O',
171  SHM_SEARCH = 's',
173  SHM_INTRO = 'I',
176  SHM_FILEINFO = 'F',
178 };
180 #define SHM_ALL_ABBREVIATIONS ((char_u[]) { \
181  SHM_RO, SHM_MOD, SHM_FILE, SHM_LAST, SHM_TEXT, SHM_LINES, SHM_NEW, SHM_WRI, \
182  0, \
183 })
184 
185 // characters for p_go:
186 #define GO_ASEL 'a' // autoselect
187 #define GO_ASELML 'A' // autoselect modeless selection
188 #define GO_BOT 'b' // use bottom scrollbar
189 #define GO_CONDIALOG 'c' // use console dialog
190 #define GO_TABLINE 'e' // may show tabline
191 #define GO_FORG 'f' // start GUI in foreground
192 #define GO_GREY 'g' // use grey menu items
193 #define GO_HORSCROLL 'h' // flexible horizontal scrolling
194 #define GO_ICON 'i' // use Vim icon
195 #define GO_LEFT 'l' // use left scrollbar
196 #define GO_VLEFT 'L' // left scrollbar with vert split
197 #define GO_MENUS 'm' // use menu bar
198 #define GO_NOSYSMENU 'M' // don't source system menu
199 #define GO_POINTER 'p' // pointer enter/leave callbacks
200 #define GO_ASELPLUS 'P' // autoselectPlus
201 #define GO_RIGHT 'r' // use right scrollbar
202 #define GO_VRIGHT 'R' // right scrollbar with vert split
203 #define GO_TOOLBAR 'T' // add toolbar
204 #define GO_FOOTER 'F' // add footer
205 #define GO_VERTICAL 'v' // arrange dialog buttons vertically
206 #define GO_KEEPWINSIZE 'k' // keep GUI window size
207 #define GO_ALL "aAbcefFghilmMprTvk" // all possible flags for 'go'
208 
209 // flags for 'comments' option
210 #define COM_NEST 'n' // comments strings nest
211 #define COM_BLANK 'b' // needs blank after string
212 #define COM_START 's' // start of comment
213 #define COM_MIDDLE 'm' // middle of comment
214 #define COM_END 'e' // end of comment
215 #define COM_AUTO_END 'x' // last char of end closes comment
216 #define COM_FIRST 'f' // first line comment only
217 #define COM_LEFT 'l' // left adjusted
218 #define COM_RIGHT 'r' // right adjusted
219 #define COM_NOBACK 'O' // don't use for "O" command
220 #define COM_ALL "nbsmexflrO" // all flags for 'comments' option
221 #define COM_MAX_LEN 50 // maximum length of a part
222 
224 enum {
225  STL_FILEPATH = 'f',
226  STL_FULLPATH = 'F',
227  STL_FILENAME = 't',
228  STL_COLUMN = 'c',
229  STL_VIRTCOL = 'v',
231  STL_LINE = 'l',
232  STL_NUMLINES = 'L',
233  STL_BUFNO = 'n',
234  STL_KEYMAP = 'k',
235  STL_OFFSET = 'o',
236  STL_OFFSET_X = 'O',
237  STL_BYTEVAL = 'b',
239  STL_ROFLAG = 'r',
241  STL_HELPFLAG = 'h',
243  STL_FILETYPE = 'y',
247  STL_MODIFIED = 'm',
249  STL_QUICKFIX = 'q',
253  STL_PAGENUM = 'N',
254  STL_VIM_EXPR = '{',
255  STL_SEPARATE = '=',
257  STL_USER_HL = '*',
262 };
264 #define STL_ALL ((char_u[]) { \
265  STL_FILEPATH, STL_FULLPATH, STL_FILENAME, STL_COLUMN, STL_VIRTCOL, \
266  STL_VIRTCOL_ALT, STL_LINE, STL_NUMLINES, STL_BUFNO, STL_KEYMAP, STL_OFFSET, \
267  STL_OFFSET_X, STL_BYTEVAL, STL_BYTEVAL_X, STL_ROFLAG, STL_ROFLAG_ALT, \
268  STL_HELPFLAG, STL_HELPFLAG_ALT, STL_FILETYPE, STL_FILETYPE_ALT, \
269  STL_PREVIEWFLAG, STL_PREVIEWFLAG_ALT, STL_MODIFIED, STL_MODIFIED_ALT, \
270  STL_QUICKFIX, STL_PERCENTAGE, STL_ALTPERCENT, STL_ARGLISTSTAT, STL_PAGENUM, \
271  STL_VIM_EXPR, STL_SEPARATE, STL_TRUNCMARK, STL_USER_HL, STL_HIGHLIGHT, \
272  STL_TABPAGENR, STL_TABCLOSENR, STL_CLICK_FUNC, \
273  0, \
274 })
275 
276 // flags used for parsed 'wildmode'
277 #define WIM_FULL 1
278 #define WIM_LONGEST 2
279 #define WIM_LIST 4
280 
281 // arguments for can_bs()
282 #define BS_INDENT 'i' // "Indent"
283 #define BS_EOL 'o' // "eOl"
284 #define BS_START 's' // "Start"
285 
286 #define LISPWORD_VALUE \
287  "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"
288 
289 /*
290  * The following are actual variables for the options
291  */
292 
293 EXTERN long p_aleph; // 'aleph'
294 EXTERN int p_acd; // 'autochdir'
295 EXTERN char_u *p_ambw; // 'ambiwidth'
296 EXTERN int p_ar; // 'autoread'
297 EXTERN int p_aw; // 'autowrite'
298 EXTERN int p_awa; // 'autowriteall'
299 EXTERN char_u *p_bs; // 'backspace'
300 EXTERN char_u *p_bg; // 'background'
301 EXTERN int p_bk; // 'backup'
302 EXTERN char_u *p_bkc; // 'backupcopy'
303 EXTERN unsigned int bkc_flags;
304 #ifdef IN_OPTION_C
305 static char *(p_bkc_values[]) =
306 {"yes", "auto", "no", "breaksymlink", "breakhardlink", NULL};
307 #endif
308 # define BKC_YES 0x001
309 # define BKC_AUTO 0x002
310 # define BKC_NO 0x004
311 # define BKC_BREAKSYMLINK 0x008
312 # define BKC_BREAKHARDLINK 0x010
313 EXTERN char_u *p_bdir; // 'backupdir'
314 EXTERN char_u *p_bex; // 'backupext'
315 EXTERN char_u *p_bo; // 'belloff'
316 EXTERN char breakat_flags[256]; // which characters are in 'breakat'
317 EXTERN unsigned bo_flags;
318 # ifdef IN_OPTION_C
319 static char *(p_bo_values[]) = {"all", "backspace", "cursor", "complete",
320  "copy", "ctrlg", "error", "esc", "ex",
321  "hangul", "insertmode", "lang", "mess",
322  "showmatch", "operator", "register", "shell",
323  "spell", "wildmode", NULL};
324 # endif
325 
326 // values for the 'belloff' option
327 #define BO_ALL 0x0001
328 #define BO_BS 0x0002
329 #define BO_CRSR 0x0004
330 #define BO_COMPL 0x0008
331 #define BO_COPY 0x0010
332 #define BO_CTRLG 0x0020
333 #define BO_ERROR 0x0040
334 #define BO_ESC 0x0080
335 #define BO_EX 0x0100
336 #define BO_HANGUL 0x0200
337 #define BO_IM 0x0400
338 #define BO_LANG 0x0800
339 #define BO_MESS 0x1000
340 #define BO_MATCH 0x2000
341 #define BO_OPER 0x4000
342 #define BO_REG 0x8000
343 #define BO_SH 0x10000
344 #define BO_SPELL 0x20000
345 #define BO_WILD 0x40000
346 
347 EXTERN char_u *p_bsk; // 'backupskip'
348 EXTERN char_u *p_breakat; // 'breakat'
349 EXTERN char_u *p_cmp; // 'casemap'
350 EXTERN unsigned cmp_flags;
351 # ifdef IN_OPTION_C
352 static char *(p_cmp_values[]) = {"internal", "keepascii", NULL};
353 # endif
354 # define CMP_INTERNAL 0x001
355 # define CMP_KEEPASCII 0x002
356 EXTERN char_u *p_enc; // 'encoding'
357 EXTERN int p_deco; // 'delcombine'
358 EXTERN char_u *p_ccv; // 'charconvert'
359 EXTERN char_u *p_cedit; // 'cedit'
360 EXTERN char_u *p_cb; // 'clipboard'
361 EXTERN unsigned cb_flags;
362 #ifdef IN_OPTION_C
363 static char *(p_cb_values[]) = {"unnamed", "unnamedplus", NULL};
364 #endif
365 # define CB_UNNAMED 0x001
366 # define CB_UNNAMEDPLUS 0x002
367 # define CB_UNNAMEDMASK (CB_UNNAMED | CB_UNNAMEDPLUS)
368 EXTERN long p_cwh; // 'cmdwinheight'
369 EXTERN long p_ch; // 'cmdheight'
370 EXTERN long p_columns; // 'columns'
371 EXTERN int p_confirm; // 'confirm'
372 EXTERN int p_cp; // 'compatible'
373 EXTERN char_u *p_cot; // 'completeopt'
374 EXTERN long p_pb; // 'pumblend'
375 EXTERN long p_ph; // 'pumheight'
376 EXTERN long p_pw; // 'pumwidth'
377 EXTERN char_u *p_cpo; // 'cpoptions'
378 EXTERN char_u *p_csprg; // 'cscopeprg'
379 EXTERN int p_csre; // 'cscoperelative'
380 EXTERN char_u *p_csqf; // 'cscopequickfix'
381 # define CSQF_CMDS "sgdctefia"
382 # define CSQF_FLAGS "+-0"
383 EXTERN int p_cst; // 'cscopetag'
384 EXTERN long p_csto; // 'cscopetagorder'
385 EXTERN long p_cspc; // 'cscopepathcomp'
386 EXTERN int p_csverbose; // 'cscopeverbose'
387 EXTERN char_u *p_debug; // 'debug'
388 EXTERN char_u *p_def; // 'define'
390 EXTERN char_u *p_dip; // 'diffopt'
391 EXTERN char_u *p_dex; // 'diffexpr'
392 EXTERN char_u *p_dict; // 'dictionary'
393 EXTERN int p_dg; // 'digraph'
394 EXTERN char_u *p_dir; // 'directory'
395 EXTERN char_u *p_dy; // 'display'
396 EXTERN unsigned dy_flags;
397 #ifdef IN_OPTION_C
398 static char *(p_dy_values[]) = { "lastline", "truncate", "uhex", "msgsep",
399  NULL };
400 #endif
401 #define DY_LASTLINE 0x001
402 #define DY_TRUNCATE 0x002
403 #define DY_UHEX 0x004
404 // code should use msg_use_msgsep() to check if msgsep is active
405 #define DY_MSGSEP 0x008
406 EXTERN int p_ed; // 'edcompatible'
407 EXTERN int p_emoji; // 'emoji'
408 EXTERN char_u *p_ead; // 'eadirection'
409 EXTERN int p_ea; // 'equalalways'
410 EXTERN char_u *p_ep; // 'equalprg'
411 EXTERN int p_eb; // 'errorbells'
412 EXTERN char_u *p_ef; // 'errorfile'
413 EXTERN char_u *p_efm; // 'errorformat'
414 EXTERN char_u *p_gefm; // 'grepformat'
415 EXTERN char_u *p_gp; // 'grepprg'
416 EXTERN char_u *p_ei; // 'eventignore'
417 EXTERN int p_exrc; // 'exrc'
418 EXTERN char_u *p_fencs; // 'fileencodings'
419 EXTERN char_u *p_ffs; // 'fileformats'
420 EXTERN int p_fic; // 'fileignorecase'
421 EXTERN char_u *p_fcl; // 'foldclose'
422 EXTERN long p_fdls; // 'foldlevelstart'
423 EXTERN char_u *p_fdo; // 'foldopen'
424 EXTERN unsigned fdo_flags;
425 # ifdef IN_OPTION_C
426 static char *(p_fdo_values[]) = {"all", "block", "hor", "mark", "percent",
427  "quickfix", "search", "tag", "insert",
428  "undo", "jump", NULL};
429 # endif
430 # define FDO_ALL 0x001
431 # define FDO_BLOCK 0x002
432 # define FDO_HOR 0x004
433 # define FDO_MARK 0x008
434 # define FDO_PERCENT 0x010
435 # define FDO_QUICKFIX 0x020
436 # define FDO_SEARCH 0x040
437 # define FDO_TAG 0x080
438 # define FDO_INSERT 0x100
439 # define FDO_UNDO 0x200
440 # define FDO_JUMP 0x400
441 EXTERN char_u *p_fp; // 'formatprg'
442 EXTERN int p_fs; // 'fsync'
443 EXTERN int p_gd; // 'gdefault'
444 EXTERN char_u *p_pdev; // 'printdevice'
445 EXTERN char_u *p_penc; // 'printencoding'
446 EXTERN char_u *p_pexpr; // 'printexpr'
447 EXTERN char_u *p_pmfn; // 'printmbfont'
448 EXTERN char_u *p_pmcs; // 'printmbcharset'
449 EXTERN char_u *p_pfn; // 'printfont'
450 EXTERN char_u *p_popt; // 'printoptions'
451 EXTERN char_u *p_header; // 'printheader'
452 EXTERN int p_prompt; // 'prompt'
453 EXTERN char_u *p_guicursor; // 'guicursor'
454 EXTERN char_u *p_guifont; // 'guifont'
455 EXTERN char_u *p_guifontset; // 'guifontset'
456 EXTERN char_u *p_guifontwide; // 'guifontwide'
457 EXTERN char_u *p_hf; // 'helpfile'
458 EXTERN long p_hh; // 'helpheight'
459 EXTERN char_u *p_hlg; // 'helplang'
460 EXTERN int p_hid; // 'hidden'
461 EXTERN char_u *p_hl; // 'highlight'
462 EXTERN int p_hls; // 'hlsearch'
463 EXTERN long p_hi; // 'history'
464 EXTERN int p_hkmap; // 'hkmap'
465 EXTERN int p_hkmapp; // 'hkmapp'
466 EXTERN int p_arshape; // 'arabicshape'
467 EXTERN int p_icon; // 'icon'
468 EXTERN char_u *p_iconstring; // 'iconstring'
469 EXTERN int p_ic; // 'ignorecase'
470 EXTERN int p_is; // 'incsearch'
471 EXTERN char_u *p_icm; // 'inccommand'
472 EXTERN int p_im; // 'insertmode'
473 EXTERN char_u *p_isf; // 'isfname'
474 EXTERN char_u *p_isi; // 'isident'
475 EXTERN char_u *p_isp; // 'isprint'
476 EXTERN int p_js; // 'joinspaces'
477 EXTERN char_u *p_jop; // 'jumpooptions'
478 EXTERN unsigned jop_flags;
479 #ifdef IN_OPTION_C
480 static char *(p_jop_values[]) = { "stack", NULL };
481 #endif
482 #define JOP_STACK 0x01
483 EXTERN char_u *p_kp; // 'keywordprg'
484 EXTERN char_u *p_km; // 'keymodel'
485 EXTERN char_u *p_langmap; // 'langmap'
486 EXTERN int p_lnr; // 'langnoremap'
487 EXTERN int p_lrm; // 'langremap'
488 EXTERN char_u *p_lm; // 'langmenu'
489 EXTERN long p_lines; // 'lines'
490 EXTERN long p_linespace; // 'linespace'
491 EXTERN char_u *p_lispwords; // 'lispwords'
492 EXTERN long p_ls; // 'laststatus'
493 EXTERN long p_stal; // 'showtabline'
494 EXTERN char_u *p_lcs; // 'listchars'
495 
496 EXTERN int p_lz; // 'lazyredraw'
497 EXTERN int p_lpl; // 'loadplugins'
498 EXTERN int p_magic; // 'magic'
499 EXTERN char_u *p_menc; // 'makeencoding'
500 EXTERN char_u *p_mef; // 'makeef'
501 EXTERN char_u *p_mp; // 'makeprg'
502 EXTERN char_u *p_cc; // 'colorcolumn'
503 EXTERN int p_cc_cols[256]; // array for 'colorcolumn' columns
504 EXTERN long p_mat; // 'matchtime'
505 EXTERN long p_mco; // 'maxcombine'
506 EXTERN long p_mfd; // 'maxfuncdepth'
507 EXTERN long p_mmd; // 'maxmapdepth'
508 EXTERN long p_mmp; // 'maxmempattern'
509 EXTERN long p_mis; // 'menuitems'
510 EXTERN char_u *p_msm; // 'mkspellmem'
511 EXTERN long p_mle; // 'modelineexpr'
512 EXTERN long p_mls; // 'modelines'
513 EXTERN char_u *p_mouse; // 'mouse'
514 EXTERN char_u *p_mousem; // 'mousemodel'
515 EXTERN long p_mouset; // 'mousetime'
516 EXTERN int p_more; // 'more'
517 EXTERN char_u *p_opfunc; // 'operatorfunc'
518 EXTERN char_u *p_para; // 'paragraphs'
519 EXTERN int p_paste; // 'paste'
520 EXTERN char_u *p_pt; // 'pastetoggle'
521 EXTERN char_u *p_pex; // 'patchexpr'
522 EXTERN char_u *p_pm; // 'patchmode'
523 EXTERN char_u *p_path; // 'path'
524 EXTERN char_u *p_cdpath; // 'cdpath'
525 EXTERN long p_pyx; // 'pyxversion'
526 EXTERN char_u *p_rdb; // 'redrawdebug'
527 EXTERN unsigned rdb_flags;
528 # ifdef IN_OPTION_C
529 static char *(p_rdb_values[]) = {
530  "compositor",
531  "nothrottle",
532  "invalid",
533  "nodelta",
534  NULL
535 };
536 # endif
537 # define RDB_COMPOSITOR 0x001
538 # define RDB_NOTHROTTLE 0x002
539 # define RDB_INVALID 0x004
540 # define RDB_NODELTA 0x008
541 
542 EXTERN long p_rdt; // 'redrawtime'
543 EXTERN int p_remap; // 'remap'
544 EXTERN long p_re; // 'regexpengine'
545 EXTERN long p_report; // 'report'
546 EXTERN long p_pvh; // 'previewheight'
547 EXTERN int p_ari; // 'allowrevins'
548 EXTERN int p_ri; // 'revins'
549 EXTERN int p_ru; // 'ruler'
550 EXTERN char_u *p_ruf; // 'rulerformat'
551 EXTERN char_u *p_pp; // 'packpath'
552 EXTERN char_u *p_rtp; // 'runtimepath'
553 EXTERN long p_scbk; // 'scrollback'
554 EXTERN long p_sj; // 'scrolljump'
555 EXTERN long p_so; // 'scrolloff'
556 EXTERN char_u *p_sbo; // 'scrollopt'
557 EXTERN char_u *p_sections; // 'sections'
558 EXTERN int p_secure; // 'secure'
559 EXTERN char_u *p_sel; // 'selection'
560 EXTERN char_u *p_slm; // 'selectmode'
561 EXTERN char_u *p_ssop; // 'sessionoptions'
563 # ifdef IN_OPTION_C
564 // Also used for 'viewoptions'!
565 static char *(p_ssop_values[]) = {
566  "buffers", "winpos", "resize", "winsize",
567  "localoptions", "options", "help", "blank", "globals", "slash", "unix",
568  "sesdir", "curdir", "folds", "cursor", "tabpages", NULL
569 };
570 # endif
571 # define SSOP_BUFFERS 0x001
572 # define SSOP_WINPOS 0x002
573 # define SSOP_RESIZE 0x004
574 # define SSOP_WINSIZE 0x008
575 # define SSOP_LOCALOPTIONS 0x010
576 # define SSOP_OPTIONS 0x020
577 # define SSOP_HELP 0x040
578 # define SSOP_BLANK 0x080
579 # define SSOP_GLOBALS 0x100
580 # define SSOP_SLASH 0x200 // Deprecated, always set.
581 # define SSOP_UNIX 0x400 // Deprecated, always set.
582 # define SSOP_SESDIR 0x800
583 # define SSOP_CURDIR 0x1000
584 # define SSOP_FOLDS 0x2000
585 # define SSOP_CURSOR 0x4000
586 # define SSOP_TABPAGES 0x8000
587 
588 EXTERN char_u *p_sh; // 'shell'
589 EXTERN char_u *p_shcf; // 'shellcmdflag'
590 EXTERN char_u *p_sp; // 'shellpipe'
591 EXTERN char_u *p_shq; // 'shellquote'
592 EXTERN char_u *p_sxq; // 'shellxquote'
593 EXTERN char_u *p_sxe; // 'shellxescape'
594 EXTERN char_u *p_srr; // 'shellredir'
595 EXTERN int p_stmp; // 'shelltemp'
596 #ifdef BACKSLASH_IN_FILENAME
597 EXTERN int p_ssl; // 'shellslash'
598 #endif
599 EXTERN char_u *p_stl; // 'statusline'
600 EXTERN int p_sr; // 'shiftround'
601 EXTERN char_u *p_shm; // 'shortmess'
602 EXTERN char_u *p_sbr; // 'showbreak'
603 EXTERN int p_sc; // 'showcmd'
604 EXTERN int p_sft; // 'showfulltag'
605 EXTERN int p_sm; // 'showmatch'
606 EXTERN int p_smd; // 'showmode'
607 EXTERN long p_ss; // 'sidescroll'
608 EXTERN long p_siso; // 'sidescrolloff'
609 EXTERN int p_scs; // 'smartcase'
610 EXTERN int p_sta; // 'smarttab'
611 EXTERN int p_sb; // 'splitbelow'
612 EXTERN long p_tpm; // 'tabpagemax'
613 EXTERN char_u *p_tal; // 'tabline'
614 EXTERN char_u *p_sps; // 'spellsuggest'
615 EXTERN int p_spr; // 'splitright'
616 EXTERN int p_sol; // 'startofline'
617 EXTERN char_u *p_su; // 'suffixes'
618 EXTERN char_u *p_swb; // 'switchbuf'
619 EXTERN unsigned swb_flags;
620 #ifdef IN_OPTION_C
621 static char *(p_swb_values[]) =
622  { "useopen", "usetab", "split", "newtab", "vsplit", "uselast", NULL };
623 #endif
624 #define SWB_USEOPEN 0x001
625 #define SWB_USETAB 0x002
626 #define SWB_SPLIT 0x004
627 #define SWB_NEWTAB 0x008
628 #define SWB_VSPLIT 0x010
629 #define SWB_USELAST 0x020
632 EXTERN unsigned tc_flags;
633 #ifdef IN_OPTION_C
634 static char *(p_tc_values[]) =
635  { "followic", "ignore", "match", "followscs", "smart", NULL };
636 #endif
637 #define TC_FOLLOWIC 0x01
638 #define TC_IGNORE 0x02
639 #define TC_MATCH 0x04
640 #define TC_FOLLOWSCS 0x08
641 #define TC_SMART 0x10
642 EXTERN long p_tl;
650 EXTERN long p_tm;
658 EXTERN long p_ttm;
660 EXTERN long p_ul;
661 EXTERN long p_ur;
662 EXTERN long p_uc;
663 EXTERN long p_ut;
669 EXTERN unsigned vop_flags;
672 EXTERN unsigned ve_flags;
673 # ifdef IN_OPTION_C
674 static char *(p_ve_values[]) = {"block", "insert", "all", "onemore", NULL};
675 # endif
676 # define VE_BLOCK 5 // includes "all"
677 # define VE_INSERT 6 // includes "all"
678 # define VE_ALL 4
679 # define VE_ONEMORE 8
680 EXTERN long p_verbose; // 'verbose'
681 #ifdef IN_OPTION_C
682 char_u *p_vfile = (char_u *)""; // used before options are initialized
683 #else
684 extern char_u *p_vfile; // 'verbosefile'
685 #endif
686 EXTERN int p_warn; // 'warn'
687 EXTERN char_u *p_wop; // 'wildoptions'
688 EXTERN unsigned wop_flags;
689 # ifdef IN_OPTION_C
690 static char *(p_wop_values[]) = { "tagfile", "pum", NULL };
691 #endif
692 #define WOP_TAGFILE 0x01
693 #define WOP_PUM 0x02
694 EXTERN long p_window; // 'window'
695 EXTERN char_u *p_wak; // 'winaltkeys'
696 EXTERN char_u *p_wig; // 'wildignore'
697 EXTERN char_u *p_ww; // 'whichwrap'
698 EXTERN long p_wc; // 'wildchar'
699 EXTERN long p_wcm; // 'wildcharm'
700 EXTERN int p_wic; // 'wildignorecase'
701 EXTERN char_u *p_wim; // 'wildmode'
702 EXTERN int p_wmnu; // 'wildmenu'
703 EXTERN long p_wh; // 'winheight'
704 EXTERN long p_wmh; // 'winminheight'
705 EXTERN long p_wmw; // 'winminwidth'
706 EXTERN long p_wiw; // 'winwidth'
707 EXTERN int p_ws; // 'wrapscan'
708 EXTERN int p_write; // 'write'
709 EXTERN int p_wa; // 'writeany'
710 EXTERN int p_wb; // 'writebackup'
711 EXTERN long p_wd; // 'writedelay'
712 
715 
716 /*
717  * "indir" values for buffer-local opions.
718  * These need to be defined globally, so that the BV_COUNT can be used with
719  * b_p_scriptID[].
720  */
721 enum {
722  BV_AI = 0
802  , BV_COUNT // must be the last one
803 };
804 
805 /*
806  * "indir" values for window-local options.
807  * These need to be defined globally, so that the WV_COUNT can be used in the
808  * window structure.
809  */
810 enum {
851  , WV_COUNT // must be the last one
852 };
853 
854 // Value for b_p_ul indicating the global value must be used.
855 #define NO_LOCAL_UNDOLEVEL -123456
856 
857 #define SB_MAX 100000 // Maximum 'scrollback' value.
858 
860 typedef struct {
862  uint64_t channel_id;
863 } LastSet;
864 
865 #endif // NVIM_OPTION_DEFS_H
EXTERN int p_ari
Definition: option_defs.h:547
EXTERN char_u * p_shada
&#39;shada&#39;
Definition: option_defs.h:665
EXTERN int p_icon
Definition: option_defs.h:467
Definition: option_defs.h:841
&#39;filetype&#39;.
Definition: option_defs.h:243
EXTERN char_u * p_sxe
Definition: option_defs.h:593
Definition: option_defs.h:815
EXTERN char_u * p_wim
Definition: option_defs.h:701
Definition: option_defs.h:758
Trunctate file messages.
Definition: option_defs.h:167
EXTERN char_u * p_ead
Definition: option_defs.h:408
Window is showing the preview buf.
Definition: option_defs.h:245
EXTERN char_u * p_inc
Definition: option_defs.h:389
EXTERN long p_wmw
Definition: option_defs.h:705
Search sats: &#39;[1/10]&#39;.
Definition: option_defs.h:177
EXTERN int p_deco
Definition: option_defs.h:357
EXTERN long p_cspc
Definition: option_defs.h:385
EXTERN char_u * p_gp
Definition: option_defs.h:415
EXTERN char_u * p_dir
Definition: option_defs.h:394
Short recording message.
Definition: option_defs.h:175
EXTERN long p_mat
Definition: option_defs.h:504
EXTERN long p_wcm
Definition: option_defs.h:699
Definition: option_defs.h:840
EXTERN unsigned cmp_flags
Definition: option_defs.h:350
EXTERN int p_hkmap
Definition: option_defs.h:464
EXTERN long p_rdt
Definition: option_defs.h:542
EXTERN long p_aleph
Definition: option_defs.h:293
EXTERN int p_cst
Definition: option_defs.h:383
Trunctate all messages.
Definition: option_defs.h:168
EXTERN char_u * p_srr
Definition: option_defs.h:594
EXTERN char_u * p_ei
Definition: option_defs.h:416
Definition: option_defs.h:836
Tab page label nr.
Definition: option_defs.h:259
EXTERN char_u * p_swb
Definition: option_defs.h:618
EXTERN char_u * p_bsk
Definition: option_defs.h:347
Readonly.
Definition: option_defs.h:157
Column og cursor.
Definition: option_defs.h:228
EXTERN char_u * p_sxq
Definition: option_defs.h:592
Definition: option_defs.h:833
Definition: option_defs.h:842
EXTERN long p_mco
Definition: option_defs.h:505
EXTERN char_u * p_cc
Definition: option_defs.h:502
EXTERN long p_hh
Definition: option_defs.h:458
Definition: option_defs.h:763
EXTERN char_u * p_wig
Definition: option_defs.h:696
Definition: option_defs.h:835
EXTERN char_u * p_bo
Definition: option_defs.h:315
Definition: option_defs.h:748
Byte value of character.
Definition: option_defs.h:237
Definition: option_defs.h:823
EXTERN char_u * p_hlg
Definition: option_defs.h:459
Definition: option_defs.h:740
EXTERN long p_siso
Definition: option_defs.h:608
EXTERN unsigned dy_flags
Definition: option_defs.h:396
EXTERN char_u * p_pm
Definition: option_defs.h:522
EXTERN char_u * p_fencs
Definition: option_defs.h:418
Definition: option_defs.h:780
EXTERN char_u * p_vop
&#39;viewoptions&#39;
Definition: option_defs.h:668
EXTERN int p_sr
Definition: option_defs.h:600
Definition: option_defs.h:796
EXTERN char_u * p_menc
Definition: option_defs.h:499
Definition: option_defs.h:845
EXTERN char_u * p_cot
Definition: option_defs.h:373
EXTERN long p_pw
Definition: option_defs.h:376
EXTERN int p_emoji
Definition: option_defs.h:407
EXTERN int p_warn
Definition: option_defs.h:686
EXTERN int p_awa
Definition: option_defs.h:298
EXTERN long p_ur
&#39;undoreload&#39;
Definition: option_defs.h:661
EXTERN int p_ws
Definition: option_defs.h:707
Definition: option_defs.h:722
EXTERN int p_bk
Definition: option_defs.h:301
Definition: option_defs.h:757
EXTERN int p_dg
Definition: option_defs.h:393
Definition: option_defs.h:744
Definition: option_defs.h:747
Definition: option_defs.h:773
EXTERN char_u * p_tsr
&#39;thesaurus&#39;
Definition: option_defs.h:655
EXTERN int p_remap
Definition: option_defs.h:543
EXTERN int p_wb
Definition: option_defs.h:710
Definition: option_defs.h:828
EXTERN int p_wmnu
Definition: option_defs.h:702
No file info messages.
Definition: option_defs.h:176
Definition: option_defs.h:743
Intro messages.
Definition: option_defs.h:173
Definition: option_defs.h:826
Definition: option_defs.h:236
Truncation mark if line is too long.
Definition: option_defs.h:256
Highlight name.
Definition: option_defs.h:258
EXTERN int p_exrc
Definition: option_defs.h:417
Definition: option_defs.h:246
EXTERN char_u * p_lispwords
Definition: option_defs.h:491
EXTERN char_u * p_dict
Definition: option_defs.h:392
Definition: option_defs.h:770
EXTERN char_u * p_para
Definition: option_defs.h:518
EXTERN int p_tr
&#39;tagrelative&#39;
Definition: option_defs.h:643
EXTERN char_u * p_cdpath
Definition: option_defs.h:524
Definition: option_defs.h:735
EXTERN int p_spr
Definition: option_defs.h:615
EXTERN char_u * p_isi
Definition: option_defs.h:474
EXTERN unsigned jop_flags
Definition: option_defs.h:478
Definition: option_defs.h:778
EXTERN int p_wic
Definition: option_defs.h:700
EXTERN char_u * p_ccv
Definition: option_defs.h:358
Definition: option_defs.h:791
No search hit bottom messages.
Definition: option_defs.h:171
Definition: option_defs.h:764
EXTERN char_u * p_isp
Definition: option_defs.h:475
Definition: option_defs.h:767
EXTERN char_u * p_bdir
Definition: option_defs.h:313
EXTERN long p_wh
Definition: option_defs.h:703
EXTERN int p_more
Definition: option_defs.h:516
Definition: option_defs.h:248
Definition: option_defs.h:742
EXTERN char_u * p_mousem
Definition: option_defs.h:514
EXTERN long p_ph
Definition: option_defs.h:375
EXTERN char_u * p_mp
Definition: option_defs.h:501
EXTERN int p_lnr
Definition: option_defs.h:486
EXTERN int p_secure
Definition: option_defs.h:558
EXTERN char_u * p_kp
Definition: option_defs.h:483
EXTERN int p_sta
Definition: option_defs.h:610
EXTERN int p_aw
Definition: option_defs.h:297
Definition: option_defs.h:729
Definition: option_defs.h:779
Tab page close nr.
Definition: option_defs.h:260
EXTERN int p_write
Definition: option_defs.h:708
EXTERN long p_ut
&#39;updatetime&#39;
Definition: option_defs.h:663
EXTERN char_u * p_csqf
Definition: option_defs.h:380
Definition: option_defs.h:812
EXTERN char_u * p_debug
Definition: option_defs.h:387
Definition: option_defs.h:781
return NULL
Definition: eval.c:12999
EXTERN long p_re
Definition: option_defs.h:544
Definition: option_defs.h:240
EXTERN char_u * p_fcs
&#39;fillchar&#39;
Definition: option_defs.h:664
EXTERN int p_csverbose
Definition: option_defs.h:386
Definition: option_defs.h:726
Separation between alignment sections.
Definition: option_defs.h:255
Definition: option_defs.h:745
EXTERN char_u * p_fp
Definition: option_defs.h:441
Definition: option_defs.h:759
EXTERN unsigned wop_flags
Definition: option_defs.h:688
Definition: option_defs.h:813
EXTERN long p_ttm
&#39;ttimeoutlen&#39;
Definition: option_defs.h:658
Definition: option_defs.h:734
Definition: option_defs.h:811
Full path of file in buffer.
Definition: option_defs.h:226
EXTERN long p_lines
Definition: option_defs.h:489
EXTERN int p_ed
Definition: option_defs.h:406
EXTERN char_u * p_ssop
Definition: option_defs.h:561
Definition: option_defs.h:814
EXTERN int p_gd
Definition: option_defs.h:443
Readonly flag.
Definition: option_defs.h:239
EXTERN char_u * p_bex
Definition: option_defs.h:314
Definition: option_defs.h:728
EXTERN int p_cc_cols[256]
Definition: option_defs.h:503
EXTERN char_u * p_ww
Definition: option_defs.h:697
EXTERN char_u * p_fcl
Definition: option_defs.h:421
EXTERN char_u * p_def
Definition: option_defs.h:388
EXTERN char_u * p_pex
Definition: option_defs.h:521
EXTERN char_u * p_hl
Definition: option_defs.h:461
EXTERN int p_timeout
&#39;timeout&#39;
Definition: option_defs.h:649
EXTERN long p_report
Definition: option_defs.h:545
EXTERN char breakat_flags[256]
Definition: option_defs.h:316
EXTERN char_u * p_tal
Definition: option_defs.h:613
Definition: option_defs.h:844
EXTERN long p_scbk
Definition: option_defs.h:553
EXTERN char_u * p_guifontset
Definition: option_defs.h:455
EXTERN unsigned int bkc_flags
flags from &#39;backupcopy&#39;
Definition: option_defs.h:303
Percentage as TOP BOT ALL or NN%.
Definition: option_defs.h:251
EXTERN char_u * p_mef
Definition: option_defs.h:500
EXTERN int p_cp
Definition: option_defs.h:372
Definition: option_defs.h:724
Definition: option_defs.h:730
sctx_T script_ctx
Definition: option_defs.h:861
EXTERN long p_wc
Definition: option_defs.h:698
Definition: option_defs.h:771
EXTERN long p_tl
&#39;taglength&#39;
Definition: option_defs.h:642
EXTERN int p_fs
Definition: option_defs.h:442
EXTERN long p_verbose
Definition: option_defs.h:680
Last part (tail) of file path.
Definition: option_defs.h:227
EXTERN int p_tgc
&#39;termguicolors&#39;
Definition: option_defs.h:656
Overwrite file messages.
Definition: option_defs.h:169
Definition: option_defs.h:843
EXTERN char_u * p_ve
&#39;virtualedit&#39;
Definition: option_defs.h:671
Argument list status as (x of y).
Definition: option_defs.h:252
Completion menu messages.
Definition: option_defs.h:174
Definition: option_defs.h:821
EXTERN char_u * p_guicursor
Definition: option_defs.h:453
EXTERN long p_csto
Definition: option_defs.h:384
EXTERN int p_vb
&#39;visualbell&#39;
Definition: option_defs.h:670
#define EXTERN
Definition: macros.h:7
EXTERN char_u * p_pfn
Definition: option_defs.h:449
Definition: option_defs.h:794
EXTERN int p_ar
Definition: option_defs.h:296
EXTERN char_u * p_lcs
Definition: option_defs.h:494
EXTERN char_u * p_bg
Definition: option_defs.h:300
Definition: option_defs.h:797
EXTERN long p_linespace
Definition: option_defs.h:490
EXTERN char_u * p_msm
Definition: option_defs.h:510
Definition: option_defs.h:242
EXTERN long p_pvh
Definition: option_defs.h:546
EXTERN char * p_shadafile
&#39;shadafile&#39;
Definition: option_defs.h:666
EXTERN int p_tbidi
&#39;termbidi&#39;
Definition: option_defs.h:646
Definition: option_defs.h:766
"[New]" instead of "[New file]".
Definition: option_defs.h:163
EXTERN int p_sm
Definition: option_defs.h:605
Definition: option_defs.h:782
EXTERN char_u * p_ffs
Definition: option_defs.h:419
Page number (when printing).
Definition: option_defs.h:253
EXTERN char_u * p_cedit
Definition: option_defs.h:359
EXTERN long p_window
Definition: option_defs.h:694
EXTERN unsigned cb_flags
Definition: option_defs.h:361
Definition: option_defs.h:787
EXTERN long p_pb
Definition: option_defs.h:374
Definition: option_defs.h:837
Quickfix window description.
Definition: option_defs.h:249
EXTERN char_u * p_opfunc
Definition: option_defs.h:517
Definition: option_defs.h:752
Definition: option_defs.h:733
EXTERN char_u * p_langmap
Definition: option_defs.h:485
EXTERN char_u * p_dip
Definition: option_defs.h:390
EXTERN char_u * p_popt
Definition: option_defs.h:450
Definition: option_defs.h:775
Definition: option_defs.h:816
EXTERN char_u * p_sbr
Definition: option_defs.h:602
EXTERN char_u * p_sp
Definition: option_defs.h:590
EXTERN char_u * p_udir
&#39;undodir&#39;
Definition: option_defs.h:659
Definition: option_defs.h:832
Number of lines in buffer.
Definition: option_defs.h:232
Definition: option_defs.h:786
Definition: option_defs.h:792
Definition: option_defs.h:847
EXTERN long p_pyx
Definition: option_defs.h:525
Definition: option_defs.h:238
EXTERN int p_is
Definition: option_defs.h:470
EXTERN char_u * p_stl
Definition: option_defs.h:599
EXTERN int p_sc
Definition: option_defs.h:603
Definition: option_defs.h:736
EXTERN char_u * p_rtp
Definition: option_defs.h:552
EXTERN long p_ss
Definition: option_defs.h:607
Definition: option_defs.h:802
Definition: option_defs.h:741
Definition: option_defs.h:818
EXTERN unsigned tc_flags
flags from &#39;tagcase&#39;
Definition: option_defs.h:632
Definition: option_defs.h:789
EXTERN int p_hkmapp
Definition: option_defs.h:465
Definition: option_defs.h:851
EXTERN char_u * p_breakat
Definition: option_defs.h:348
EXTERN long p_wiw
Definition: option_defs.h:706
EXTERN char_u * p_titlestring
&#39;titlestring&#39;
Definition: option_defs.h:654
Offset of character under cursor.
Definition: option_defs.h:235
EXTERN long p_mouset
Definition: option_defs.h:515
EXTERN int p_sb
Definition: option_defs.h:611
EXTERN long p_cwh
Definition: option_defs.h:368
EXTERN char_u * p_wak
Definition: option_defs.h:695
Don&#39;t use "written" at all.
Definition: option_defs.h:166
EXTERN int p_csre
Definition: option_defs.h:379
EXTERN unsigned ssop_flags
Definition: option_defs.h:562
EXTERN char_u * p_guifont
Definition: option_defs.h:454
EXTERN char_u * p_lm
Definition: option_defs.h:488
Definition: option_defs.h:830
EXTERN int p_acd
Definition: option_defs.h:294
Definition: option_defs.h:801
EXTERN char_u * p_km
Definition: option_defs.h:484
EXTERN char_u * p_vdir
&#39;viewdir&#39;
Definition: option_defs.h:667
Modified.
Definition: option_defs.h:158
EXTERN int p_hid
Definition: option_defs.h:460
EXTERN char_u * p_shm
Definition: option_defs.h:601
EXTERN char_u * p_ep
Definition: option_defs.h:410
Use abbreviations from SHM_ALL_ABBREVIATIONS.
Definition: option_defs.h:165
Stores an identifier of a script or channel that last set an option.
Definition: option_defs.h:860
Tx instead of textmode.
Definition: option_defs.h:161
EXTERN char_u * p_mouse
Definition: option_defs.h:513
EXTERN char_u * p_isf
Definition: option_defs.h:473
EXTERN int p_ea
Definition: option_defs.h:409
(file 1 of 2)
Definition: option_defs.h:159
Start of expression to substitute.
Definition: option_defs.h:254
EXTERN long p_fdls
Definition: option_defs.h:422
Definition: option_defs.h:755
EXTERN char_u * p_ambw
Definition: option_defs.h:295
Definition: option_defs.h:739
EXTERN long p_mmd
Definition: option_defs.h:507
Path of file in buffer.
Definition: option_defs.h:225
Definition: option_defs.h:783
EXTERN long p_titlelen
&#39;titlelen&#39;
Definition: option_defs.h:652
EXTERN long p_ul
&#39;undolevels&#39;
Definition: option_defs.h:660
EXTERN long p_mmp
Definition: option_defs.h:508
EXTERN int p_wa
Definition: option_defs.h:709
EXTERN char_u * p_hf
Definition: option_defs.h:457
EXTERN long p_tm
&#39;timeoutlen&#39;
Definition: option_defs.h:650
Definition: option_defs.h:725
EXTERN char_u * p_pmfn
Definition: option_defs.h:447
EXTERN char_u * p_slm
Definition: option_defs.h:560
Click region start.
Definition: option_defs.h:261
EXTERN long p_wd
Definition: option_defs.h:711
Definition: option_defs.h:824
Definition: option_defs.h:774
Definition: option_defs.h:817
Definition: option_defs.h:838
uint64_t channel_id
script context where the option was last set
Definition: option_defs.h:862
EXTERN char_u * p_dex
Definition: option_defs.h:391
EXTERN int p_force_off
options that cannot be turned on.
Definition: option_defs.h:714
EXTERN unsigned vop_flags
uses SSOP_ flags
Definition: option_defs.h:669
Definition: option_defs.h:769
EXTERN char_u * p_cpo
Definition: option_defs.h:377
EXTERN char_u * p_cb
Definition: option_defs.h:360
EXTERN int p_scs
Definition: option_defs.h:609
EXTERN char_u * p_gefm
Definition: option_defs.h:414
Definition: option_defs.h:795
EXTERN char_u * p_jop
Definition: option_defs.h:477
Definition: option_defs.h:777
EXTERN long p_ch
Definition: option_defs.h:369
Definition: option_defs.h:839
Definition: option_defs.h:772
EXTERN char_u * p_titleold
&#39;titleold&#39;
Definition: option_defs.h:653
Definition: option_defs.h:776
Definition: option_defs.h:732
EXTERN char_u * p_pp
Definition: option_defs.h:551
EXTERN char_u * p_tags
&#39;tags&#39;
Definition: option_defs.h:644
Definition: option_defs.h:731
EXTERN long p_sj
Definition: option_defs.h:554
EXTERN int p_eb
Definition: option_defs.h:411
EXTERN char_u * p_ef
Definition: option_defs.h:412
EXTERN long p_so
Definition: option_defs.h:555
Definition: option_defs.h:756
EXTERN unsigned rdb_flags
Definition: option_defs.h:527
EXTERN char_u * p_shcf
Definition: option_defs.h:589
Definition: option_defs.h:788
EXTERN char_u * p_iconstring
Definition: option_defs.h:468
Definition: option_defs.h:831
EXTERN char_u * p_shq
Definition: option_defs.h:591
Definition: option_defs.h:785
EXTERN long p_columns
Definition: option_defs.h:370
EXTERN char_u * p_ruf
Definition: option_defs.h:550
EXTERN int p_tgst
&#39;tagstack&#39;
Definition: option_defs.h:645
EXTERN long p_uc
&#39;updatecount&#39;
Definition: option_defs.h:662
EXTERN long p_hi
Definition: option_defs.h:463
Current buffer number.
Definition: option_defs.h:233
Virtual column.
Definition: option_defs.h:229
Definition: option_defs.h:727
EXTERN long p_mfd
Definition: option_defs.h:506
Definition: option_defs.h:829
EXTERN int p_prompt
Definition: option_defs.h:452
EXTERN int p_confirm
Definition: option_defs.h:371
EXTERN int p_hls
Definition: option_defs.h:462
Definition: option_defs.h:762
Definition: option_defs.h:746
Overwrite more messages.
Definition: option_defs.h:170
EXTERN int p_terse
&#39;terse&#39;
Definition: option_defs.h:647
EXTERN char_u * p_header
Definition: option_defs.h:451
EXTERN long p_stal
Definition: option_defs.h:493
EXTERN char_u * p_guifontwide
Definition: option_defs.h:456
EXTERN int p_lz
Definition: option_defs.h:496
Definition: option_defs.h:825
Definition: option_defs.h:738
unsigned char char_u
Definition: types.h:11
Definition: option_defs.h:750
EXTERN int p_magic
Definition: option_defs.h:498
EXTERN char_u * p_efm
Definition: option_defs.h:413
EXTERN char_u * p_sel
Definition: option_defs.h:559
EXTERN char_u * p_dy
Definition: option_defs.h:395
Definition: option_defs.h:834
EXTERN int p_arshape
Definition: option_defs.h:466
EXTERN int p_ic
Definition: option_defs.h:469
Definition: option_defs.h:754
Definition: option_defs.h:760
Definition: option_defs.h:749
EXTERN long p_wmh
Definition: option_defs.h:704
EXTERN char_u * p_bs
Definition: option_defs.h:299
EXTERN int p_tbs
&#39;tagbsearch&#39;
Definition: option_defs.h:630
Definition: option_defs.h:850
Definition: option_defs.h:798
EXTERN char_u * p_sh
Definition: option_defs.h:588
EXTERN char_u * p_wop
Definition: option_defs.h:687
EXTERN char_u * p_rdb
Definition: option_defs.h:526
No ATTENTION messages.
Definition: option_defs.h:172
EXTERN long p_mls
Definition: option_defs.h:512
Definition: option_defs.h:819
Definition: option_defs.h:849
Definition: option_defs.h:827
EXTERN char_u * p_cmp
Definition: option_defs.h:349
EXTERN int p_fic
Definition: option_defs.h:420
EXTERN char_u * p_csprg
Definition: option_defs.h:378
Definition: option_defs.h:737
EXTERN long p_mis
Definition: option_defs.h:509
EXTERN int p_force_on
options that cannot be turned off.
Definition: option_defs.h:713
Line number of cursor.
Definition: option_defs.h:231
EXTERN int p_sol
Definition: option_defs.h:616
Definition: option_defs.h:790
EXTERN char_u * p_fdo
Definition: option_defs.h:423
EXTERN unsigned ve_flags
Definition: option_defs.h:672
Definition: option_defs.h:848
&#39;keymap&#39; when active.
Definition: option_defs.h:234
EXTERN long p_ls
Definition: option_defs.h:492
EXTERN int p_sft
Definition: option_defs.h:604
Definition: option_defs.h:244
Definition: option_defs.h:784
Last line incomplete.
Definition: option_defs.h:160
EXTERN char_u * p_sbo
Definition: option_defs.h:556
Definition: option_defs.h:751
EXTERN char_u * p_su
Definition: option_defs.h:617
Modified flag.
Definition: option_defs.h:247
EXTERN int p_smd
Definition: option_defs.h:606
Definition: option_defs.h:799
Definition: option_defs.h:723
EXTERN int p_to
&#39;tildeop&#39;
Definition: option_defs.h:648
EXTERN char_u * p_pdev
Definition: option_defs.h:444
EXTERN long p_tpm
Definition: option_defs.h:612
Definition: typval.h:255
Definition: option_defs.h:753
EXTERN int p_paste
Definition: option_defs.h:519
Window is showing a help file.
Definition: option_defs.h:241
Percentage through file.
Definition: option_defs.h:250
EXTERN char_u * p_pt
Definition: option_defs.h:520
EXTERN char_u * p_sections
Definition: option_defs.h:557
Definition: option_defs.h:793
EXTERN unsigned fdo_flags
Definition: option_defs.h:424
char_u * p_vfile
EXTERN char_u * p_path
Definition: option_defs.h:523
EXTERN char_u * p_enc
Definition: option_defs.h:356
"L" instead of "lines".
Definition: option_defs.h:162
EXTERN char_u * p_penc
Definition: option_defs.h:445
EXTERN char_u * p_tc
&#39;tagcase&#39;
Definition: option_defs.h:631
Definition: option_defs.h:846
Definition: option_defs.h:768
EXTERN long p_mle
Definition: option_defs.h:511
EXTERN char_u * p_sps
Definition: option_defs.h:614
"[w]" instead of "written".
Definition: option_defs.h:164
Highlight from (User)1..9 or 0.
Definition: option_defs.h:257
Definition: option_defs.h:800
EXTERN int p_lpl
Definition: option_defs.h:497
EXTERN int p_ttimeout
&#39;ttimeout&#39;
Definition: option_defs.h:657
EXTERN int p_ri
Definition: option_defs.h:548
EXTERN int p_js
Definition: option_defs.h:476
EXTERN char_u * p_pmcs
Definition: option_defs.h:448
EXTERN unsigned bo_flags
Definition: option_defs.h:317
Definition: option_defs.h:765
EXTERN char_u * p_pexpr
Definition: option_defs.h:446
Definition: option_defs.h:820
EXTERN char_u * p_icm
Definition: option_defs.h:471
EXTERN char_u * p_bkc
Definition: option_defs.h:302
EXTERN unsigned swb_flags
Definition: option_defs.h:619
EXTERN int p_stmp
Definition: option_defs.h:595
EXTERN int p_title
&#39;title&#39;
Definition: option_defs.h:651
EXTERN int p_lrm
Definition: option_defs.h:487
Definition: option_defs.h:822
EXTERN int p_im
Definition: option_defs.h:472
Definition: option_defs.h:230
EXTERN int p_ru
Definition: option_defs.h:549
Definition: option_defs.h:761