annotate src/optiondefs.h @ 32248:8e2ecfebd136 v9.0.1455

patch 9.0.1455: C++ 20 modules are not recognized Commit: https://github.com/vim/vim/commit/732d69e1918b28ad0fe16eb9bc5a776c7958122b Author: Ben Jackson <puremourning@gmail.com> Date: Sat Apr 15 18:17:17 2023 +0100 patch 9.0.1455: C++ 20 modules are not recognized Problem: C++ 20 modules are not recognized. Solution: Add patterns to recognize C++ 20 modules as "cpp". (Ben Jackson, closes #12261)
author Bram Moolenaar <Bram@vim.org>
date Sat, 15 Apr 2023 19:30:03 +0200
parents 059e89bf9316
children 1f3bcb7f3bd0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 /* vi:set ts=8 sts=4 sw=4 noet:
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2 *
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3 * VIM - Vi IMproved by Bram Moolenaar
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
4 *
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5 * Do ":help uganda" in Vim to read copying and usage conditions.
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
6 * Do ":help credits" in Vim to see a list of people who contributed.
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7 */
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 /*
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10 * optiondefs.h: option definitions
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11 */
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
13 // The options that are local to a window or buffer have "indir" set to one of
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
14 // these values. Special values:
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
15 // PV_NONE: global option.
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
16 // PV_WIN is added: window-local option
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
17 // PV_BUF is added: buffer-local option
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
18 // PV_BOTH is added: global option which also has a local value.
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
19 #define PV_BOTH 0x1000
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
20 #define PV_WIN 0x2000
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
21 #define PV_BUF 0x4000
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
22 #define PV_MASK 0x0fff
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
23 #define OPT_WIN(x) (idopt_T)(PV_WIN + (int)(x))
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
24 #define OPT_BUF(x) (idopt_T)(PV_BUF + (int)(x))
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
25 #define OPT_BOTH(x) (idopt_T)(PV_BOTH + (int)(x))
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
26
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
27 // Definition of the PV_ values for buffer-local options.
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
28 // The BV_ values are defined in option.h.
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
29 #define PV_AI OPT_BUF(BV_AI)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
30 #define PV_AR OPT_BOTH(OPT_BUF(BV_AR))
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
31 #define PV_BKC OPT_BOTH(OPT_BUF(BV_BKC))
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
32 #define PV_BH OPT_BUF(BV_BH)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
33 #define PV_BT OPT_BUF(BV_BT)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
34 #ifdef FEAT_QUICKFIX
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
35 # define PV_EFM OPT_BOTH(OPT_BUF(BV_EFM))
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
36 # define PV_GP OPT_BOTH(OPT_BUF(BV_GP))
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
37 # define PV_MP OPT_BOTH(OPT_BUF(BV_MP))
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
38 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
39 #define PV_BIN OPT_BUF(BV_BIN)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
40 #define PV_BL OPT_BUF(BV_BL)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
41 #define PV_BOMB OPT_BUF(BV_BOMB)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
42 #define PV_CI OPT_BUF(BV_CI)
28942
6cdf55afaae9 patch 8.2.4993: smart/C/lisp indenting is optional
Bram Moolenaar <Bram@vim.org>
parents: 28399
diff changeset
43 #define PV_CIN OPT_BUF(BV_CIN)
30853
40df8a6515f6 patch 9.0.0761: cannot use 'indentexpr' for Lisp indenting
Bram Moolenaar <Bram@vim.org>
parents: 30825
diff changeset
44 #define PV_CINK OPT_BUF(BV_CINK)
40df8a6515f6 patch 9.0.0761: cannot use 'indentexpr' for Lisp indenting
Bram Moolenaar <Bram@vim.org>
parents: 30825
diff changeset
45 #define PV_CINO OPT_BUF(BV_CINO)
28942
6cdf55afaae9 patch 8.2.4993: smart/C/lisp indenting is optional
Bram Moolenaar <Bram@vim.org>
parents: 28399
diff changeset
46 #define PV_CINSD OPT_BUF(BV_CINSD)
30853
40df8a6515f6 patch 9.0.0761: cannot use 'indentexpr' for Lisp indenting
Bram Moolenaar <Bram@vim.org>
parents: 30825
diff changeset
47 #define PV_CINW OPT_BUF(BV_CINW)
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
48 #define PV_CM OPT_BOTH(OPT_BUF(BV_CM))
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
49 #ifdef FEAT_FOLDING
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
50 # define PV_CMS OPT_BUF(BV_CMS)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
51 #endif
18203
e0ec4cd7a865 patch 8.1.2096: too many #ifdefs
Bram Moolenaar <Bram@vim.org>
parents: 18100
diff changeset
52 #define PV_COM OPT_BUF(BV_COM)
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
53 #define PV_CPT OPT_BUF(BV_CPT)
30853
40df8a6515f6 patch 9.0.0761: cannot use 'indentexpr' for Lisp indenting
Bram Moolenaar <Bram@vim.org>
parents: 30825
diff changeset
54 #define PV_DICT OPT_BOTH(OPT_BUF(BV_DICT))
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
55 #define PV_TSR OPT_BOTH(OPT_BUF(BV_TSR))
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
56 #define PV_CSL OPT_BUF(BV_CSL)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
57 #ifdef FEAT_COMPL_FUNC
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
58 # define PV_CFU OPT_BUF(BV_CFU)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
59 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
60 #ifdef FEAT_FIND_ID
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
61 # define PV_DEF OPT_BOTH(OPT_BUF(BV_DEF))
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
62 # define PV_INC OPT_BOTH(OPT_BUF(BV_INC))
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
63 #endif
30962
3a01529f17f5 patch 9.0.0817
Bram Moolenaar <Bram@vim.org>
parents: 30853
diff changeset
64 #define PV_EOF OPT_BUF(BV_EOF)
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
65 #define PV_EOL OPT_BUF(BV_EOL)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
66 #define PV_FIXEOL OPT_BUF(BV_FIXEOL)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
67 #define PV_EP OPT_BOTH(OPT_BUF(BV_EP))
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
68 #define PV_ET OPT_BUF(BV_ET)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
69 #define PV_FENC OPT_BUF(BV_FENC)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
70 #if defined(FEAT_BEVAL) && defined(FEAT_EVAL)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
71 # define PV_BEXPR OPT_BOTH(OPT_BUF(BV_BEXPR))
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
72 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
73 #define PV_FP OPT_BOTH(OPT_BUF(BV_FP))
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
74 #ifdef FEAT_EVAL
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
75 # define PV_FEX OPT_BUF(BV_FEX)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
76 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
77 #define PV_FF OPT_BUF(BV_FF)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
78 #define PV_FLP OPT_BUF(BV_FLP)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
79 #define PV_FO OPT_BUF(BV_FO)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
80 #define PV_FT OPT_BUF(BV_FT)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
81 #define PV_IMI OPT_BUF(BV_IMI)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
82 #define PV_IMS OPT_BUF(BV_IMS)
28942
6cdf55afaae9 patch 8.2.4993: smart/C/lisp indenting is optional
Bram Moolenaar <Bram@vim.org>
parents: 28399
diff changeset
83 #if defined(FEAT_EVAL)
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
84 # define PV_INDE OPT_BUF(BV_INDE)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
85 # define PV_INDK OPT_BUF(BV_INDK)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
86 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
87 #if defined(FEAT_FIND_ID) && defined(FEAT_EVAL)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
88 # define PV_INEX OPT_BUF(BV_INEX)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
89 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
90 #define PV_INF OPT_BUF(BV_INF)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
91 #define PV_ISK OPT_BUF(BV_ISK)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
92 #ifdef FEAT_CRYPT
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
93 # define PV_KEY OPT_BUF(BV_KEY)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
94 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
95 #ifdef FEAT_KEYMAP
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
96 # define PV_KMAP OPT_BUF(BV_KMAP)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
97 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
98 #define PV_KP OPT_BOTH(OPT_BUF(BV_KP))
30853
40df8a6515f6 patch 9.0.0761: cannot use 'indentexpr' for Lisp indenting
Bram Moolenaar <Bram@vim.org>
parents: 30825
diff changeset
99 #define PV_LISP OPT_BUF(BV_LISP)
40df8a6515f6 patch 9.0.0761: cannot use 'indentexpr' for Lisp indenting
Bram Moolenaar <Bram@vim.org>
parents: 30825
diff changeset
100 #define PV_LOP OPT_BUF(BV_LOP)
28942
6cdf55afaae9 patch 8.2.4993: smart/C/lisp indenting is optional
Bram Moolenaar <Bram@vim.org>
parents: 28399
diff changeset
101 #define PV_LW OPT_BOTH(OPT_BUF(BV_LW))
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
102 #define PV_MENC OPT_BOTH(OPT_BUF(BV_MENC))
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
103 #define PV_MA OPT_BUF(BV_MA)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
104 #define PV_ML OPT_BUF(BV_ML)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
105 #define PV_MOD OPT_BUF(BV_MOD)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
106 #define PV_MPS OPT_BUF(BV_MPS)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
107 #define PV_NF OPT_BUF(BV_NF)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
108 #ifdef FEAT_COMPL_FUNC
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
109 # define PV_OFU OPT_BUF(BV_OFU)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
110 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
111 #define PV_PATH OPT_BOTH(OPT_BUF(BV_PATH))
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
112 #define PV_PI OPT_BUF(BV_PI)
29765
bc6cf208b1b4 patch 9.0.0222: no good reason why text objects are only in larger builds
Bram Moolenaar <Bram@vim.org>
parents: 29387
diff changeset
113 #define PV_QE OPT_BUF(BV_QE)
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
114 #define PV_RO OPT_BUF(BV_RO)
28942
6cdf55afaae9 patch 8.2.4993: smart/C/lisp indenting is optional
Bram Moolenaar <Bram@vim.org>
parents: 28399
diff changeset
115 #define PV_SI OPT_BUF(BV_SI)
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
116 #define PV_SN OPT_BUF(BV_SN)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
117 #ifdef FEAT_SYN_HL
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
118 # define PV_SMC OPT_BUF(BV_SMC)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
119 # define PV_SYN OPT_BUF(BV_SYN)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
120 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
121 #ifdef FEAT_SPELL
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
122 # define PV_SPC OPT_BUF(BV_SPC)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
123 # define PV_SPF OPT_BUF(BV_SPF)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
124 # define PV_SPL OPT_BUF(BV_SPL)
20802
ed00f0fbdaef patch 8.2.0953: spell checking doesn't work for CamelCased words
Bram Moolenaar <Bram@vim.org>
parents: 20631
diff changeset
125 # define PV_SPO OPT_BUF(BV_SPO)
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
126 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
127 #define PV_STS OPT_BUF(BV_STS)
29853
31c598083364 patch 9.0.0265: no good reason why the "gf" command isn't in the tiny version
Bram Moolenaar <Bram@vim.org>
parents: 29765
diff changeset
128 #define PV_SUA OPT_BUF(BV_SUA)
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
129 #define PV_SW OPT_BUF(BV_SW)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
130 #define PV_SWF OPT_BUF(BV_SWF)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
131 #ifdef FEAT_EVAL
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
132 # define PV_TFU OPT_BUF(BV_TFU)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
133 #endif
25974
416237f1de22 patch 8.2.3520: cannot define a function for thesaurus completion
Bram Moolenaar <Bram@vim.org>
parents: 25380
diff changeset
134 #ifdef FEAT_COMPL_FUNC
25990
ac330e2fecc4 patch 8.2.3528: 'thesaurus' and 'thesaurusfunc' do not have the same scope
Bram Moolenaar <Bram@vim.org>
parents: 25982
diff changeset
135 # define PV_TSRFU OPT_BOTH(OPT_BUF(BV_TSRFU))
25974
416237f1de22 patch 8.2.3520: cannot define a function for thesaurus completion
Bram Moolenaar <Bram@vim.org>
parents: 25380
diff changeset
136 #endif
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
137 #define PV_TAGS OPT_BOTH(OPT_BUF(BV_TAGS))
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
138 #define PV_TC OPT_BOTH(OPT_BUF(BV_TC))
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
139 #define PV_TS OPT_BUF(BV_TS)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
140 #define PV_TW OPT_BUF(BV_TW)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
141 #define PV_TX OPT_BUF(BV_TX)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
142 #ifdef FEAT_PERSISTENT_UNDO
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
143 # define PV_UDF OPT_BUF(BV_UDF)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
144 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
145 #define PV_WM OPT_BUF(BV_WM)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
146 #ifdef FEAT_VARTABS
30853
40df8a6515f6 patch 9.0.0761: cannot use 'indentexpr' for Lisp indenting
Bram Moolenaar <Bram@vim.org>
parents: 30825
diff changeset
147 # define PV_VSTS OPT_BUF(BV_VSTS)
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
148 # define PV_VTS OPT_BUF(BV_VTS)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
149 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
150
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
151 // Definition of the PV_ values for window-local options.
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
152 // The WV_ values are defined in option.h.
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
153 #define PV_LIST OPT_WIN(WV_LIST)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
154 #ifdef FEAT_ARABIC
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
155 # define PV_ARAB OPT_WIN(WV_ARAB)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
156 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
157 #ifdef FEAT_LINEBREAK
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
158 # define PV_BRI OPT_WIN(WV_BRI)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
159 # define PV_BRIOPT OPT_WIN(WV_BRIOPT)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
160 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
161 # define PV_WCR OPT_WIN(WV_WCR)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
162 #ifdef FEAT_DIFF
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
163 # define PV_DIFF OPT_WIN(WV_DIFF)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
164 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
165 #ifdef FEAT_FOLDING
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
166 # define PV_FDC OPT_WIN(WV_FDC)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
167 # define PV_FEN OPT_WIN(WV_FEN)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
168 # define PV_FDI OPT_WIN(WV_FDI)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
169 # define PV_FDL OPT_WIN(WV_FDL)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
170 # define PV_FDM OPT_WIN(WV_FDM)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
171 # define PV_FML OPT_WIN(WV_FML)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
172 # define PV_FDN OPT_WIN(WV_FDN)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
173 # ifdef FEAT_EVAL
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
174 # define PV_FDE OPT_WIN(WV_FDE)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
175 # define PV_FDT OPT_WIN(WV_FDT)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
176 # endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
177 # define PV_FMR OPT_WIN(WV_FMR)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
178 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
179 #ifdef FEAT_LINEBREAK
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
180 # define PV_LBR OPT_WIN(WV_LBR)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
181 #endif
23952
44be09b25619 patch 8.2.2518: 'listchars' should be window-local
Bram Moolenaar <Bram@vim.org>
parents: 23932
diff changeset
182 #define PV_LCS OPT_BOTH(OPT_WIN(WV_LCS))
29387
9dce192d1ac2 patch 9.0.0036: 'fillchars' cannot have window-local values
Bram Moolenaar <Bram@vim.org>
parents: 29328
diff changeset
183 #define PV_FCS OPT_BOTH(OPT_WIN(WV_FCS))
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
184 #define PV_NU OPT_WIN(WV_NU)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
185 #define PV_RNU OPT_WIN(WV_RNU)
27130
daac3cf65d7e patch 8.2.4094: 'virtualedit' is window-local but using buffer-local enum
Bram Moolenaar <Bram@vim.org>
parents: 26670
diff changeset
186 #define PV_VE OPT_BOTH(OPT_WIN(WV_VE))
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
187 #ifdef FEAT_LINEBREAK
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
188 # define PV_NUW OPT_WIN(WV_NUW)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
189 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
190 #if defined(FEAT_QUICKFIX)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
191 # define PV_PVW OPT_WIN(WV_PVW)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
192 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
193 #ifdef FEAT_RIGHTLEFT
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
194 # define PV_RL OPT_WIN(WV_RL)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
195 # define PV_RLC OPT_WIN(WV_RLC)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
196 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
197 #define PV_SCBIND OPT_WIN(WV_SCBIND)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
198 #define PV_SCROLL OPT_WIN(WV_SCROLL)
30610
6c6ac189a05f patch 9.0.0640: cannot scroll by screen line if a line wraps
Bram Moolenaar <Bram@vim.org>
parents: 30219
diff changeset
199 #define PV_SMS OPT_WIN(WV_SMS)
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
200 #define PV_SISO OPT_BOTH(OPT_WIN(WV_SISO))
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
201 #define PV_SO OPT_BOTH(OPT_WIN(WV_SO))
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
202 #ifdef FEAT_SPELL
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
203 # define PV_SPELL OPT_WIN(WV_SPELL)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
204 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
205 #ifdef FEAT_SYN_HL
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
206 # define PV_CUC OPT_WIN(WV_CUC)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
207 # define PV_CUL OPT_WIN(WV_CUL)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
208 # define PV_CULOPT OPT_WIN(WV_CULOPT)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
209 # define PV_CC OPT_WIN(WV_CC)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
210 #endif
18574
8b0114ffde2b patch 8.1.2281: 'showbreak' cannot be set for one window
Bram Moolenaar <Bram@vim.org>
parents: 18526
diff changeset
211 #ifdef FEAT_LINEBREAK
8b0114ffde2b patch 8.1.2281: 'showbreak' cannot be set for one window
Bram Moolenaar <Bram@vim.org>
parents: 18526
diff changeset
212 # define PV_SBR OPT_BOTH(OPT_WIN(WV_SBR))
8b0114ffde2b patch 8.1.2281: 'showbreak' cannot be set for one window
Bram Moolenaar <Bram@vim.org>
parents: 18526
diff changeset
213 #endif
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
214 #ifdef FEAT_STL_OPT
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
215 # define PV_STL OPT_BOTH(OPT_WIN(WV_STL))
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
216 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
217 #define PV_UL OPT_BOTH(OPT_BUF(BV_UL))
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
218 # define PV_WFH OPT_WIN(WV_WFH)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
219 # define PV_WFW OPT_WIN(WV_WFW)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
220 #define PV_WRAP OPT_WIN(WV_WRAP)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
221 #define PV_CRBIND OPT_WIN(WV_CRBIND)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
222 #ifdef FEAT_CONCEAL
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
223 # define PV_COCU OPT_WIN(WV_COCU)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
224 # define PV_COLE OPT_WIN(WV_COLE)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
225 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
226 #ifdef FEAT_TERMINAL
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
227 # define PV_TWK OPT_WIN(WV_TWK)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
228 # define PV_TWS OPT_WIN(WV_TWS)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
229 # define PV_TWSL OPT_BUF(BV_TWSL)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
230 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
231 #ifdef FEAT_SIGNS
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
232 # define PV_SCL OPT_WIN(WV_SCL)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
233 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
234
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
235 // WV_ and BV_ values get typecasted to this for the "indir" field
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
236 typedef enum
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
237 {
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
238 PV_NONE = 0,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
239 PV_MAXVAL = 0xffff // to avoid warnings for value out of range
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
240 } idopt_T;
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
241
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
242 // Options local to a window have a value local to a buffer and global to all
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
243 // buffers. Indicate this by setting "var" to VAR_WIN.
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
244 #define VAR_WIN ((char_u *)-1)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
245
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
246 // Saved values for when 'bin' is set.
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
247 static int p_et_nobin;
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
248 static int p_ml_nobin;
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
249 static long p_tw_nobin;
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
250 static long p_wm_nobin;
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
251
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
252 // Saved values for when 'paste' is set
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
253 static int p_ai_nopaste;
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
254 static int p_et_nopaste;
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
255 static long p_sts_nopaste;
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
256 static long p_tw_nopaste;
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
257 static long p_wm_nopaste;
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
258 #ifdef FEAT_VARTABS
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
259 static char_u *p_vsts_nopaste;
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
260 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
261
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
262 struct vimoption
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
263 {
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
264 char *fullname; // full option name
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
265 char *shortname; // permissible abbreviation
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
266 long_u flags; // see in option.h
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
267 char_u *var; // global option: pointer to variable;
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
268 // window-local option: VAR_WIN;
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
269 // buffer-local option: global value
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
270 idopt_T indir; // global option: PV_NONE;
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
271 // local option: indirect option index
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
272 // callback function to invoke after an option is modified to validate and
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
273 // apply the new value.
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
274 opt_did_set_cb_T opt_did_set_cb;
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
275 char_u *def_val[2]; // default values for variable (vi and vim)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
276 #ifdef FEAT_EVAL
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
277 sctx_T script_ctx; // script context where the option was last set
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
278 # define SCTX_INIT , {0, 0, 0, 1}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
279 #else
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
280 # define SCTX_INIT
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
281 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
282 };
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
283
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
284 #define VI_DEFAULT 0 // def_val[VI_DEFAULT] is Vi default value
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
285 #define VIM_DEFAULT 1 // def_val[VIM_DEFAULT] is Vim default value
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
286
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
287 #define ISK_LATIN1 (char_u *)"@,48-57,_,192-255"
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
288
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
289 // 'isprint' for latin1 is also used for MS-Windows cp1252, where 0x80 is used
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
290 // for the currency sign.
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
291 #if defined(MSWIN)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
292 # define ISP_LATIN1 (char_u *)"@,~-255"
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
293 #else
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
294 # define ISP_LATIN1 (char_u *)"@,161-255"
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
295 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
296
32132
059e89bf9316 patch 9.0.1397: highlight for popupmenu kind and extra cannot be set
Bram Moolenaar <Bram@vim.org>
parents: 32096
diff changeset
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,[:PmenuKind,]:PmenuKindSel,{:PmenuExtra,}:PmenuExtraSel,x:PmenuSbar,X:PmenuThumb,*:TabLine,#:TabLineSel,_:TabLineFill,!:CursorColumn,.:CursorLine,o:ColorColumn,q:QuickFixLine,z:StatusLineTerm,Z:StatusLineTermNC"
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
298
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
299 // Default python version for pyx* commands
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
300 #if defined(FEAT_PYTHON) && defined(FEAT_PYTHON3)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
301 # define DEFAULT_PYTHON_VER 0
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
302 #elif defined(FEAT_PYTHON3)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
303 # define DEFAULT_PYTHON_VER 3
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
304 #elif defined(FEAT_PYTHON)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
305 # define DEFAULT_PYTHON_VER 2
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
306 #else
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
307 # define DEFAULT_PYTHON_VER 0
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
308 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
309
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
310 // used for 'cinkeys' and 'indentkeys'
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
311 #define INDENTKEYS_DEFAULT (char_u *)"0{,0},0),0],:,0#,!^F,o,O,e"
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
312
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
313 // options[] is initialized here.
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
314 // The order of the options MUST be alphabetic for ":set all" and findoption().
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
315 // All option names MUST start with a lowercase letter (for findoption()).
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
316 // Exception: "t_" options are at the end.
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
317 // The options with a NULL variable are 'hidden': a set command for them is
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
318 // ignored and they are not printed.
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
319 static struct vimoption options[] =
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
320 {
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
321 {"aleph", "al", P_NUM|P_VI_DEF|P_CURSWANT,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
322 #ifdef FEAT_RIGHTLEFT
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
323 (char_u *)&p_aleph, PV_NONE,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
324 #else
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
325 (char_u *)NULL, PV_NONE,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
326 #endif
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
327 NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
328 {
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
329 #if defined(MSWIN) && !defined(FEAT_GUI_MSWIN)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
330 (char_u *)128L,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
331 #else
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
332 (char_u *)224L,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
333 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
334 (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
335 {"antialias", "anti", P_BOOL|P_VI_DEF|P_VIM|P_RCLR,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
336 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
337 {(char_u *)FALSE, (char_u *)FALSE}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
338 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
339 {"arabic", "arab", P_BOOL|P_VI_DEF|P_VIM|P_CURSWANT,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
340 #ifdef FEAT_ARABIC
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
341 (char_u *)VAR_WIN, PV_ARAB, did_set_arabic,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
342 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
343 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
344 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
345 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
346 {"arabicshape", "arshape", P_BOOL|P_VI_DEF|P_VIM|P_RCLR,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
347 #ifdef FEAT_ARABIC
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
348 (char_u *)&p_arshape, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
349 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
350 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
351 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
352 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
353 {"allowrevins", "ari", P_BOOL|P_VI_DEF|P_VIM,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
354 #ifdef FEAT_RIGHTLEFT
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
355 (char_u *)&p_ari, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
356 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
357 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
358 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
359 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
360 {"altkeymap", "akm", P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
361 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
362 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
363 {"ambiwidth", "ambw", P_STRING|P_VI_DEF|P_RCLR,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
364 (char_u *)&p_ambw, PV_NONE, did_set_ambiwidth,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
365 {(char_u *)"single", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
366 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
367 {"autochdir", "acd", P_BOOL|P_VI_DEF,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
368 #ifdef FEAT_AUTOCHDIR
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
369 (char_u *)&p_acd, PV_NONE, did_set_autochdir,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
370 {(char_u *)FALSE, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
371 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
372 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
373 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
374 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
375 SCTX_INIT},
24268
9257f3980f4a patch 8.2.2675: directory change in a terminal window shell is not followed
Bram Moolenaar <Bram@vim.org>
parents: 23952
diff changeset
376 {"autoshelldir", "asd", P_BOOL|P_VI_DEF,
9257f3980f4a patch 8.2.2675: directory change in a terminal window shell is not followed
Bram Moolenaar <Bram@vim.org>
parents: 23952
diff changeset
377 #ifdef FEAT_AUTOSHELLDIR
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
378 (char_u *)&p_asd, PV_NONE, NULL,
24268
9257f3980f4a patch 8.2.2675: directory change in a terminal window shell is not followed
Bram Moolenaar <Bram@vim.org>
parents: 23952
diff changeset
379 {(char_u *)FALSE, (char_u *)0L}
9257f3980f4a patch 8.2.2675: directory change in a terminal window shell is not followed
Bram Moolenaar <Bram@vim.org>
parents: 23952
diff changeset
380 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
381 (char_u *)NULL, PV_NONE, NULL,
24268
9257f3980f4a patch 8.2.2675: directory change in a terminal window shell is not followed
Bram Moolenaar <Bram@vim.org>
parents: 23952
diff changeset
382 {(char_u *)0L, (char_u *)0L}
9257f3980f4a patch 8.2.2675: directory change in a terminal window shell is not followed
Bram Moolenaar <Bram@vim.org>
parents: 23952
diff changeset
383 #endif
9257f3980f4a patch 8.2.2675: directory change in a terminal window shell is not followed
Bram Moolenaar <Bram@vim.org>
parents: 23952
diff changeset
384 SCTX_INIT},
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
385 {"autoindent", "ai", P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
386 (char_u *)&p_ai, PV_AI, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
387 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
388 {"autoprint", "ap", P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
389 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
390 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
391 {"autoread", "ar", P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
392 (char_u *)&p_ar, PV_AR, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
393 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
394 {"autowrite", "aw", P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
395 (char_u *)&p_aw, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
396 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
397 {"autowriteall","awa", P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
398 (char_u *)&p_awa, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
399 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
400 {"background", "bg", P_STRING|P_VI_DEF|P_RCLR,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
401 (char_u *)&p_bg, PV_NONE, did_set_background,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
402 {
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
403 #if (defined(MSWIN)) && !defined(FEAT_GUI)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
404 (char_u *)"dark",
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
405 #else
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
406 (char_u *)"light",
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
407 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
408 (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
409 {"backspace", "bs", P_STRING|P_VI_DEF|P_VIM|P_ONECOMMA|P_NODUP,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
410 (char_u *)&p_bs, PV_NONE, did_set_backspace,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
411 {(char_u *)"", (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
412 {"backup", "bk", P_BOOL|P_VI_DEF|P_VIM,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
413 (char_u *)&p_bk, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
414 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
415 {"backupcopy", "bkc", P_STRING|P_VIM|P_ONECOMMA|P_NODUP,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
416 (char_u *)&p_bkc, PV_BKC, did_set_backupcopy,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
417 #ifdef UNIX
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
418 {(char_u *)"yes", (char_u *)"auto"}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
419 #else
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
420 {(char_u *)"auto", (char_u *)"auto"}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
421 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
422 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
423 {"backupdir", "bdir", P_STRING|P_EXPAND|P_VI_DEF|P_ONECOMMA
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
424 |P_NODUP|P_SECURE,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
425 (char_u *)&p_bdir, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
426 {(char_u *)DFLT_BDIR, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
427 {"backupext", "bex", P_STRING|P_VI_DEF|P_NFNAME,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
428 (char_u *)&p_bex, PV_NONE,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
429 did_set_backupext_or_patchmode,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
430 {
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
431 #ifdef VMS
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
432 (char_u *)"_",
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
433 #else
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
434 (char_u *)"~",
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
435 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
436 (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
437 {"backupskip", "bsk", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
438 (char_u *)&p_bsk, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
439 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
440 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
441 {"balloondelay","bdlay",P_NUM|P_VI_DEF,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
442 #ifdef FEAT_BEVAL
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
443 (char_u *)&p_bdlay, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
444 {(char_u *)600L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
445 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
446 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
447 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
448 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
449 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
450 {"ballooneval", "beval",P_BOOL|P_VI_DEF|P_NO_MKRC,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
451 #ifdef FEAT_BEVAL_GUI
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
452 (char_u *)&p_beval, PV_NONE, did_set_ballooneval,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
453 {(char_u *)FALSE, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
454 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
455 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
456 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
457 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
458 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
459 {"balloonevalterm", "bevalterm",P_BOOL|P_VI_DEF|P_NO_MKRC,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
460 #ifdef FEAT_BEVAL_TERM
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
461 (char_u *)&p_bevalterm, PV_NONE,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
462 did_set_balloonevalterm,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
463 {(char_u *)FALSE, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
464 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
465 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
466 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
467 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
468 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
469 {"balloonexpr", "bexpr", P_STRING|P_ALLOCED|P_VI_DEF|P_VIM|P_MLE,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
470 #if defined(FEAT_BEVAL) && defined(FEAT_EVAL)
32043
6095218c9056 patch 9.0.1353: too many "else if" statements to handle option values
Bram Moolenaar <Bram@vim.org>
parents: 32027
diff changeset
471 (char_u *)&p_bexpr, PV_BEXPR, did_set_optexpr,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
472 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
473 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
474 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
475 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
476 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
477 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
478 {"beautify", "bf", P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
479 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
480 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
481 {"belloff", "bo", P_STRING|P_VI_DEF|P_COMMA|P_NODUP,
32027
ef124f222fc2 patch 9.0.1345: too many "else if" statements for handling options
Bram Moolenaar <Bram@vim.org>
parents: 31996
diff changeset
482 (char_u *)&p_bo, PV_NONE, did_set_belloff,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
483 {(char_u *)"", (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
484 {"binary", "bin", P_BOOL|P_VI_DEF|P_RSTAT,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
485 (char_u *)&p_bin, PV_BIN, did_set_binary,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
486 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
487 {"bioskey", "biosk",P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
488 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
489 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
490 {"bomb", NULL, P_BOOL|P_NO_MKRC|P_VI_DEF|P_RSTAT,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
491 (char_u *)&p_bomb, PV_BOMB,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
492 did_set_eof_eol_fixeol_bomb,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
493 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
494 {"breakat", "brk", P_STRING|P_VI_DEF|P_RALL|P_FLAGLIST,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
495 #ifdef FEAT_LINEBREAK
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
496 (char_u *)&p_breakat, PV_NONE, did_set_breakat,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
497 {(char_u *)" \t!@*-+;:,./?", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
498 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
499 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
500 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
501 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
502 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
503 {"breakindent", "bri", P_BOOL|P_VI_DEF|P_VIM|P_RWIN,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
504 #ifdef FEAT_LINEBREAK
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
505 (char_u *)VAR_WIN, PV_BRI, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
506 {(char_u *)FALSE, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
507 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
508 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
509 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
510 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
511 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
512 {"breakindentopt", "briopt", P_STRING|P_ALLOCED|P_VI_DEF|P_RBUF
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
513 |P_ONECOMMA|P_NODUP,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
514 #ifdef FEAT_LINEBREAK
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
515 (char_u *)VAR_WIN, PV_BRIOPT,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
516 did_set_breakindentopt,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
517 {(char_u *)"", (char_u *)NULL}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
518 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
519 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
520 {(char_u *)"", (char_u *)NULL}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
521 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
522 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
523 {"browsedir", "bsdir",P_STRING|P_VI_DEF,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
524 #ifdef FEAT_BROWSE
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
525 (char_u *)&p_bsdir, PV_NONE, did_set_browsedir,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
526 {(char_u *)"last", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
527 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
528 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
529 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
530 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
531 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
532 {"bufhidden", "bh", P_STRING|P_ALLOCED|P_VI_DEF|P_NOGLOB,
32027
ef124f222fc2 patch 9.0.1345: too many "else if" statements for handling options
Bram Moolenaar <Bram@vim.org>
parents: 31996
diff changeset
533 (char_u *)&p_bh, PV_BH, did_set_bufhidden,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
534 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
535 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
536 {"buflisted", "bl", P_BOOL|P_VI_DEF|P_NOGLOB,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
537 (char_u *)&p_bl, PV_BL, did_set_buflisted,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
538 {(char_u *)1L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
539 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
540 {"buftype", "bt", P_STRING|P_ALLOCED|P_VI_DEF|P_NOGLOB,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
541 (char_u *)&p_bt, PV_BT, did_set_buftype,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
542 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
543 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
544 {"casemap", "cmp", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
32027
ef124f222fc2 patch 9.0.1345: too many "else if" statements for handling options
Bram Moolenaar <Bram@vim.org>
parents: 31996
diff changeset
545 (char_u *)&p_cmp, PV_NONE, did_set_casemap,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
546 {(char_u *)"internal,keepascii", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
547 SCTX_INIT},
26500
8088fa133b93 patch 8.2.3780: ":cd" works differently on MS-Windows
Bram Moolenaar <Bram@vim.org>
parents: 26441
diff changeset
548 {"cdhome", "cdh", P_BOOL|P_VI_DEF|P_VIM|P_SECURE,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
549 (char_u *)&p_cdh, PV_NONE, NULL,
26500
8088fa133b93 patch 8.2.3780: ":cd" works differently on MS-Windows
Bram Moolenaar <Bram@vim.org>
parents: 26441
diff changeset
550 {(char_u *)FALSE, (char_u *)0L}
8088fa133b93 patch 8.2.3780: ":cd" works differently on MS-Windows
Bram Moolenaar <Bram@vim.org>
parents: 26441
diff changeset
551 SCTX_INIT},
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
552 {"cdpath", "cd", P_STRING|P_EXPAND|P_VI_DEF|P_SECURE|P_COMMA|P_NODUP,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
553 (char_u *)&p_cdpath, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
554 {(char_u *)",,", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
555 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
556 {"cedit", NULL, P_STRING,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
557 (char_u *)&p_cedit, PV_NONE, did_set_cedit,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
558 {(char_u *)"", (char_u *)CTRL_F_STR}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
559 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
560 {"charconvert", "ccv", P_STRING|P_VI_DEF|P_SECURE,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
561 #if defined(FEAT_EVAL)
32043
6095218c9056 patch 9.0.1353: too many "else if" statements to handle option values
Bram Moolenaar <Bram@vim.org>
parents: 32027
diff changeset
562 (char_u *)&p_ccv, PV_NONE, did_set_optexpr,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
563 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
564 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
565 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
566 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
567 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
568 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
569 {"cindent", "cin", P_BOOL|P_VI_DEF|P_VIM,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
570 (char_u *)&p_cin, PV_CIN, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
571 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
572 {"cinkeys", "cink", P_STRING|P_ALLOCED|P_VI_DEF|P_ONECOMMA|P_NODUP,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
573 (char_u *)&p_cink, PV_CINK, NULL,
28942
6cdf55afaae9 patch 8.2.4993: smart/C/lisp indenting is optional
Bram Moolenaar <Bram@vim.org>
parents: 28399
diff changeset
574 {INDENTKEYS_DEFAULT, (char_u *)0L} SCTX_INIT},
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
575 {"cinoptions", "cino", P_STRING|P_ALLOCED|P_VI_DEF|P_ONECOMMA|P_NODUP,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
576 (char_u *)&p_cino, PV_CINO, did_set_cinoptions,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
577 {(char_u *)"", (char_u *)0L} SCTX_INIT},
28353
8bc8071928ed patch 8.2.4702: C++ scope labels are hard-coded
Bram Moolenaar <Bram@vim.org>
parents: 28337
diff changeset
578 {"cinscopedecls", "cinsd", P_STRING|P_ALLOCED|P_VI_DEF|P_ONECOMMA|P_NODUP,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
579 (char_u *)&p_cinsd, PV_CINSD, NULL,
28353
8bc8071928ed patch 8.2.4702: C++ scope labels are hard-coded
Bram Moolenaar <Bram@vim.org>
parents: 28337
diff changeset
580 {(char_u *)"public,protected,private", (char_u *)0L}
8bc8071928ed patch 8.2.4702: C++ scope labels are hard-coded
Bram Moolenaar <Bram@vim.org>
parents: 28337
diff changeset
581 SCTX_INIT},
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
582 {"cinwords", "cinw", P_STRING|P_ALLOCED|P_VI_DEF|P_ONECOMMA|P_NODUP,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
583 (char_u *)&p_cinw, PV_CINW, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
584 {(char_u *)"if,else,while,do,for,switch",
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
585 (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
586 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
587 {"clipboard", "cb", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
588 #ifdef FEAT_CLIPBOARD
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
589 (char_u *)&p_cb, PV_NONE, did_set_clipboard,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
590 # ifdef FEAT_XCLIPBOARD
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
591 {(char_u *)"autoselect,exclude:cons\\|linux",
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
592 (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
593 # else
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
594 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
595 # endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
596 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
597 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
598 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
599 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
600 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
601 {"cmdheight", "ch", P_NUM|P_VI_DEF|P_RALL,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
602 (char_u *)&p_ch, PV_NONE, did_set_cmdheight,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
603 {(char_u *)1L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
604 {"cmdwinheight", "cwh", P_NUM|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
605 (char_u *)&p_cwh, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
606 {(char_u *)7L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
607 {"colorcolumn", "cc", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP|P_RWIN,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
608 #ifdef FEAT_SYN_HL
32027
ef124f222fc2 patch 9.0.1345: too many "else if" statements for handling options
Bram Moolenaar <Bram@vim.org>
parents: 31996
diff changeset
609 (char_u *)VAR_WIN, PV_CC, did_set_colorcolumn,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
610 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
611 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
612 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
613 {(char_u *)"", (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
614 {"columns", "co", P_NUM|P_NODEFAULT|P_NO_MKRC|P_VI_DEF|P_RCLR,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
615 (char_u *)&Columns, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
616 {(char_u *)80L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
617 {"comments", "com", P_STRING|P_ALLOCED|P_VI_DEF|P_ONECOMMA
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
618 |P_NODUP|P_CURSWANT,
32043
6095218c9056 patch 9.0.1353: too many "else if" statements to handle option values
Bram Moolenaar <Bram@vim.org>
parents: 32027
diff changeset
619 (char_u *)&p_com, PV_COM, did_set_comments,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
620 {(char_u *)"s1:/*,mb:*,ex:*/,://,b:#,:%,:XCOMM,n:>,fb:-",
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
621 (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
622 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
623 {"commentstring", "cms", P_STRING|P_ALLOCED|P_VI_DEF|P_CURSWANT,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
624 #ifdef FEAT_FOLDING
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
625 (char_u *)&p_cms, PV_CMS, did_set_commentstring,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
626 {(char_u *)"/*%s*/", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
627 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
628 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
629 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
630 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
631 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
632 // P_PRI_MKRC isn't needed here, optval_default()
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
633 // always returns TRUE for 'compatible'
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
634 {"compatible", "cp", P_BOOL|P_RALL,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
635 (char_u *)&p_cp, PV_NONE, did_set_compatible,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
636 {(char_u *)TRUE, (char_u *)FALSE} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
637 {"complete", "cpt", P_STRING|P_ALLOCED|P_VI_DEF|P_ONECOMMA|P_NODUP,
32043
6095218c9056 patch 9.0.1353: too many "else if" statements to handle option values
Bram Moolenaar <Bram@vim.org>
parents: 32027
diff changeset
638 (char_u *)&p_cpt, PV_CPT, did_set_complete,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
639 {(char_u *)".,w,b,u,t,i", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
640 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
641 {"concealcursor","cocu", P_STRING|P_ALLOCED|P_RWIN|P_VI_DEF,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
642 #ifdef FEAT_CONCEAL
32043
6095218c9056 patch 9.0.1353: too many "else if" statements to handle option values
Bram Moolenaar <Bram@vim.org>
parents: 32027
diff changeset
643 (char_u *)VAR_WIN, PV_COCU, did_set_concealcursor,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
644 {(char_u *)"", (char_u *)NULL}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
645 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
646 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
647 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
648 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
649 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
650 {"conceallevel","cole", P_NUM|P_RWIN|P_VI_DEF,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
651 #ifdef FEAT_CONCEAL
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
652 (char_u *)VAR_WIN, PV_COLE, did_set_conceallevel,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
653 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
654 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
655 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
656 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
657 SCTX_INIT},
26441
65ab0b035dd8 patch 8.2.3751: cannot assign a lambda to an option that takes a function
Bram Moolenaar <Bram@vim.org>
parents: 26336
diff changeset
658 {"completefunc", "cfu", P_STRING|P_ALLOCED|P_VI_DEF|P_SECURE|P_FUNC,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
659 #ifdef FEAT_COMPL_FUNC
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
660 (char_u *)&p_cfu, PV_CFU, did_set_completefunc,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
661 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
662 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
663 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
664 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
665 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
666 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
667 {"completeopt", "cot", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
668 (char_u *)&p_cot, PV_NONE, did_set_completeopt,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
669 {(char_u *)"menu,preview", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
670 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
671 {"completepopup", "cpp", P_STRING|P_VI_DEF|P_COMMA|P_NODUP,
18763
49b78d6465e5 patch 8.1.2371: FEAT_TEXT_PROP is a confusing name
Bram Moolenaar <Bram@vim.org>
parents: 18590
diff changeset
672 #if defined(FEAT_PROP_POPUP) && defined(FEAT_QUICKFIX)
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
673 (char_u *)&p_cpp, PV_NONE, did_set_completepopup,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
674 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
675 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
676 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
677 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
678 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
679 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
680 {"completeslash", "csl", P_STRING|P_VI_DEF|P_VIM,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
681 #if defined(BACKSLASH_IN_FILENAME)
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
682 (char_u *)&p_csl, PV_CSL, did_set_completeslash,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
683 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
684 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
685 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
686 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
687 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
688 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
689 {"confirm", "cf", P_BOOL|P_VI_DEF,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
690 #if defined(FEAT_GUI_DIALOG) || defined(FEAT_CON_DIALOG)
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
691 (char_u *)&p_confirm, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
692 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
693 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
694 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
695 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
696 {"conskey", "consk",P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
697 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
698 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
699 {"copyindent", "ci", P_BOOL|P_VI_DEF|P_VIM,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
700 (char_u *)&p_ci, PV_CI, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
701 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
702 {"cpoptions", "cpo", P_STRING|P_VIM|P_RALL|P_FLAGLIST,
32043
6095218c9056 patch 9.0.1353: too many "else if" statements to handle option values
Bram Moolenaar <Bram@vim.org>
parents: 32027
diff changeset
703 (char_u *)&p_cpo, PV_NONE, did_set_cpoptions,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
704 {(char_u *)CPO_VI, (char_u *)CPO_VIM}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
705 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
706 {"cryptmethod", "cm", P_STRING|P_ALLOCED|P_VI_DEF,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
707 #ifdef FEAT_CRYPT
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
708 (char_u *)&p_cm, PV_CM, did_set_cryptmethod,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
709 {(char_u *)"blowfish2", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
710 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
711 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
712 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
713 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
714 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
715 {"cscopepathcomp", "cspc", P_NUM|P_VI_DEF|P_VIM,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
716 #ifdef FEAT_CSCOPE
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
717 (char_u *)&p_cspc, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
718 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
719 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
720 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
721 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
722 {"cscopeprg", "csprg", P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
723 #ifdef FEAT_CSCOPE
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
724 (char_u *)&p_csprg, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
725 {(char_u *)"cscope", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
726 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
727 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
728 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
729 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
730 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
731 {"cscopequickfix", "csqf", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
732 #if defined(FEAT_CSCOPE) && defined(FEAT_QUICKFIX)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
733 (char_u *)&p_csqf, PV_NONE,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
734 did_set_cscopequickfix,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
735 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
736 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
737 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
738 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
739 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
740 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
741 {"cscoperelative", "csre", P_BOOL|P_VI_DEF|P_VIM,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
742 #ifdef FEAT_CSCOPE
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
743 (char_u *)&p_csre, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
744 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
745 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
746 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
747 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
748 {"cscopetag", "cst", P_BOOL|P_VI_DEF|P_VIM,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
749 #ifdef FEAT_CSCOPE
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
750 (char_u *)&p_cst, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
751 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
752 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
753 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
754 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
755 {"cscopetagorder", "csto", P_NUM|P_VI_DEF|P_VIM,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
756 #ifdef FEAT_CSCOPE
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
757 (char_u *)&p_csto, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
758 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
759 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
760 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
761 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
762 {"cscopeverbose", "csverb", P_BOOL|P_VI_DEF|P_VIM,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
763 #ifdef FEAT_CSCOPE
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
764 (char_u *)&p_csverbose, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
765 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
766 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
767 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
768 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
769 {"cursorbind", "crb", P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
770 (char_u *)VAR_WIN, PV_CRBIND, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
771 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
772 {"cursorcolumn", "cuc", P_BOOL|P_VI_DEF|P_RWINONLY,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
773 #ifdef FEAT_SYN_HL
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
774 (char_u *)VAR_WIN, PV_CUC, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
775 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
776 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
777 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
778 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
779 {"cursorline", "cul", P_BOOL|P_VI_DEF|P_RWINONLY,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
780 #ifdef FEAT_SYN_HL
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
781 (char_u *)VAR_WIN, PV_CUL, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
782 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
783 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
784 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
785 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
18068
1101eacc1444 patch 8.1.2029: cannot control 'cursorline' highlighting well
Bram Moolenaar <Bram@vim.org>
parents: 18054
diff changeset
786 {"cursorlineopt", "culopt", P_STRING|P_VI_DEF|P_RWIN|P_ONECOMMA|P_NODUP,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
787 #ifdef FEAT_SYN_HL
32027
ef124f222fc2 patch 9.0.1345: too many "else if" statements for handling options
Bram Moolenaar <Bram@vim.org>
parents: 31996
diff changeset
788 (char_u *)VAR_WIN, PV_CULOPT,
ef124f222fc2 patch 9.0.1345: too many "else if" statements for handling options
Bram Moolenaar <Bram@vim.org>
parents: 31996
diff changeset
789 did_set_cursorlineopt,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
790 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
791 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
792 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
793 {(char_u *)"both", (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
794 {"debug", NULL, P_STRING|P_VI_DEF,
32027
ef124f222fc2 patch 9.0.1345: too many "else if" statements for handling options
Bram Moolenaar <Bram@vim.org>
parents: 31996
diff changeset
795 (char_u *)&p_debug, PV_NONE, did_set_debug,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
796 {(char_u *)"", (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
797 {"define", "def", P_STRING|P_ALLOCED|P_VI_DEF|P_CURSWANT,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
798 #ifdef FEAT_FIND_ID
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
799 (char_u *)&p_def, PV_DEF, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
800 {(char_u *)"^\\s*#\\s*define", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
801 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
802 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
803 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
804 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
805 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
806 {"delcombine", "deco", P_BOOL|P_VI_DEF|P_VIM,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
807 (char_u *)&p_deco, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
808 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
809 {"dictionary", "dict", P_STRING|P_EXPAND|P_VI_DEF|P_ONECOMMA|P_NODUP|P_NDNAME,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
810 (char_u *)&p_dict, PV_DICT, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
811 {(char_u *)"", (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
812 {"diff", NULL, P_BOOL|P_VI_DEF|P_RWIN|P_NOGLOB,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
813 #ifdef FEAT_DIFF
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
814 (char_u *)VAR_WIN, PV_DIFF, did_set_diff,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
815 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
816 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
817 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
818 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
819 {"diffexpr", "dex", P_STRING|P_VI_DEF|P_SECURE|P_CURSWANT,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
820 #if defined(FEAT_DIFF) && defined(FEAT_EVAL)
32043
6095218c9056 patch 9.0.1353: too many "else if" statements to handle option values
Bram Moolenaar <Bram@vim.org>
parents: 32027
diff changeset
821 (char_u *)&p_dex, PV_NONE, did_set_optexpr,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
822 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
823 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
824 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
825 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
826 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
827 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
828 {"diffopt", "dip", P_STRING|P_ALLOCED|P_VI_DEF|P_RWIN|P_ONECOMMA
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
829 |P_NODUP,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
830 #ifdef FEAT_DIFF
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
831 (char_u *)&p_dip, PV_NONE, did_set_diffopt,
18590
41484f342f80 patch 8.1.2289: after :diffsplit closing the window does not disable diff
Bram Moolenaar <Bram@vim.org>
parents: 18574
diff changeset
832 {(char_u *)"internal,filler,closeoff",
41484f342f80 patch 8.1.2289: after :diffsplit closing the window does not disable diff
Bram Moolenaar <Bram@vim.org>
parents: 18574
diff changeset
833 (char_u *)NULL}
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
834 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
835 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
836 {(char_u *)"", (char_u *)NULL}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
837 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
838 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
839 {"digraph", "dg", P_BOOL|P_VI_DEF|P_VIM,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
840 #ifdef FEAT_DIGRAPHS
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
841 (char_u *)&p_dg, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
842 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
843 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
844 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
845 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
846 {"directory", "dir", P_STRING|P_EXPAND|P_VI_DEF|P_ONECOMMA
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
847 |P_NODUP|P_SECURE,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
848 (char_u *)&p_dir, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
849 {(char_u *)DFLT_DIR, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
850 {"display", "dy", P_STRING|P_VI_DEF|P_ONECOMMA|P_RALL|P_NODUP,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
851 (char_u *)&p_dy, PV_NONE, did_set_display,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
852 {(char_u *)"", (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
853 {"eadirection", "ead", P_STRING|P_VI_DEF,
32027
ef124f222fc2 patch 9.0.1345: too many "else if" statements for handling options
Bram Moolenaar <Bram@vim.org>
parents: 31996
diff changeset
854 (char_u *)&p_ead, PV_NONE, did_set_eadirection,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
855 {(char_u *)"both", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
856 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
857 {"edcompatible","ed", P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
858 (char_u *)&p_ed, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
859 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
30962
3a01529f17f5 patch 9.0.0817
Bram Moolenaar <Bram@vim.org>
parents: 30853
diff changeset
860 {"emoji", "emo", P_BOOL|P_VI_DEF|P_RCLR,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
861 (char_u *)&p_emoji, PV_NONE, did_set_ambiwidth,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
862 {(char_u *)TRUE, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
863 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
864 {"encoding", "enc", P_STRING|P_VI_DEF|P_RCLR|P_NO_ML,
32086
45142117e206 patch 9.0.1374: function for setting options not used consistently
Bram Moolenaar <Bram@vim.org>
parents: 32076
diff changeset
865 (char_u *)&p_enc, PV_NONE, did_set_encoding,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
866 {(char_u *)ENC_DFLT, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
867 SCTX_INIT},
30962
3a01529f17f5 patch 9.0.0817
Bram Moolenaar <Bram@vim.org>
parents: 30853
diff changeset
868 {"endoffile", "eof", P_BOOL|P_NO_MKRC|P_VI_DEF|P_RSTAT,
3a01529f17f5 patch 9.0.0817
Bram Moolenaar <Bram@vim.org>
parents: 30853
diff changeset
869 (char_u *)&p_eof, PV_EOF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
870 did_set_eof_eol_fixeol_bomb,
31055
5a95f0c630b1 patch 9.0.0862: default value of 'endoffile' is wrong
Bram Moolenaar <Bram@vim.org>
parents: 30962
diff changeset
871 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
872 {"endofline", "eol", P_BOOL|P_NO_MKRC|P_VI_DEF|P_RSTAT,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
873 (char_u *)&p_eol, PV_EOL,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
874 did_set_eof_eol_fixeol_bomb,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
875 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
876 {"equalalways", "ea", P_BOOL|P_VI_DEF|P_RALL,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
877 (char_u *)&p_ea, PV_NONE, did_set_equalalways,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
878 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
879 {"equalprg", "ep", P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
880 (char_u *)&p_ep, PV_EP, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
881 {(char_u *)"", (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
882 {"errorbells", "eb", P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
883 (char_u *)&p_eb, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
884 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
885 {"errorfile", "ef", P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
886 #ifdef FEAT_QUICKFIX
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
887 (char_u *)&p_ef, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
888 {(char_u *)DFLT_ERRORFILE, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
889 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
890 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
891 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
892 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
893 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
894 {"errorformat", "efm", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
895 #ifdef FEAT_QUICKFIX
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
896 (char_u *)&p_efm, PV_EFM, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
897 {(char_u *)DFLT_EFM, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
898 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
899 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
900 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
901 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
902 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
903 {"esckeys", "ek", P_BOOL|P_VIM,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
904 (char_u *)&p_ek, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
905 {(char_u *)FALSE, (char_u *)TRUE} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
906 {"eventignore", "ei", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
907 (char_u *)&p_ei, PV_NONE, did_set_eventignore,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
908 {(char_u *)"", (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
909 {"expandtab", "et", P_BOOL|P_VI_DEF|P_VIM,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
910 (char_u *)&p_et, PV_ET, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
911 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
912 {"exrc", "ex", P_BOOL|P_VI_DEF|P_SECURE,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
913 (char_u *)&p_exrc, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
914 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
915 {"fileencoding","fenc", P_STRING|P_ALLOCED|P_VI_DEF|P_RSTAT|P_RBUF
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
916 |P_NO_MKRC,
32086
45142117e206 patch 9.0.1374: function for setting options not used consistently
Bram Moolenaar <Bram@vim.org>
parents: 32076
diff changeset
917 (char_u *)&p_fenc, PV_FENC, did_set_encoding,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
918 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
919 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
920 {"fileencodings","fencs", P_STRING|P_VI_DEF|P_ONECOMMA,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
921 (char_u *)&p_fencs, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
922 {(char_u *)"ucs-bom", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
923 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
924 {"fileformat", "ff", P_STRING|P_ALLOCED|P_VI_DEF|P_RSTAT|P_NO_MKRC
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
925 |P_CURSWANT,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
926 (char_u *)&p_ff, PV_FF, did_set_fileformat,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
927 {(char_u *)DFLT_FF, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
928 {"fileformats", "ffs", P_STRING|P_VIM|P_ONECOMMA|P_NODUP,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
929 (char_u *)&p_ffs, PV_NONE, did_set_fileformats,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
930 {(char_u *)DFLT_FFS_VI, (char_u *)DFLT_FFS_VIM}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
931 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
932 {"fileignorecase", "fic", P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
933 (char_u *)&p_fic, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
934 {
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
935 #ifdef CASE_INSENSITIVE_FILENAME
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
936 (char_u *)TRUE,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
937 #else
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
938 (char_u *)FALSE,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
939 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
940 (char_u *)0L} SCTX_INIT},
23821
bfc1ae959d9d patch 8.2.2452: no completion for the 'filetype' option
Bram Moolenaar <Bram@vim.org>
parents: 23606
diff changeset
941 {"filetype", "ft", P_STRING|P_EXPAND|P_ALLOCED|P_VI_DEF|P_NOGLOB|P_NFNAME,
32055
8a3f659c7b5e patch 9.0.1359: too many "else if" statements in handling options
Bram Moolenaar <Bram@vim.org>
parents: 32043
diff changeset
942 (char_u *)&p_ft, PV_FT,
8a3f659c7b5e patch 9.0.1359: too many "else if" statements in handling options
Bram Moolenaar <Bram@vim.org>
parents: 32043
diff changeset
943 did_set_filetype_or_syntax,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
944 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
945 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
946 {"fillchars", "fcs", P_STRING|P_VI_DEF|P_RALL|P_ONECOMMA|P_NODUP,
32076
32acf287a9ae patch 9.0.1369: still some "else if" constructs for setting options
Bram Moolenaar <Bram@vim.org>
parents: 32055
diff changeset
947 (char_u *)&p_fcs, PV_FCS, did_set_chars_option,
30643
dfb02f9dcbe8 patch 9.0.0656: cannot specify another character to use instead of '@'
Bram Moolenaar <Bram@vim.org>
parents: 30624
diff changeset
948 {(char_u *)"vert:|,fold:-,eob:~,lastline:@",
dfb02f9dcbe8 patch 9.0.0656: cannot specify another character to use instead of '@'
Bram Moolenaar <Bram@vim.org>
parents: 30624
diff changeset
949 (char_u *)0L}
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
950 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
951 {"fixendofline", "fixeol", P_BOOL|P_VI_DEF|P_RSTAT,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
952 (char_u *)&p_fixeol, PV_FIXEOL,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
953 did_set_eof_eol_fixeol_bomb,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
954 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
955 {"fkmap", "fk", P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
956 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
957 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
958 {"flash", "fl", P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
959 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
960 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
961 {"foldclose", "fcl", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP|P_RWIN,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
962 #ifdef FEAT_FOLDING
32027
ef124f222fc2 patch 9.0.1345: too many "else if" statements for handling options
Bram Moolenaar <Bram@vim.org>
parents: 31996
diff changeset
963 (char_u *)&p_fcl, PV_NONE, did_set_foldclose,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
964 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
965 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
966 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
967 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
968 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
969 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
970 {"foldcolumn", "fdc", P_NUM|P_VI_DEF|P_RWIN,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
971 #ifdef FEAT_FOLDING
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
972 (char_u *)VAR_WIN, PV_FDC, did_set_foldcolumn,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
973 {(char_u *)FALSE, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
974 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
975 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
976 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
977 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
978 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
979 {"foldenable", "fen", P_BOOL|P_VI_DEF|P_RWIN,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
980 #ifdef FEAT_FOLDING
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
981 (char_u *)VAR_WIN, PV_FEN, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
982 {(char_u *)TRUE, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
983 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
984 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
985 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
986 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
987 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
988 {"foldexpr", "fde", P_STRING|P_ALLOCED|P_VIM|P_VI_DEF|P_RWIN|P_MLE,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
989 #if defined(FEAT_FOLDING) && defined(FEAT_EVAL)
32043
6095218c9056 patch 9.0.1353: too many "else if" statements to handle option values
Bram Moolenaar <Bram@vim.org>
parents: 32027
diff changeset
990 (char_u *)VAR_WIN, PV_FDE, did_set_foldexpr,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
991 {(char_u *)"0", (char_u *)NULL}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
992 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
993 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
994 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
995 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
996 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
997 {"foldignore", "fdi", P_STRING|P_ALLOCED|P_VIM|P_VI_DEF|P_RWIN,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
998 #ifdef FEAT_FOLDING
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
999 (char_u *)VAR_WIN, PV_FDI, did_set_foldignore,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1000 {(char_u *)"#", (char_u *)NULL}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1001 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1002 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1003 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1004 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1005 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1006 {"foldlevel", "fdl", P_NUM|P_VI_DEF|P_RWIN,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1007 #ifdef FEAT_FOLDING
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1008 (char_u *)VAR_WIN, PV_FDL, did_set_foldlevel,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1009 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1010 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1011 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1012 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1013 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1014 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1015 {"foldlevelstart","fdls", P_NUM|P_VI_DEF|P_CURSWANT,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1016 #ifdef FEAT_FOLDING
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1017 (char_u *)&p_fdls, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1018 {(char_u *)-1L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1019 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1020 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1021 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1022 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1023 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1024 {"foldmarker", "fmr", P_STRING|P_ALLOCED|P_VIM|P_VI_DEF|
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1025 P_RWIN|P_ONECOMMA|P_NODUP,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1026 #ifdef FEAT_FOLDING
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1027 (char_u *)VAR_WIN, PV_FMR, did_set_foldmarker,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1028 {(char_u *)"{{{,}}}", (char_u *)NULL}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1029 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1030 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1031 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1032 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1033 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1034 {"foldmethod", "fdm", P_STRING|P_ALLOCED|P_VIM|P_VI_DEF|P_RWIN,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1035 #ifdef FEAT_FOLDING
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1036 (char_u *)VAR_WIN, PV_FDM, did_set_foldmethod,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1037 {(char_u *)"manual", (char_u *)NULL}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1038 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1039 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1040 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1041 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1042 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1043 {"foldminlines","fml", P_NUM|P_VI_DEF|P_RWIN,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1044 #ifdef FEAT_FOLDING
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1045 (char_u *)VAR_WIN, PV_FML, did_set_foldminlines,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1046 {(char_u *)1L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1047 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1048 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1049 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1050 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1051 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1052 {"foldnestmax", "fdn", P_NUM|P_VI_DEF|P_RWIN,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1053 #ifdef FEAT_FOLDING
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1054 (char_u *)VAR_WIN, PV_FDN, did_set_foldnestmax,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1055 {(char_u *)20L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1056 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1057 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1058 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1059 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1060 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1061 {"foldopen", "fdo", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP|P_CURSWANT,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1062 #ifdef FEAT_FOLDING
32027
ef124f222fc2 patch 9.0.1345: too many "else if" statements for handling options
Bram Moolenaar <Bram@vim.org>
parents: 31996
diff changeset
1063 (char_u *)&p_fdo, PV_NONE, did_set_foldopen,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1064 {(char_u *)"block,hor,mark,percent,quickfix,search,tag,undo",
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1065 (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1066 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1067 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1068 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1069 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1070 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1071 {"foldtext", "fdt", P_STRING|P_ALLOCED|P_VIM|P_VI_DEF|P_RWIN|P_MLE,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1072 #if defined(FEAT_FOLDING) && defined(FEAT_EVAL)
32043
6095218c9056 patch 9.0.1353: too many "else if" statements to handle option values
Bram Moolenaar <Bram@vim.org>
parents: 32027
diff changeset
1073 (char_u *)VAR_WIN, PV_FDT, did_set_optexpr,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1074 {(char_u *)"foldtext()", (char_u *)NULL}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1075 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1076 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1077 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1078 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1079 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1080 {"formatexpr", "fex", P_STRING|P_ALLOCED|P_VI_DEF|P_VIM|P_MLE,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1081 #ifdef FEAT_EVAL
32043
6095218c9056 patch 9.0.1353: too many "else if" statements to handle option values
Bram Moolenaar <Bram@vim.org>
parents: 32027
diff changeset
1082 (char_u *)&p_fex, PV_FEX, did_set_optexpr,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1083 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1084 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1085 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1086 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1087 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1088 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1089 {"formatoptions","fo", P_STRING|P_ALLOCED|P_VIM|P_FLAGLIST,
32043
6095218c9056 patch 9.0.1353: too many "else if" statements to handle option values
Bram Moolenaar <Bram@vim.org>
parents: 32027
diff changeset
1090 (char_u *)&p_fo, PV_FO, did_set_formatoptions,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1091 {(char_u *)DFLT_FO_VI, (char_u *)DFLT_FO_VIM}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1092 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1093 {"formatlistpat","flp", P_STRING|P_ALLOCED|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1094 (char_u *)&p_flp, PV_FLP, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1095 {(char_u *)"^\\s*\\d\\+[\\]:.)}\\t ]\\s*",
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1096 (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1097 {"formatprg", "fp", P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1098 (char_u *)&p_fp, PV_FP, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1099 {(char_u *)"", (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1100 {"fsync", "fs", P_BOOL|P_SECURE|P_VI_DEF,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1101 #ifdef HAVE_FSYNC
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1102 (char_u *)&p_fs, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1103 {(char_u *)TRUE, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1104 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1105 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1106 {(char_u *)FALSE, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1107 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1108 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1109 {"gdefault", "gd", P_BOOL|P_VI_DEF|P_VIM,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1110 (char_u *)&p_gd, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1111 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1112 {"graphic", "gr", P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1113 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1114 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1115 {"grepformat", "gfm", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1116 #ifdef FEAT_QUICKFIX
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1117 (char_u *)&p_gefm, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1118 {(char_u *)DFLT_GREPFORMAT, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1119 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1120 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1121 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1122 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1123 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1124 {"grepprg", "gp", P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1125 #ifdef FEAT_QUICKFIX
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1126 (char_u *)&p_gp, PV_GP, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1127 {
28337
1cd053ebb5fc patch 8.2.4694: avoidance of #elif causes more preproc nesting
Bram Moolenaar <Bram@vim.org>
parents: 28297
diff changeset
1128 # if defined(MSWIN)
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1129 // may be changed to "grep -n" in os_win32.c
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1130 (char_u *)"findstr /n",
28337
1cd053ebb5fc patch 8.2.4694: avoidance of #elif causes more preproc nesting
Bram Moolenaar <Bram@vim.org>
parents: 28297
diff changeset
1131 # elif defined(UNIX)
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1132 // Add an extra file name so that grep will always
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1133 // insert a file name in the match line.
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1134 (char_u *)"grep -n $* /dev/null",
28337
1cd053ebb5fc patch 8.2.4694: avoidance of #elif causes more preproc nesting
Bram Moolenaar <Bram@vim.org>
parents: 28297
diff changeset
1135 # elif defined(VMS)
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1136 (char_u *)"SEARCH/NUMBERS ",
28337
1cd053ebb5fc patch 8.2.4694: avoidance of #elif causes more preproc nesting
Bram Moolenaar <Bram@vim.org>
parents: 28297
diff changeset
1137 # else
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1138 (char_u *)"grep -n ",
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1139 # endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1140 (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1141 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1142 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1143 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1144 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1145 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1146 {"guicursor", "gcr", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1147 #ifdef CURSOR_SHAPE
32043
6095218c9056 patch 9.0.1353: too many "else if" statements to handle option values
Bram Moolenaar <Bram@vim.org>
parents: 32027
diff changeset
1148 (char_u *)&p_guicursor, PV_NONE,
6095218c9056 patch 9.0.1353: too many "else if" statements to handle option values
Bram Moolenaar <Bram@vim.org>
parents: 32027
diff changeset
1149 did_set_guicursor,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1150 {
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1151 # ifdef FEAT_GUI
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1152 (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",
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1153 # else // Win32 console
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1154 (char_u *)"n-v-c:block,o:hor50,i-ci:hor15,r-cr:hor30,sm:block",
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1155 # endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1156 (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1157 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1158 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1159 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1160 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1161 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1162 {"guifont", "gfn", P_STRING|P_VI_DEF|P_RCLR|P_ONECOMMA|P_NODUP,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1163 #ifdef FEAT_GUI
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1164 (char_u *)&p_guifont, PV_NONE, did_set_guifont,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1165 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1166 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1167 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1168 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1169 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1170 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1171 {"guifontset", "gfs", P_STRING|P_VI_DEF|P_RCLR|P_ONECOMMA,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1172 #if defined(FEAT_GUI) && defined(FEAT_XFONTSET)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1173 (char_u *)&p_guifontset, PV_NONE,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1174 did_set_guifontset,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1175 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1176 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1177 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1178 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1179 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1180 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1181 {"guifontwide", "gfw", P_STRING|P_VI_DEF|P_RCLR|P_ONECOMMA|P_NODUP,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1182 #if defined(FEAT_GUI)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1183 (char_u *)&p_guifontwide, PV_NONE,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1184 did_set_guifontwide,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1185 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1186 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1187 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1188 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1189 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1190 SCTX_INIT},
25982
aade8ef975d5 patch 8.2.3524: GUI: ligatures are not used
Bram Moolenaar <Bram@vim.org>
parents: 25974
diff changeset
1191
aade8ef975d5 patch 8.2.3524: GUI: ligatures are not used
Bram Moolenaar <Bram@vim.org>
parents: 25974
diff changeset
1192
aade8ef975d5 patch 8.2.3524: GUI: ligatures are not used
Bram Moolenaar <Bram@vim.org>
parents: 25974
diff changeset
1193 {"guiligatures", "gli", P_STRING|P_VI_DEF|P_RCLR|P_ONECOMMA|P_NODUP,
aade8ef975d5 patch 8.2.3524: GUI: ligatures are not used
Bram Moolenaar <Bram@vim.org>
parents: 25974
diff changeset
1194 #if defined(FEAT_GUI_GTK)
aade8ef975d5 patch 8.2.3524: GUI: ligatures are not used
Bram Moolenaar <Bram@vim.org>
parents: 25974
diff changeset
1195 (char_u *)&p_guiligatures, PV_NONE,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1196 did_set_guiligatures,
25982
aade8ef975d5 patch 8.2.3524: GUI: ligatures are not used
Bram Moolenaar <Bram@vim.org>
parents: 25974
diff changeset
1197 {(char_u *)"", (char_u *)0L}
aade8ef975d5 patch 8.2.3524: GUI: ligatures are not used
Bram Moolenaar <Bram@vim.org>
parents: 25974
diff changeset
1198 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1199 (char_u *)NULL, PV_NONE, NULL,
25982
aade8ef975d5 patch 8.2.3524: GUI: ligatures are not used
Bram Moolenaar <Bram@vim.org>
parents: 25974
diff changeset
1200 {(char_u *)NULL, (char_u *)0L}
aade8ef975d5 patch 8.2.3524: GUI: ligatures are not used
Bram Moolenaar <Bram@vim.org>
parents: 25974
diff changeset
1201 #endif
aade8ef975d5 patch 8.2.3524: GUI: ligatures are not used
Bram Moolenaar <Bram@vim.org>
parents: 25974
diff changeset
1202 SCTX_INIT},
aade8ef975d5 patch 8.2.3524: GUI: ligatures are not used
Bram Moolenaar <Bram@vim.org>
parents: 25974
diff changeset
1203
aade8ef975d5 patch 8.2.3524: GUI: ligatures are not used
Bram Moolenaar <Bram@vim.org>
parents: 25974
diff changeset
1204
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1205 {"guiheadroom", "ghr", P_NUM|P_VI_DEF,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1206 #if defined(FEAT_GUI_GTK) || defined(FEAT_GUI_X11)
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1207 (char_u *)&p_ghr, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1208 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1209 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1210 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1211 {(char_u *)50L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1212 {"guioptions", "go", P_STRING|P_VI_DEF|P_RALL|P_FLAGLIST,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1213 #if defined(FEAT_GUI)
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1214 (char_u *)&p_go, PV_NONE, did_set_guioptions,
21745
35921b7fc07a patch 8.2.1422: the Mac GUI implementation is outdated
Bram Moolenaar <Bram@vim.org>
parents: 20802
diff changeset
1215 # if defined(UNIX)
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1216 {(char_u *)"aegimrLtT", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1217 # else
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1218 {(char_u *)"egmrLtT", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1219 # endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1220 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1221 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1222 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1223 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1224 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1225 {"guipty", NULL, P_BOOL|P_VI_DEF,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1226 #if defined(FEAT_GUI)
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1227 (char_u *)&p_guipty, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1228 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1229 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1230 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1231 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1232 {"guitablabel", "gtl", P_STRING|P_VI_DEF|P_RWIN|P_MLE,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1233 #if defined(FEAT_GUI_TABLINE)
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1234 (char_u *)&p_gtl, PV_NONE, did_set_guitablabel,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1235 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1236 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1237 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1238 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1239 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1240 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1241 {"guitabtooltip", "gtt", P_STRING|P_VI_DEF|P_RWIN,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1242 #if defined(FEAT_GUI_TABLINE)
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1243 (char_u *)&p_gtt, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1244 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1245 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1246 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1247 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1248 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1249 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1250 {"hardtabs", "ht", P_NUM|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1251 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1252 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1253 {"helpfile", "hf", P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1254 (char_u *)&p_hf, PV_NONE, did_set_helpfile,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1255 {(char_u *)DFLT_HELPFILE, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1256 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1257 {"helpheight", "hh", P_NUM|P_VI_DEF,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1258 (char_u *)&p_hh, PV_NONE,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1259 did_set_winheight_helpheight,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1260 {(char_u *)20L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1261 {"helplang", "hlg", P_STRING|P_VI_DEF|P_ONECOMMA,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1262 #ifdef FEAT_MULTI_LANG
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1263 (char_u *)&p_hlg, PV_NONE, did_set_helplang,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1264 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1265 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1266 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1267 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1268 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1269 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1270 {"hidden", "hid", P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1271 (char_u *)&p_hid, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1272 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1273 {"highlight", "hl", P_STRING|P_VI_DEF|P_RCLR|P_ONECOMMA|P_NODUP,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1274 (char_u *)&p_hl, PV_NONE, did_set_highlight,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1275 {(char_u *)HIGHLIGHT_INIT, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1276 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1277 {"history", "hi", P_NUM|P_VIM,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1278 (char_u *)&p_hi, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1279 {(char_u *)0L, (char_u *)50L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1280 {"hkmap", "hk", P_BOOL|P_VI_DEF|P_VIM,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1281 #ifdef FEAT_RIGHTLEFT
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1282 (char_u *)&p_hkmap, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1283 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1284 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1285 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1286 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1287 {"hkmapp", "hkp", P_BOOL|P_VI_DEF|P_VIM,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1288 #ifdef FEAT_RIGHTLEFT
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1289 (char_u *)&p_hkmapp, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1290 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1291 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1292 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1293 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1294 {"hlsearch", "hls", P_BOOL|P_VI_DEF|P_VIM|P_RALL,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1295 #if defined(FEAT_SEARCH_EXTRA)
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1296 (char_u *)&p_hls, PV_NONE, did_set_hlsearch,
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1297 #else
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1298 (char_u *)NULL, PV_NONE, NULL,
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1299 #endif
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1300 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1301 {"icon", NULL, P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1302 (char_u *)&p_icon, PV_NONE, did_set_title_icon,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1303 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1304 {"iconstring", NULL, P_STRING|P_VI_DEF|P_MLE,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1305 (char_u *)&p_iconstring, PV_NONE,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1306 did_set_iconstring,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1307 {(char_u *)"", (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1308 {"ignorecase", "ic", P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1309 (char_u *)&p_ic, PV_NONE, did_set_ignorecase,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1310 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
26441
65ab0b035dd8 patch 8.2.3751: cannot assign a lambda to an option that takes a function
Bram Moolenaar <Bram@vim.org>
parents: 26336
diff changeset
1311 {"imactivatefunc","imaf",P_STRING|P_VI_DEF|P_SECURE|P_FUNC,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1312 #if defined(FEAT_EVAL) && \
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1313 (defined(FEAT_XIM) || defined(IME_WITHOUT_XIM) || defined(VIMDLL))
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1314 (char_u *)&p_imaf, PV_NONE,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1315 did_set_imactivatefunc,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1316 {(char_u *)"", (char_u *)NULL}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1317 # else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1318 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1319 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1320 # endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1321 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1322 {"imactivatekey","imak",P_STRING|P_VI_DEF,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1323 #if defined(FEAT_XIM) && defined(FEAT_GUI_GTK)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1324 (char_u *)&p_imak, PV_NONE,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1325 did_set_imactivatekey,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1326 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1327 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1328 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1329 {(char_u *)"", (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1330 {"imcmdline", "imc", P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1331 (char_u *)&p_imcmdline, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1332 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1333 {"imdisable", "imd", P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1334 #if defined(HAVE_INPUT_METHOD)
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1335 (char_u *)&p_imdisable, PV_NONE,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1336 did_set_imdisable,
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1337 #else
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1338 (char_u *)NULL, PV_NONE, NULL,
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1339 #endif
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1340 {(char_u *)FALSE, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1341 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1342 {"iminsert", "imi", P_NUM|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1343 (char_u *)&p_iminsert, PV_IMI, did_set_iminsert,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1344 {(char_u *)B_IMODE_NONE, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1345 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1346 {"imsearch", "ims", P_NUM|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1347 (char_u *)&p_imsearch, PV_IMS, did_set_imsearch,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1348 {(char_u *)B_IMODE_USE_INSERT, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1349 SCTX_INIT},
26441
65ab0b035dd8 patch 8.2.3751: cannot assign a lambda to an option that takes a function
Bram Moolenaar <Bram@vim.org>
parents: 26336
diff changeset
1350 {"imstatusfunc","imsf",P_STRING|P_VI_DEF|P_SECURE|P_FUNC,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1351 #if defined(FEAT_EVAL) && \
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1352 (defined(FEAT_XIM) || defined(IME_WITHOUT_XIM) || defined(VIMDLL))
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1353 (char_u *)&p_imsf, PV_NONE, did_set_imstatusfunc,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1354 {(char_u *)"", (char_u *)NULL}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1355 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1356 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1357 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1358 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1359 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1360 {"imstyle", "imst", P_NUM|P_VI_DEF|P_SECURE,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1361 #if defined(FEAT_XIM) && defined(FEAT_GUI_GTK)
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1362 (char_u *)&p_imst, PV_NONE, did_set_imstyle,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1363 {(char_u *)IM_OVER_THE_SPOT, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1364 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1365 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1366 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1367 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1368 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1369 {"include", "inc", P_STRING|P_ALLOCED|P_VI_DEF,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1370 #ifdef FEAT_FIND_ID
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1371 (char_u *)&p_inc, PV_INC, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1372 {(char_u *)"^\\s*#\\s*include", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1373 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1374 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1375 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1376 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1377 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1378 {"includeexpr", "inex", P_STRING|P_ALLOCED|P_VI_DEF|P_MLE,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1379 #if defined(FEAT_FIND_ID) && defined(FEAT_EVAL)
32043
6095218c9056 patch 9.0.1353: too many "else if" statements to handle option values
Bram Moolenaar <Bram@vim.org>
parents: 32027
diff changeset
1380 (char_u *)&p_inex, PV_INEX, did_set_optexpr,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1381 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1382 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1383 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1384 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1385 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1386 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1387 {"incsearch", "is", P_BOOL|P_VI_DEF|P_VIM,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1388 (char_u *)&p_is, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1389 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1390 {"indentexpr", "inde", P_STRING|P_ALLOCED|P_VI_DEF|P_VIM|P_MLE,
28942
6cdf55afaae9 patch 8.2.4993: smart/C/lisp indenting is optional
Bram Moolenaar <Bram@vim.org>
parents: 28399
diff changeset
1391 #if defined(FEAT_EVAL)
32043
6095218c9056 patch 9.0.1353: too many "else if" statements to handle option values
Bram Moolenaar <Bram@vim.org>
parents: 32027
diff changeset
1392 (char_u *)&p_inde, PV_INDE, did_set_optexpr,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1393 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1394 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1395 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1396 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1397 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1398 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1399 {"indentkeys", "indk", P_STRING|P_ALLOCED|P_VI_DEF|P_ONECOMMA|P_NODUP,
28942
6cdf55afaae9 patch 8.2.4993: smart/C/lisp indenting is optional
Bram Moolenaar <Bram@vim.org>
parents: 28399
diff changeset
1400 #if defined(FEAT_EVAL)
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1401 (char_u *)&p_indk, PV_INDK, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1402 {INDENTKEYS_DEFAULT, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1403 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1404 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1405 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1406 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1407 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1408 {"infercase", "inf", P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1409 (char_u *)&p_inf, PV_INF, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1410 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1411 {"insertmode", "im", P_BOOL|P_VI_DEF|P_VIM,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1412 (char_u *)&p_im, PV_NONE, did_set_insertmode,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1413 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1414 {"isfname", "isf", P_STRING|P_VI_DEF|P_COMMA|P_NODUP,
32055
8a3f659c7b5e patch 9.0.1359: too many "else if" statements in handling options
Bram Moolenaar <Bram@vim.org>
parents: 32043
diff changeset
1415 (char_u *)&p_isf, PV_NONE, did_set_isopt,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1416 {
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1417 #ifdef BACKSLASH_IN_FILENAME
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1418 // Excluded are: & and ^ are special in cmd.exe
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1419 // ( and ) are used in text separating fnames
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1420 (char_u *)"@,48-57,/,\\,.,-,_,+,,,#,$,%,{,},[,],:,@-@,!,~,=",
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1421 #else
28337
1cd053ebb5fc patch 8.2.4694: avoidance of #elif causes more preproc nesting
Bram Moolenaar <Bram@vim.org>
parents: 28297
diff changeset
1422 # if defined(AMIGA)
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1423 (char_u *)"@,48-57,/,.,-,_,+,,,$,:",
28337
1cd053ebb5fc patch 8.2.4694: avoidance of #elif causes more preproc nesting
Bram Moolenaar <Bram@vim.org>
parents: 28297
diff changeset
1424 # elif defined(VMS)
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1425 (char_u *)"@,48-57,/,.,-,_,+,,,#,$,%,<,>,[,],:,;,~",
28337
1cd053ebb5fc patch 8.2.4694: avoidance of #elif causes more preproc nesting
Bram Moolenaar <Bram@vim.org>
parents: 28297
diff changeset
1426 # else // UNIX et al.
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1427 (char_u *)"@,48-57,/,.,-,_,+,,,#,$,%,~,=",
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1428 # endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1429 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1430 (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1431 {"isident", "isi", P_STRING|P_VI_DEF|P_COMMA|P_NODUP,
32055
8a3f659c7b5e patch 9.0.1359: too many "else if" statements in handling options
Bram Moolenaar <Bram@vim.org>
parents: 32043
diff changeset
1432 (char_u *)&p_isi, PV_NONE, did_set_isopt,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1433 {
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1434 #if defined(MSWIN)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1435 (char_u *)"@,48-57,_,128-167,224-235",
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1436 #else
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1437 (char_u *)"@,48-57,_,192-255",
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1438 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1439 (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1440 {"iskeyword", "isk", P_STRING|P_ALLOCED|P_VIM|P_COMMA|P_NODUP,
32055
8a3f659c7b5e patch 9.0.1359: too many "else if" statements in handling options
Bram Moolenaar <Bram@vim.org>
parents: 32043
diff changeset
1441 (char_u *)&p_isk, PV_ISK, did_set_isopt,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1442 {
27490
fb4c30606b4a patch 8.2.4273: the EBCDIC support is outdated
Bram Moolenaar <Bram@vim.org>
parents: 27130
diff changeset
1443 (char_u *)"@,48-57,_",
fb4c30606b4a patch 8.2.4273: the EBCDIC support is outdated
Bram Moolenaar <Bram@vim.org>
parents: 27130
diff changeset
1444 #if defined(MSWIN)
fb4c30606b4a patch 8.2.4273: the EBCDIC support is outdated
Bram Moolenaar <Bram@vim.org>
parents: 27130
diff changeset
1445 (char_u *)"@,48-57,_,128-167,224-235"
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1446 #else
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1447 ISK_LATIN1
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1448 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1449 } SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1450 {"isprint", "isp", P_STRING|P_VI_DEF|P_RALL|P_COMMA|P_NODUP,
32055
8a3f659c7b5e patch 9.0.1359: too many "else if" statements in handling options
Bram Moolenaar <Bram@vim.org>
parents: 32043
diff changeset
1451 (char_u *)&p_isp, PV_NONE, did_set_isopt,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1452 {
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1453 #if defined(MSWIN) || defined(VMS)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1454 (char_u *)"@,~-255",
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1455 #else
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1456 ISP_LATIN1,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1457 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1458 (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1459 {"joinspaces", "js", P_BOOL|P_VI_DEF|P_VIM,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1460 (char_u *)&p_js, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1461 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1462 {"key", NULL, P_STRING|P_ALLOCED|P_VI_DEF|P_NO_MKRC,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1463 #ifdef FEAT_CRYPT
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1464 (char_u *)&p_key, PV_KEY, did_set_cryptkey,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1465 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1466 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1467 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1468 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1469 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1470 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1471 {"keymap", "kmp", P_STRING|P_ALLOCED|P_VI_DEF|P_RBUF|P_RSTAT|P_NFNAME|P_PRI_MKRC,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1472 #ifdef FEAT_KEYMAP
32055
8a3f659c7b5e patch 9.0.1359: too many "else if" statements in handling options
Bram Moolenaar <Bram@vim.org>
parents: 32043
diff changeset
1473 (char_u *)&p_keymap, PV_KMAP, did_set_keymap,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1474 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1475 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1476 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1477 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1478 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1479 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1480 {"keymodel", "km", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1481 (char_u *)&p_km, PV_NONE, did_set_keymodel,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1482 {(char_u *)"", (char_u *)0L} SCTX_INIT},
31192
dcde141f2d1e patch 9.0.0930: cannot debug the Kitty keyboard protocol with TermDebug
Bram Moolenaar <Bram@vim.org>
parents: 31055
diff changeset
1483 {"keyprotocol", "kpc", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1484 (char_u *)&p_kpc, PV_NONE, did_set_keyprotocol,
31192
dcde141f2d1e patch 9.0.0930: cannot debug the Kitty keyboard protocol with TermDebug
Bram Moolenaar <Bram@vim.org>
parents: 31055
diff changeset
1485 {(char_u *)"kitty:kitty,foot:kitty,wezterm:kitty,xterm:mok2", (char_u *)0L}
dcde141f2d1e patch 9.0.0930: cannot debug the Kitty keyboard protocol with TermDebug
Bram Moolenaar <Bram@vim.org>
parents: 31055
diff changeset
1486 SCTX_INIT},
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1487 {"keywordprg", "kp", P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1488 (char_u *)&p_kp, PV_KP, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1489 {
28337
1cd053ebb5fc patch 8.2.4694: avoidance of #elif causes more preproc nesting
Bram Moolenaar <Bram@vim.org>
parents: 28297
diff changeset
1490 #if defined(MSWIN)
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1491 (char_u *)":help",
28337
1cd053ebb5fc patch 8.2.4694: avoidance of #elif causes more preproc nesting
Bram Moolenaar <Bram@vim.org>
parents: 28297
diff changeset
1492 #elif defined(VMS)
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1493 (char_u *)"help",
28337
1cd053ebb5fc patch 8.2.4694: avoidance of #elif causes more preproc nesting
Bram Moolenaar <Bram@vim.org>
parents: 28297
diff changeset
1494 #elif defined(USEMAN_S)
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1495 (char_u *)"man -s",
28337
1cd053ebb5fc patch 8.2.4694: avoidance of #elif causes more preproc nesting
Bram Moolenaar <Bram@vim.org>
parents: 28297
diff changeset
1496 #else
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1497 (char_u *)"man",
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1498 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1499 (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1500 {"langmap", "lmap", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP|P_SECURE,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1501 #ifdef FEAT_LANGMAP
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1502 (char_u *)&p_langmap, PV_NONE, did_set_langmap,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1503 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1504 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1505 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1506 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1507 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1508 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1509 {"langmenu", "lm", P_STRING|P_VI_DEF|P_NFNAME,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1510 #if defined(FEAT_MENU) && defined(FEAT_MULTI_LANG)
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1511 (char_u *)&p_lm, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1512 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1513 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1514 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1515 {(char_u *)"", (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1516 {"langnoremap", "lnr", P_BOOL|P_VI_DEF,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1517 #ifdef FEAT_LANGMAP
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1518 (char_u *)&p_lnr, PV_NONE, did_set_langnoremap,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1519 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1520 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1521 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1522 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1523 {"langremap", "lrm", P_BOOL|P_VI_DEF,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1524 #ifdef FEAT_LANGMAP
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1525 (char_u *)&p_lrm, PV_NONE, did_set_langremap,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1526 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1527 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1528 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1529 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1530 {"laststatus", "ls", P_NUM|P_VI_DEF|P_RALL,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1531 (char_u *)&p_ls, PV_NONE, did_set_laststatus,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1532 {(char_u *)1L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1533 {"lazyredraw", "lz", P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1534 (char_u *)&p_lz, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1535 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1536 {"linebreak", "lbr", P_BOOL|P_VI_DEF|P_RWIN,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1537 #ifdef FEAT_LINEBREAK
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1538 (char_u *)VAR_WIN, PV_LBR, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1539 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1540 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1541 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1542 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1543 {"lines", NULL, P_NUM|P_NODEFAULT|P_NO_MKRC|P_VI_DEF|P_RCLR,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1544 (char_u *)&Rows, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1545 {
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1546 #if defined(MSWIN)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1547 (char_u *)25L,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1548 #else
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1549 (char_u *)24L,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1550 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1551 (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1552 {"linespace", "lsp", P_NUM|P_VI_DEF|P_RCLR,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1553 #ifdef FEAT_GUI
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1554 (char_u *)&p_linespace, PV_NONE,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1555 did_set_linespace,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1556 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1557 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1558 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1559 #ifdef FEAT_GUI_MSWIN
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1560 {(char_u *)1L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1561 #else
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1562 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1563 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1564 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1565 {"lisp", NULL, P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1566 (char_u *)&p_lisp, PV_LISP, did_set_lisp,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1567 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
30853
40df8a6515f6 patch 9.0.0761: cannot use 'indentexpr' for Lisp indenting
Bram Moolenaar <Bram@vim.org>
parents: 30825
diff changeset
1568 {"lispoptions", "lop", P_STRING|P_ALLOCED|P_VI_DEF|P_ONECOMMA|P_NODUP,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1569 (char_u *)&p_lop, PV_LOP, did_set_lispoptions,
30853
40df8a6515f6 patch 9.0.0761: cannot use 'indentexpr' for Lisp indenting
Bram Moolenaar <Bram@vim.org>
parents: 30825
diff changeset
1570 {(char_u *)"", (char_u *)0L} SCTX_INIT},
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1571 {"lispwords", "lw", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1572 (char_u *)&p_lispwords, PV_LW, NULL,
28942
6cdf55afaae9 patch 8.2.4993: smart/C/lisp indenting is optional
Bram Moolenaar <Bram@vim.org>
parents: 28399
diff changeset
1573 {(char_u *)LISPWORD_VALUE, (char_u *)0L} SCTX_INIT},
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1574 {"list", NULL, P_BOOL|P_VI_DEF|P_RWIN,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1575 (char_u *)VAR_WIN, PV_LIST, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1576 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1577 {"listchars", "lcs", P_STRING|P_VI_DEF|P_RALL|P_ONECOMMA|P_NODUP,
32076
32acf287a9ae patch 9.0.1369: still some "else if" constructs for setting options
Bram Moolenaar <Bram@vim.org>
parents: 32055
diff changeset
1578 (char_u *)&p_lcs, PV_LCS, did_set_chars_option,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1579 {(char_u *)"eol:$", (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1580 {"loadplugins", "lpl", P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1581 (char_u *)&p_lpl, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1582 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1583 {"luadll", NULL, P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1584 #if defined(DYNAMIC_LUA)
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1585 (char_u *)&p_luadll, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1586 {(char_u *)DYNAMIC_LUA_DLL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1587 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1588 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1589 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1590 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1591 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1592 {"macatsui", NULL, P_BOOL|P_VI_DEF|P_RCLR,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1593 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1594 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1595 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1596 {"magic", NULL, P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1597 (char_u *)&p_magic, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1598 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1599 {"makeef", "mef", P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1600 #ifdef FEAT_QUICKFIX
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1601 (char_u *)&p_mef, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1602 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1603 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1604 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1605 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1606 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1607 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1608 {"makeencoding","menc", P_STRING|P_VI_DEF,
32086
45142117e206 patch 9.0.1374: function for setting options not used consistently
Bram Moolenaar <Bram@vim.org>
parents: 32076
diff changeset
1609 (char_u *)&p_menc, PV_MENC, did_set_encoding,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1610 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1611 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1612 {"makeprg", "mp", P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1613 #ifdef FEAT_QUICKFIX
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1614 (char_u *)&p_mp, PV_MP, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1615 # ifdef VMS
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1616 {(char_u *)"MMS", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1617 # else
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1618 {(char_u *)"make", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1619 # endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1620 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1621 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1622 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1623 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1624 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1625 {"matchpairs", "mps", P_STRING|P_ALLOCED|P_VI_DEF|P_ONECOMMA|P_NODUP,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1626 (char_u *)&p_mps, PV_MPS, did_set_matchpairs,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1627 {(char_u *)"(:),{:},[:]", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1628 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1629 {"matchtime", "mat", P_NUM|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1630 (char_u *)&p_mat, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1631 {(char_u *)5L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1632 {"maxcombine", "mco", P_NUM|P_VI_DEF|P_CURSWANT,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1633 (char_u *)&p_mco, PV_NONE, did_set_maxcombine,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1634 {(char_u *)2, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1635 {"maxfuncdepth", "mfd", P_NUM|P_VI_DEF,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1636 #ifdef FEAT_EVAL
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1637 (char_u *)&p_mfd, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1638 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1639 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1640 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1641 {(char_u *)100L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1642 {"maxmapdepth", "mmd", P_NUM|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1643 (char_u *)&p_mmd, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1644 {(char_u *)1000L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1645 {"maxmem", "mm", P_NUM|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1646 (char_u *)&p_mm, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1647 {(char_u *)DFLT_MAXMEM, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1648 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1649 {"maxmempattern","mmp", P_NUM|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1650 (char_u *)&p_mmp, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1651 {(char_u *)1000L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1652 {"maxmemtot", "mmt", P_NUM|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1653 (char_u *)&p_mmt, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1654 {(char_u *)DFLT_MAXMEMTOT, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1655 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1656 {"menuitems", "mis", P_NUM|P_VI_DEF,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1657 #ifdef FEAT_MENU
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1658 (char_u *)&p_mis, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1659 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1660 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1661 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1662 {(char_u *)25L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1663 {"mesg", NULL, P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1664 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1665 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1666 {"mkspellmem", "msm", P_STRING|P_VI_DEF|P_EXPAND|P_SECURE,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1667 #ifdef FEAT_SPELL
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1668 (char_u *)&p_msm, PV_NONE, did_set_mkspellmem,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1669 {(char_u *)"460000,2000,500", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1670 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1671 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1672 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1673 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1674 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1675 {"modeline", "ml", P_BOOL|P_VIM,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1676 (char_u *)&p_ml, PV_ML, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1677 {(char_u *)FALSE, (char_u *)TRUE} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1678 {"modelineexpr", "mle", P_BOOL|P_VI_DEF|P_SECURE,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1679 (char_u *)&p_mle, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1680 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1681 {"modelines", "mls", P_NUM|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1682 (char_u *)&p_mls, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1683 {(char_u *)5L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1684 {"modifiable", "ma", P_BOOL|P_VI_DEF|P_NOGLOB,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1685 (char_u *)&p_ma, PV_MA, did_set_modifiable,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1686 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1687 {"modified", "mod", P_BOOL|P_NO_MKRC|P_VI_DEF|P_RSTAT,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1688 (char_u *)&p_mod, PV_MOD, did_set_modified,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1689 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1690 {"more", NULL, P_BOOL|P_VIM,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1691 (char_u *)&p_more, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1692 {(char_u *)FALSE, (char_u *)TRUE} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1693 {"mouse", NULL, P_STRING|P_VI_DEF|P_FLAGLIST,
32043
6095218c9056 patch 9.0.1353: too many "else if" statements to handle option values
Bram Moolenaar <Bram@vim.org>
parents: 32027
diff changeset
1694 (char_u *)&p_mouse, PV_NONE, did_set_mouse,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1695 {
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1696 #if defined(MSWIN)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1697 (char_u *)"a",
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1698 #else
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1699 (char_u *)"",
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1700 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1701 (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1702 {"mousefocus", "mousef", P_BOOL|P_VI_DEF,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1703 #ifdef FEAT_GUI
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1704 (char_u *)&p_mousef, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1705 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1706 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1707 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1708 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1709 {"mousehide", "mh", P_BOOL|P_VI_DEF,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1710 #ifdef FEAT_GUI
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1711 (char_u *)&p_mh, PV_NONE, did_set_mousehide,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1712 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1713 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1714 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1715 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1716 {"mousemodel", "mousem", P_STRING|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1717 (char_u *)&p_mousem, PV_NONE, did_set_mousemodel,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1718 {
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1719 #if defined(MSWIN)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1720 (char_u *)"popup",
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1721 #else
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1722 # if defined(MACOS_X)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1723 (char_u *)"popup_setpos",
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1724 # else
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1725 (char_u *)"extend",
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1726 # endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1727 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1728 (char_u *)0L} SCTX_INIT},
28297
4190b932e6ca patch 8.2.4674: cannot force getting MouseMove events
Bram Moolenaar <Bram@vim.org>
parents: 27490
diff changeset
1729 {"mousemoveevent", "mousemev", P_BOOL|P_VI_DEF,
4190b932e6ca patch 8.2.4674: cannot force getting MouseMove events
Bram Moolenaar <Bram@vim.org>
parents: 27490
diff changeset
1730 #ifdef FEAT_GUI
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1731 (char_u *)&p_mousemev, PV_NONE, NULL,
28297
4190b932e6ca patch 8.2.4674: cannot force getting MouseMove events
Bram Moolenaar <Bram@vim.org>
parents: 27490
diff changeset
1732 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1733 (char_u *)NULL, PV_NONE, NULL,
28297
4190b932e6ca patch 8.2.4674: cannot force getting MouseMove events
Bram Moolenaar <Bram@vim.org>
parents: 27490
diff changeset
1734 #endif
4190b932e6ca patch 8.2.4674: cannot force getting MouseMove events
Bram Moolenaar <Bram@vim.org>
parents: 27490
diff changeset
1735 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1736 {"mouseshape", "mouses", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1737 #ifdef FEAT_MOUSESHAPE
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1738 (char_u *)&p_mouseshape, PV_NONE,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1739 did_set_mouseshape,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1740 {(char_u *)"i-r:beam,s:updown,sd:udsizing,vs:leftright,vd:lrsizing,m:no,ml:up-arrow,v:rightup-arrow", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1741 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1742 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1743 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1744 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1745 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1746 {"mousetime", "mouset", P_NUM|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1747 (char_u *)&p_mouset, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1748 {(char_u *)500L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1749 {"mzschemedll", NULL, P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1750 #if defined(DYNAMIC_MZSCHEME)
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1751 (char_u *)&p_mzschemedll, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1752 {(char_u *)DYNAMIC_MZSCH_DLL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1753 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1754 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1755 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1756 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1757 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1758 {"mzschemegcdll", NULL, P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1759 #if defined(DYNAMIC_MZSCHEME)
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1760 (char_u *)&p_mzschemegcdll, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1761 {(char_u *)DYNAMIC_MZGC_DLL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1762 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1763 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1764 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1765 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1766 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1767 {"mzquantum", "mzq", P_NUM,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1768 #ifdef FEAT_MZSCHEME
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1769 (char_u *)&p_mzq, PV_NONE, did_set_mzquantum,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1770 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1771 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1772 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1773 {(char_u *)100L, (char_u *)100L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1774 {"novice", NULL, P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1775 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1776 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1777 {"nrformats", "nf", P_STRING|P_ALLOCED|P_VI_DEF|P_ONECOMMA|P_NODUP,
32027
ef124f222fc2 patch 9.0.1345: too many "else if" statements for handling options
Bram Moolenaar <Bram@vim.org>
parents: 31996
diff changeset
1778 (char_u *)&p_nf, PV_NF, did_set_nrformats,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1779 {(char_u *)"bin,octal,hex", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1780 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1781 {"number", "nu", P_BOOL|P_VI_DEF|P_RWIN,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1782 (char_u *)VAR_WIN, PV_NU,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1783 did_set_number_relativenumber,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1784 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1785 {"numberwidth", "nuw", P_NUM|P_RWIN|P_VIM,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1786 #ifdef FEAT_LINEBREAK
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1787 (char_u *)VAR_WIN, PV_NUW, did_set_numberwidth,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1788 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1789 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1790 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1791 {(char_u *)8L, (char_u *)4L} SCTX_INIT},
26441
65ab0b035dd8 patch 8.2.3751: cannot assign a lambda to an option that takes a function
Bram Moolenaar <Bram@vim.org>
parents: 26336
diff changeset
1792 {"omnifunc", "ofu", P_STRING|P_ALLOCED|P_VI_DEF|P_SECURE|P_FUNC,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1793 #ifdef FEAT_COMPL_FUNC
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1794 (char_u *)&p_ofu, PV_OFU, did_set_omnifunc,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1795 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1796 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1797 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1798 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1799 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1800 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1801 {"open", NULL, P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1802 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1803 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1804 {"opendevice", "odev", P_BOOL|P_VI_DEF,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1805 #if defined(MSWIN)
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1806 (char_u *)&p_odev, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1807 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1808 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1809 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1810 {(char_u *)FALSE, (char_u *)FALSE}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1811 SCTX_INIT},
26441
65ab0b035dd8 patch 8.2.3751: cannot assign a lambda to an option that takes a function
Bram Moolenaar <Bram@vim.org>
parents: 26336
diff changeset
1812 {"operatorfunc", "opfunc", P_STRING|P_VI_DEF|P_SECURE|P_FUNC,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1813 (char_u *)&p_opfunc, PV_NONE,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1814 did_set_operatorfunc,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1815 {(char_u *)"", (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1816 {"optimize", "opt", P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1817 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1818 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1819 {"osfiletype", "oft", P_STRING|P_ALLOCED|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1820 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1821 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1822 {"packpath", "pp", P_STRING|P_VI_DEF|P_EXPAND|P_ONECOMMA|P_NODUP
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1823 |P_SECURE,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1824 (char_u *)&p_pp, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1825 {(char_u *)DFLT_RUNTIMEPATH, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1826 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1827 {"paragraphs", "para", P_STRING|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1828 (char_u *)&p_para, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1829 {(char_u *)"IPLPPPQPP TPHPLIPpLpItpplpipbp",
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1830 (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1831 {"paste", NULL, P_BOOL|P_VI_DEF|P_PRI_MKRC,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1832 (char_u *)&p_paste, PV_NONE, did_set_paste,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1833 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1834 {"pastetoggle", "pt", P_STRING|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1835 (char_u *)&p_pt, PV_NONE, did_set_pastetoggle,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1836 {(char_u *)"", (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1837 {"patchexpr", "pex", P_STRING|P_VI_DEF|P_SECURE,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1838 #if defined(FEAT_DIFF) && defined(FEAT_EVAL)
32043
6095218c9056 patch 9.0.1353: too many "else if" statements to handle option values
Bram Moolenaar <Bram@vim.org>
parents: 32027
diff changeset
1839 (char_u *)&p_pex, PV_NONE, did_set_optexpr,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1840 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1841 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1842 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1843 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1844 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1845 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1846 {"patchmode", "pm", P_STRING|P_VI_DEF|P_NFNAME,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1847 (char_u *)&p_pm, PV_NONE,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1848 did_set_backupext_or_patchmode,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1849 {(char_u *)"", (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1850 {"path", "pa", P_STRING|P_EXPAND|P_VI_DEF|P_COMMA|P_NODUP,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1851 (char_u *)&p_path, PV_PATH, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1852 {
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1853 #if defined(AMIGA) || defined(MSWIN)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1854 (char_u *)".,,",
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1855 #else
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1856 (char_u *)".,/usr/include,,",
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1857 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1858 (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1859 {"perldll", NULL, P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1860 #if defined(DYNAMIC_PERL)
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1861 (char_u *)&p_perldll, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1862 {(char_u *)DYNAMIC_PERL_DLL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1863 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1864 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1865 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1866 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1867 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1868 {"preserveindent", "pi", P_BOOL|P_VI_DEF|P_VIM,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1869 (char_u *)&p_pi, PV_PI, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1870 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1871 {"previewheight", "pvh", P_NUM|P_VI_DEF,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1872 #if defined(FEAT_QUICKFIX)
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1873 (char_u *)&p_pvh, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1874 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1875 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1876 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1877 {(char_u *)12L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1878 {"previewpopup", "pvp", P_STRING|P_VI_DEF|P_COMMA|P_NODUP,
18763
49b78d6465e5 patch 8.1.2371: FEAT_TEXT_PROP is a confusing name
Bram Moolenaar <Bram@vim.org>
parents: 18590
diff changeset
1879 #ifdef FEAT_PROP_POPUP
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1880 (char_u *)&p_pvp, PV_NONE, did_set_previewpopup,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1881 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1882 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1883 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1884 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1885 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1886 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1887 {"previewwindow", "pvw", P_BOOL|P_VI_DEF|P_RSTAT|P_NOGLOB,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1888 #if defined(FEAT_QUICKFIX)
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1889 (char_u *)VAR_WIN, PV_PVW, did_set_previewwindow,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1890 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1891 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1892 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1893 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1894 {"printdevice", "pdev", P_STRING|P_VI_DEF|P_SECURE,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1895 #ifdef FEAT_PRINTER
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1896 (char_u *)&p_pdev, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1897 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1898 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1899 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1900 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1901 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1902 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1903 {"printencoding", "penc", P_STRING|P_VI_DEF,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1904 #ifdef FEAT_POSTSCRIPT
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1905 (char_u *)&p_penc, PV_NONE,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1906 did_set_printencoding,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1907 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1908 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1909 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1910 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1911 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1912 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1913 {"printexpr", "pexpr", P_STRING|P_VI_DEF|P_SECURE,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1914 #ifdef FEAT_POSTSCRIPT
32043
6095218c9056 patch 9.0.1353: too many "else if" statements to handle option values
Bram Moolenaar <Bram@vim.org>
parents: 32027
diff changeset
1915 (char_u *)&p_pexpr, PV_NONE, did_set_optexpr,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1916 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1917 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1918 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1919 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1920 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1921 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1922 {"printfont", "pfn", P_STRING|P_VI_DEF,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1923 #ifdef FEAT_PRINTER
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1924 (char_u *)&p_pfn, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1925 {
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1926 # ifdef MSWIN
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1927 (char_u *)"Courier_New:h10",
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1928 # else
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1929 (char_u *)"courier",
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1930 # endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1931 (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1932 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1933 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1934 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1935 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1936 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1937 {"printheader", "pheader", P_STRING|P_VI_DEF|P_GETTEXT,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1938 #ifdef FEAT_PRINTER
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1939 (char_u *)&p_header, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1940 // untranslated to avoid problems when 'encoding'
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1941 // is changed
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1942 {(char_u *)"%<%f%h%m%=Page %N", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1943 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1944 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1945 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1946 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1947 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1948 {"printmbcharset", "pmbcs", P_STRING|P_VI_DEF,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1949 #if defined(FEAT_POSTSCRIPT)
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1950 (char_u *)&p_pmcs, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1951 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1952 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1953 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1954 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1955 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1956 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1957 {"printmbfont", "pmbfn", P_STRING|P_VI_DEF,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1958 #if defined(FEAT_POSTSCRIPT)
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1959 (char_u *)&p_pmfn, PV_NONE, parse_printmbfont,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1960 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1961 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1962 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1963 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1964 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1965 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1966 {"printoptions", "popt", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1967 #ifdef FEAT_PRINTER
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1968 (char_u *)&p_popt, PV_NONE, parse_printoptions,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1969 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1970 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1971 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1972 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1973 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1974 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1975 {"prompt", NULL, P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1976 (char_u *)&p_prompt, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1977 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1978 {"pumheight", "ph", P_NUM|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1979 (char_u *)&p_ph, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1980 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1981 {"pumwidth", "pw", P_NUM|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1982 (char_u *)&p_pw, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1983 {(char_u *)15L, (char_u *)15L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1984 {"pythonthreedll", NULL, P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1985 #if defined(DYNAMIC_PYTHON3)
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1986 (char_u *)&p_py3dll, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1987 {(char_u *)DYNAMIC_PYTHON3_DLL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1988 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1989 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1990 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1991 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1992 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1993 {"pythonthreehome", NULL, P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1994 #if defined(FEAT_PYTHON3)
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1995 (char_u *)&p_py3home, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1996 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1997 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
1998 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1999 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2000 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2001 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2002 {"pythondll", NULL, P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2003 #if defined(DYNAMIC_PYTHON)
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2004 (char_u *)&p_pydll, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2005 {(char_u *)DYNAMIC_PYTHON_DLL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2006 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2007 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2008 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2009 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2010 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2011 {"pythonhome", NULL, P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2012 #if defined(FEAT_PYTHON)
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2013 (char_u *)&p_pyhome, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2014 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2015 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2016 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2017 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2018 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2019 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2020 {"pyxversion", "pyx", P_NUM|P_VI_DEF|P_SECURE,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2021 #if defined(FEAT_PYTHON) || defined(FEAT_PYTHON3)
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2022 (char_u *)&p_pyx, PV_NONE, did_set_pyxversion,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2023 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2024 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2025 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2026 {(char_u *)DEFAULT_PYTHON_VER, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2027 SCTX_INIT},
26441
65ab0b035dd8 patch 8.2.3751: cannot assign a lambda to an option that takes a function
Bram Moolenaar <Bram@vim.org>
parents: 26336
diff changeset
2028 {"quickfixtextfunc", "qftf", P_STRING|P_ALLOCED|P_VI_DEF|P_VIM|P_SECURE|P_FUNC,
20631
d6827bd31d1d patch 8.2.0869: it is not possible to customize the quickfix window contents
Bram Moolenaar <Bram@vim.org>
parents: 20619
diff changeset
2029 #if defined(FEAT_QUICKFIX) && defined(FEAT_EVAL)
d6827bd31d1d patch 8.2.0869: it is not possible to customize the quickfix window contents
Bram Moolenaar <Bram@vim.org>
parents: 20619
diff changeset
2030 (char_u *)&p_qftf, PV_NONE,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2031 did_set_quickfixtextfunc,
20631
d6827bd31d1d patch 8.2.0869: it is not possible to customize the quickfix window contents
Bram Moolenaar <Bram@vim.org>
parents: 20619
diff changeset
2032 {(char_u *)"", (char_u *)0L}
d6827bd31d1d patch 8.2.0869: it is not possible to customize the quickfix window contents
Bram Moolenaar <Bram@vim.org>
parents: 20619
diff changeset
2033 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2034 (char_u *)NULL, PV_NONE, NULL,
20631
d6827bd31d1d patch 8.2.0869: it is not possible to customize the quickfix window contents
Bram Moolenaar <Bram@vim.org>
parents: 20619
diff changeset
2035 {(char_u *)NULL, (char_u *)NULL}
d6827bd31d1d patch 8.2.0869: it is not possible to customize the quickfix window contents
Bram Moolenaar <Bram@vim.org>
parents: 20619
diff changeset
2036 #endif
d6827bd31d1d patch 8.2.0869: it is not possible to customize the quickfix window contents
Bram Moolenaar <Bram@vim.org>
parents: 20619
diff changeset
2037 SCTX_INIT},
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2038 {"quoteescape", "qe", P_STRING|P_ALLOCED|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2039 (char_u *)&p_qe, PV_QE, NULL,
29765
bc6cf208b1b4 patch 9.0.0222: no good reason why text objects are only in larger builds
Bram Moolenaar <Bram@vim.org>
parents: 29387
diff changeset
2040 {(char_u *)"\\", (char_u *)0L} SCTX_INIT},
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2041 {"readonly", "ro", P_BOOL|P_VI_DEF|P_RSTAT|P_NOGLOB,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2042 (char_u *)&p_ro, PV_RO, did_set_readonly,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2043 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2044 {"redraw", NULL, P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2045 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2046 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2047 {"redrawtime", "rdt", P_NUM|P_VI_DEF,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2048 #ifdef FEAT_RELTIME
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2049 (char_u *)&p_rdt, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2050 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2051 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2052 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2053 {(char_u *)2000L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2054 {"regexpengine", "re", P_NUM|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2055 (char_u *)&p_re, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2056 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2057 {"relativenumber", "rnu", P_BOOL|P_VI_DEF|P_RWIN,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2058 (char_u *)VAR_WIN, PV_RNU,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2059 did_set_number_relativenumber,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2060 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2061 {"remap", NULL, P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2062 (char_u *)&p_remap, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2063 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2064 {"renderoptions", "rop", P_STRING|P_ONECOMMA|P_RCLR|P_VI_DEF,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2065 #ifdef FEAT_RENDER_OPTIONS
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2066 (char_u *)&p_rop, PV_NONE, did_set_renderoptions,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2067 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2068 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2069 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2070 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2071 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2072 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2073 {"report", NULL, P_NUM|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2074 (char_u *)&p_report, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2075 {(char_u *)2L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2076 {"restorescreen", "rs", P_BOOL|P_VI_DEF,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2077 #ifdef MSWIN
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2078 (char_u *)&p_rs, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2079 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2080 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2081 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2082 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2083 {"revins", "ri", P_BOOL|P_VI_DEF|P_VIM,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2084 #ifdef FEAT_RIGHTLEFT
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2085 (char_u *)&p_ri, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2086 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2087 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2088 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2089 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2090 {"rightleft", "rl", P_BOOL|P_VI_DEF|P_RWIN,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2091 #ifdef FEAT_RIGHTLEFT
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2092 (char_u *)VAR_WIN, PV_RL, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2093 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2094 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2095 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2096 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2097 {"rightleftcmd", "rlc", P_STRING|P_ALLOCED|P_VI_DEF|P_RWIN,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2098 #ifdef FEAT_RIGHTLEFT
32055
8a3f659c7b5e patch 9.0.1359: too many "else if" statements in handling options
Bram Moolenaar <Bram@vim.org>
parents: 32043
diff changeset
2099 (char_u *)VAR_WIN, PV_RLC, did_set_rightleftcmd,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2100 {(char_u *)"search", (char_u *)NULL}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2101 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2102 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2103 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2104 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2105 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2106 {"rubydll", NULL, P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2107 #if defined(DYNAMIC_RUBY)
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2108 (char_u *)&p_rubydll, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2109 {(char_u *)DYNAMIC_RUBY_DLL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2110 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2111 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2112 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2113 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2114 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2115 {"ruler", "ru", P_BOOL|P_VI_DEF|P_VIM|P_RSTAT,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2116 (char_u *)&p_ru, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2117 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2118 {"rulerformat", "ruf", P_STRING|P_VI_DEF|P_ALLOCED|P_RSTAT|P_MLE,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2119 #ifdef FEAT_STL_OPT
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2120 (char_u *)&p_ruf, PV_NONE, did_set_rulerformat,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2121 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2122 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2123 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2124 {(char_u *)"", (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2125 {"runtimepath", "rtp", P_STRING|P_VI_DEF|P_EXPAND|P_ONECOMMA|P_NODUP
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2126 |P_SECURE,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2127 (char_u *)&p_rtp, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2128 {(char_u *)DFLT_RUNTIMEPATH, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2129 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2130 {"scroll", "scr", P_NUM|P_NO_MKRC|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2131 (char_u *)VAR_WIN, PV_SCROLL, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2132 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2133 {"scrollbind", "scb", P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2134 (char_u *)VAR_WIN, PV_SCBIND, did_set_scrollbind,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2135 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
18526
334b1f897f3a patch 8.1.2257: MS-Windows GUI: scroll wheel always uses current window
Bram Moolenaar <Bram@vim.org>
parents: 18471
diff changeset
2136 {"scrollfocus", "scf", P_BOOL|P_VI_DEF,
334b1f897f3a patch 8.1.2257: MS-Windows GUI: scroll wheel always uses current window
Bram Moolenaar <Bram@vim.org>
parents: 18471
diff changeset
2137 #if defined(MSWIN) && defined(FEAT_GUI)
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2138 (char_u *)&p_scf, PV_NONE, NULL,
18526
334b1f897f3a patch 8.1.2257: MS-Windows GUI: scroll wheel always uses current window
Bram Moolenaar <Bram@vim.org>
parents: 18471
diff changeset
2139 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2140 (char_u *)NULL, PV_NONE, NULL,
18526
334b1f897f3a patch 8.1.2257: MS-Windows GUI: scroll wheel always uses current window
Bram Moolenaar <Bram@vim.org>
parents: 18471
diff changeset
2141 #endif
334b1f897f3a patch 8.1.2257: MS-Windows GUI: scroll wheel always uses current window
Bram Moolenaar <Bram@vim.org>
parents: 18471
diff changeset
2142 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2143 {"scrolljump", "sj", P_NUM|P_VI_DEF|P_VIM,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2144 (char_u *)&p_sj, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2145 {(char_u *)1L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2146 {"scrolloff", "so", P_NUM|P_VI_DEF|P_VIM|P_RALL,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2147 (char_u *)&p_so, PV_SO, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2148 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2149 {"scrollopt", "sbo", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
32027
ef124f222fc2 patch 9.0.1345: too many "else if" statements for handling options
Bram Moolenaar <Bram@vim.org>
parents: 31996
diff changeset
2150 (char_u *)&p_sbo, PV_NONE, did_set_scrollopt,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2151 {(char_u *)"ver,jump", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2152 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2153 {"sections", "sect", P_STRING|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2154 (char_u *)&p_sections, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2155 {(char_u *)"SHNHH HUnhsh", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2156 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2157 {"secure", NULL, P_BOOL|P_VI_DEF|P_SECURE,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2158 (char_u *)&p_secure, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2159 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2160 {"selection", "sel", P_STRING|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2161 (char_u *)&p_sel, PV_NONE, did_set_selection,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2162 {(char_u *)"inclusive", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2163 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2164 {"selectmode", "slm", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
32027
ef124f222fc2 patch 9.0.1345: too many "else if" statements for handling options
Bram Moolenaar <Bram@vim.org>
parents: 31996
diff changeset
2165 (char_u *)&p_slm, PV_NONE, did_set_selectmode,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2166 {(char_u *)"", (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2167 {"sessionoptions", "ssop", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2168 #ifdef FEAT_SESSION
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2169 (char_u *)&p_ssop, PV_NONE,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2170 did_set_sessionoptions,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2171 {(char_u *)"blank,buffers,curdir,folds,help,options,tabpages,winsize,terminal",
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2172 (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2173 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2174 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2175 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2176 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2177 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2178 {"shell", "sh", P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2179 (char_u *)&p_sh, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2180 {
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2181 #ifdef VMS
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2182 (char_u *)"-",
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2183 #else
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2184 # if defined(MSWIN)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2185 (char_u *)"", // set in set_init_1()
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2186 # else
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2187 (char_u *)"sh",
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2188 # endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2189 #endif // VMS
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2190 (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2191 {"shellcmdflag","shcf", P_STRING|P_VI_DEF|P_SECURE,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2192 (char_u *)&p_shcf, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2193 {
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2194 #if defined(MSWIN)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2195 (char_u *)"/c",
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2196 #else
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2197 (char_u *)"-c",
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2198 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2199 (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2200 {"shellpipe", "sp", P_STRING|P_VI_DEF|P_SECURE,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2201 #ifdef FEAT_QUICKFIX
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2202 (char_u *)&p_sp, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2203 {
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2204 #if defined(UNIX)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2205 (char_u *)"| tee",
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2206 #else
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2207 (char_u *)">",
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2208 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2209 (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2210 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2211 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2212 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2213 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2214 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2215 {"shellquote", "shq", P_STRING|P_VI_DEF|P_SECURE,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2216 (char_u *)&p_shq, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2217 {(char_u *)"", (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2218 {"shellredir", "srr", P_STRING|P_VI_DEF|P_SECURE,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2219 (char_u *)&p_srr, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2220 {(char_u *)">", (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2221 {"shellslash", "ssl", P_BOOL|P_VI_DEF,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2222 #ifdef BACKSLASH_IN_FILENAME
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2223 (char_u *)&p_ssl, PV_NONE, did_set_shellslash,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2224 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2225 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2226 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2227 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2228 {"shelltemp", "stmp", P_BOOL,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2229 (char_u *)&p_stmp, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2230 {(char_u *)FALSE, (char_u *)TRUE} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2231 {"shelltype", "st", P_NUM|P_VI_DEF,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2232 #ifdef AMIGA
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2233 (char_u *)&p_st, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2234 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2235 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2236 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2237 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2238 {"shellxquote", "sxq", P_STRING|P_VI_DEF|P_SECURE,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2239 (char_u *)&p_sxq, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2240 {
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2241 #if defined(UNIX) && defined(USE_SYSTEM)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2242 (char_u *)"\"",
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2243 #else
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2244 (char_u *)"",
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2245 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2246 (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2247 {"shellxescape", "sxe", P_STRING|P_VI_DEF|P_SECURE,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2248 (char_u *)&p_sxe, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2249 {
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2250 #if defined(MSWIN)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2251 (char_u *)"\"&|<>()@^",
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2252 #else
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2253 (char_u *)"",
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2254 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2255 (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2256 {"shiftround", "sr", P_BOOL|P_VI_DEF|P_VIM,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2257 (char_u *)&p_sr, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2258 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2259 {"shiftwidth", "sw", P_NUM|P_VI_DEF,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2260 (char_u *)&p_sw, PV_SW,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2261 did_set_shiftwidth_tabstop,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2262 {(char_u *)8L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2263 {"shortmess", "shm", P_STRING|P_VIM|P_FLAGLIST,
32043
6095218c9056 patch 9.0.1353: too many "else if" statements to handle option values
Bram Moolenaar <Bram@vim.org>
parents: 32027
diff changeset
2264 (char_u *)&p_shm, PV_NONE, did_set_shortmess,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2265 {(char_u *)"S", (char_u *)"filnxtToOS"}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2266 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2267 {"shortname", "sn", P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2268 (char_u *)&p_sn, PV_SN, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2269 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2270 {"showbreak", "sbr", P_STRING|P_VI_DEF|P_RALL,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2271 #ifdef FEAT_LINEBREAK
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2272 (char_u *)&p_sbr, PV_SBR, did_set_showbreak,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2273 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2274 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2275 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2276 {(char_u *)"", (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2277 {"showcmd", "sc", P_BOOL|P_VIM,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2278 (char_u *)&p_sc, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2279 {(char_u *)FALSE,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2280 #ifdef UNIX
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2281 (char_u *)FALSE
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2282 #else
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2283 (char_u *)TRUE
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2284 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2285 } SCTX_INIT},
31457
bb797331e21b patch 9.0.1061: cannot display 'showcmd' somewhere else
Bram Moolenaar <Bram@vim.org>
parents: 31299
diff changeset
2286 {"showcmdloc", "sloc", P_STRING|P_RSTAT,
32027
ef124f222fc2 patch 9.0.1345: too many "else if" statements for handling options
Bram Moolenaar <Bram@vim.org>
parents: 31996
diff changeset
2287 (char_u *)&p_sloc, PV_NONE, did_set_showcmdloc,
31457
bb797331e21b patch 9.0.1061: cannot display 'showcmd' somewhere else
Bram Moolenaar <Bram@vim.org>
parents: 31299
diff changeset
2288 {(char_u *)"last", (char_u *)"last"} SCTX_INIT},
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2289 {"showfulltag", "sft", P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2290 (char_u *)&p_sft, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2291 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2292 {"showmatch", "sm", P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2293 (char_u *)&p_sm, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2294 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2295 {"showmode", "smd", P_BOOL|P_VIM,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2296 (char_u *)&p_smd, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2297 {(char_u *)FALSE, (char_u *)TRUE} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2298 {"showtabline", "stal", P_NUM|P_VI_DEF|P_RALL,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2299 (char_u *)&p_stal, PV_NONE, did_set_showtabline,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2300 {(char_u *)1L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2301 {"sidescroll", "ss", P_NUM|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2302 (char_u *)&p_ss, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2303 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2304 {"sidescrolloff", "siso", P_NUM|P_VI_DEF|P_VIM|P_RBUF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2305 (char_u *)&p_siso, PV_SISO, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2306 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2307 {"signcolumn", "scl", P_STRING|P_ALLOCED|P_VI_DEF|P_RCLR,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2308 #ifdef FEAT_SIGNS
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2309 (char_u *)VAR_WIN, PV_SCL, did_set_signcolumn,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2310 {(char_u *)"auto", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2311 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2312 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2313 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2314 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2315 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2316 {"slowopen", "slow", P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2317 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2318 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2319 {"smartcase", "scs", P_BOOL|P_VI_DEF|P_VIM,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2320 (char_u *)&p_scs, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2321 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2322 {"smartindent", "si", P_BOOL|P_VI_DEF|P_VIM,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2323 (char_u *)&p_si, PV_SI, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2324 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2325 {"smarttab", "sta", P_BOOL|P_VI_DEF|P_VIM,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2326 (char_u *)&p_sta, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2327 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
30610
6c6ac189a05f patch 9.0.0640: cannot scroll by screen line if a line wraps
Bram Moolenaar <Bram@vim.org>
parents: 30219
diff changeset
2328 {"smoothscroll", "sms", P_BOOL|P_VI_DEF|P_RWIN,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2329 (char_u *)VAR_WIN, PV_SMS, did_set_smoothscroll,
30610
6c6ac189a05f patch 9.0.0640: cannot scroll by screen line if a line wraps
Bram Moolenaar <Bram@vim.org>
parents: 30219
diff changeset
2330 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2331 {"softtabstop", "sts", P_NUM|P_VI_DEF|P_VIM,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2332 (char_u *)&p_sts, PV_STS, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2333 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2334 {"sourceany", NULL, P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2335 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2336 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2337 {"spell", NULL, P_BOOL|P_VI_DEF|P_RWIN,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2338 #ifdef FEAT_SPELL
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2339 (char_u *)VAR_WIN, PV_SPELL, did_set_spell,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2340 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2341 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2342 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2343 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2344 {"spellcapcheck", "spc", P_STRING|P_ALLOCED|P_VI_DEF|P_RBUF,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2345 #ifdef FEAT_SPELL
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2346 (char_u *)&p_spc, PV_SPC, did_set_spellcapcheck,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2347 {(char_u *)"[.?!]\\_[\\])'\" ]\\+", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2348 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2349 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2350 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2351 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2352 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2353 {"spellfile", "spf", P_STRING|P_EXPAND|P_ALLOCED|P_VI_DEF|P_SECURE
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2354 |P_ONECOMMA,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2355 #ifdef FEAT_SPELL
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2356 (char_u *)&p_spf, PV_SPF, did_set_spellfile,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2357 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2358 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2359 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2360 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2361 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2362 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2363 {"spelllang", "spl", P_STRING|P_ALLOCED|P_VI_DEF|P_ONECOMMA
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2364 |P_RBUF|P_EXPAND,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2365 #ifdef FEAT_SPELL
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2366 (char_u *)&p_spl, PV_SPL, did_set_spelllang,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2367 {(char_u *)"en", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2368 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2369 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2370 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2371 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2372 SCTX_INIT},
20802
ed00f0fbdaef patch 8.2.0953: spell checking doesn't work for CamelCased words
Bram Moolenaar <Bram@vim.org>
parents: 20631
diff changeset
2373 {"spelloptions", "spo", P_STRING|P_ALLOCED|P_VI_DEF
ed00f0fbdaef patch 8.2.0953: spell checking doesn't work for CamelCased words
Bram Moolenaar <Bram@vim.org>
parents: 20631
diff changeset
2374 |P_ONECOMMA|P_NODUP|P_RBUF,
ed00f0fbdaef patch 8.2.0953: spell checking doesn't work for CamelCased words
Bram Moolenaar <Bram@vim.org>
parents: 20631
diff changeset
2375 #ifdef FEAT_SPELL
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2376 (char_u *)&p_spo, PV_SPO, did_set_spelloptions,
20802
ed00f0fbdaef patch 8.2.0953: spell checking doesn't work for CamelCased words
Bram Moolenaar <Bram@vim.org>
parents: 20631
diff changeset
2377 {(char_u *)"", (char_u *)0L}
ed00f0fbdaef patch 8.2.0953: spell checking doesn't work for CamelCased words
Bram Moolenaar <Bram@vim.org>
parents: 20631
diff changeset
2378 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2379 (char_u *)NULL, PV_NONE, NULL,
20802
ed00f0fbdaef patch 8.2.0953: spell checking doesn't work for CamelCased words
Bram Moolenaar <Bram@vim.org>
parents: 20631
diff changeset
2380 {(char_u *)0L, (char_u *)0L}
ed00f0fbdaef patch 8.2.0953: spell checking doesn't work for CamelCased words
Bram Moolenaar <Bram@vim.org>
parents: 20631
diff changeset
2381 #endif
ed00f0fbdaef patch 8.2.0953: spell checking doesn't work for CamelCased words
Bram Moolenaar <Bram@vim.org>
parents: 20631
diff changeset
2382 SCTX_INIT},
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2383 {"spellsuggest", "sps", P_STRING|P_VI_DEF|P_EXPAND|P_SECURE|P_ONECOMMA,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2384 #ifdef FEAT_SPELL
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2385 (char_u *)&p_sps, PV_NONE, did_set_spellsuggest,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2386 {(char_u *)"best", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2387 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2388 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2389 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2390 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2391 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2392 {"splitbelow", "sb", P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2393 (char_u *)&p_sb, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2394 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
30624
f2f35161d75a patch 9.0.0647: the 'splitscroll' option is not a good name
Bram Moolenaar <Bram@vim.org>
parents: 30610
diff changeset
2395 {"splitkeep", "spk", P_STRING,
32027
ef124f222fc2 patch 9.0.1345: too many "else if" statements for handling options
Bram Moolenaar <Bram@vim.org>
parents: 31996
diff changeset
2396 (char_u *)&p_spk, PV_NONE, did_set_splitkeep,
30624
f2f35161d75a patch 9.0.0647: the 'splitscroll' option is not a good name
Bram Moolenaar <Bram@vim.org>
parents: 30610
diff changeset
2397 {(char_u *)"cursor", (char_u *)"cursor"} SCTX_INIT},
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2398 {"splitright", "spr", P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2399 (char_u *)&p_spr, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2400 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2401 {"startofline", "sol", P_BOOL|P_VI_DEF|P_VIM,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2402 (char_u *)&p_sol, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2403 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2404 {"statusline" ,"stl", P_STRING|P_VI_DEF|P_ALLOCED|P_RSTAT|P_MLE,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2405 #ifdef FEAT_STL_OPT
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2406 (char_u *)&p_stl, PV_STL, did_set_statusline,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2407 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2408 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2409 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2410 {(char_u *)"", (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2411 {"suffixes", "su", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2412 (char_u *)&p_su, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2413 {(char_u *)".bak,~,.o,.h,.info,.swp,.obj",
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2414 (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2415 {"suffixesadd", "sua", P_STRING|P_VI_DEF|P_ALLOCED|P_ONECOMMA|P_NODUP,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2416 (char_u *)&p_sua, PV_SUA, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2417 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2418 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2419 {"swapfile", "swf", P_BOOL|P_VI_DEF|P_RSTAT,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2420 (char_u *)&p_swf, PV_SWF, did_set_swapfile,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2421 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2422 {"swapsync", "sws", P_STRING|P_VI_DEF,
32055
8a3f659c7b5e patch 9.0.1359: too many "else if" statements in handling options
Bram Moolenaar <Bram@vim.org>
parents: 32043
diff changeset
2423 (char_u *)&p_sws, PV_NONE, did_set_swapsync,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2424 {(char_u *)"fsync", (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2425 {"switchbuf", "swb", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
32027
ef124f222fc2 patch 9.0.1345: too many "else if" statements for handling options
Bram Moolenaar <Bram@vim.org>
parents: 31996
diff changeset
2426 (char_u *)&p_swb, PV_NONE, did_set_switchbuf,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2427 {(char_u *)"", (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2428 {"synmaxcol", "smc", P_NUM|P_VI_DEF|P_RBUF,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2429 #ifdef FEAT_SYN_HL
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2430 (char_u *)&p_smc, PV_SMC, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2431 {(char_u *)3000L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2432 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2433 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2434 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2435 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2436 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2437 {"syntax", "syn", P_STRING|P_ALLOCED|P_VI_DEF|P_NOGLOB|P_NFNAME,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2438 #ifdef FEAT_SYN_HL
32055
8a3f659c7b5e patch 9.0.1359: too many "else if" statements in handling options
Bram Moolenaar <Bram@vim.org>
parents: 32043
diff changeset
2439 (char_u *)&p_syn, PV_SYN,
8a3f659c7b5e patch 9.0.1359: too many "else if" statements in handling options
Bram Moolenaar <Bram@vim.org>
parents: 32043
diff changeset
2440 did_set_filetype_or_syntax,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2441 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2442 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2443 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2444 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2445 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2446 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2447 {"tabline", "tal", P_STRING|P_VI_DEF|P_RALL|P_MLE,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2448 #ifdef FEAT_STL_OPT
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2449 (char_u *)&p_tal, PV_NONE, did_set_tabline,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2450 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2451 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2452 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2453 {(char_u *)"", (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2454 {"tabpagemax", "tpm", P_NUM|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2455 (char_u *)&p_tpm, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2456 {(char_u *)10L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2457 {"tabstop", "ts", P_NUM|P_VI_DEF|P_RBUF,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2458 (char_u *)&p_ts, PV_TS,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2459 did_set_shiftwidth_tabstop,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2460 {(char_u *)8L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2461 {"tagbsearch", "tbs", P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2462 (char_u *)&p_tbs, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2463 #ifdef VMS // binary searching doesn't appear to work on VMS
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2464 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2465 #else
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2466 {(char_u *)TRUE, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2467 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2468 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2469 {"tagcase", "tc", P_STRING|P_VIM,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2470 (char_u *)&p_tc, PV_TC, did_set_tagcase,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2471 {(char_u *)"followic", (char_u *)"followic"} SCTX_INIT},
26441
65ab0b035dd8 patch 8.2.3751: cannot assign a lambda to an option that takes a function
Bram Moolenaar <Bram@vim.org>
parents: 26336
diff changeset
2472 {"tagfunc", "tfu", P_STRING|P_ALLOCED|P_VI_DEF|P_SECURE|P_FUNC,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2473 #ifdef FEAT_EVAL
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2474 (char_u *)&p_tfu, PV_TFU, did_set_tagfunc,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2475 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2476 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2477 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2478 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2479 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2480 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2481 {"taglength", "tl", P_NUM|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2482 (char_u *)&p_tl, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2483 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2484 {"tagrelative", "tr", P_BOOL|P_VIM,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2485 (char_u *)&p_tr, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2486 {(char_u *)FALSE, (char_u *)TRUE} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2487 {"tags", "tag", P_STRING|P_EXPAND|P_VI_DEF|P_ONECOMMA|P_NODUP,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2488 (char_u *)&p_tags, PV_TAGS, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2489 {
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2490 #if defined(FEAT_EMACS_TAGS) && !defined(CASE_INSENSITIVE_FILENAME)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2491 (char_u *)"./tags,./TAGS,tags,TAGS",
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2492 #else
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2493 (char_u *)"./tags,tags",
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2494 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2495 (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2496 {"tagstack", "tgst", P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2497 (char_u *)&p_tgst, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2498 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2499 {"tcldll", NULL, P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2500 #if defined(DYNAMIC_TCL)
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2501 (char_u *)&p_tcldll, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2502 {(char_u *)DYNAMIC_TCL_DLL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2503 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2504 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2505 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2506 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2507 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2508 {"term", NULL, P_STRING|P_EXPAND|P_NODEFAULT|P_NO_MKRC|P_VI_DEF|P_RALL,
32096
e7ab58f57ea3 patch 9.0.1379: functions for handling options are not ordered
Bram Moolenaar <Bram@vim.org>
parents: 32086
diff changeset
2509 (char_u *)&T_NAME, PV_NONE, did_set_term,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2510 {(char_u *)"", (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2511 {"termbidi", "tbidi", P_BOOL|P_VI_DEF,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2512 #ifdef FEAT_ARABIC
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2513 (char_u *)&p_tbidi, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2514 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2515 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2516 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2517 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2518 {"termencoding", "tenc", P_STRING|P_VI_DEF|P_RCLR,
32086
45142117e206 patch 9.0.1374: function for setting options not used consistently
Bram Moolenaar <Bram@vim.org>
parents: 32076
diff changeset
2519 (char_u *)&p_tenc, PV_NONE, did_set_encoding,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2520 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2521 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2522 {"termguicolors", "tgc", P_BOOL|P_VI_DEF|P_VIM|P_RCLR,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2523 #ifdef FEAT_TERMGUICOLORS
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2524 (char_u *)&p_tgc, PV_NONE, did_set_termguicolors,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2525 {(char_u *)FALSE, (char_u *)FALSE}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2526 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2527 (char_u*)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2528 {(char_u *)FALSE, (char_u *)FALSE}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2529 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2530 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2531 {"termwinkey", "twk", P_STRING|P_ALLOCED|P_RWIN|P_VI_DEF,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2532 #ifdef FEAT_TERMINAL
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2533 (char_u *)VAR_WIN, PV_TWK, did_set_termwinkey,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2534 {(char_u *)"", (char_u *)NULL}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2535 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2536 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2537 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2538 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2539 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2540 {"termwinscroll", "twsl", P_NUM|P_VI_DEF|P_VIM|P_RBUF,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2541 #ifdef FEAT_TERMINAL
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2542 (char_u *)&p_twsl, PV_TWSL, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2543 {(char_u *)10000L, (char_u *)10000L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2544 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2545 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2546 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2547 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2548 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2549 {"termwinsize", "tws", P_STRING|P_ALLOCED|P_RWIN|P_VI_DEF,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2550 #ifdef FEAT_TERMINAL
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2551 (char_u *)VAR_WIN, PV_TWS, did_set_termwinsize,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2552 {(char_u *)"", (char_u *)NULL}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2553 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2554 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2555 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2556 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2557 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2558 {"termwintype", "twt", P_STRING|P_ALLOCED|P_VI_DEF,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2559 #if defined(MSWIN) && defined(FEAT_TERMINAL)
32027
ef124f222fc2 patch 9.0.1345: too many "else if" statements for handling options
Bram Moolenaar <Bram@vim.org>
parents: 31996
diff changeset
2560 (char_u *)&p_twt, PV_NONE, did_set_termwintype,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2561 {(char_u *)"", (char_u *)NULL}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2562 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2563 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2564 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2565 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2566 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2567 {"terse", NULL, P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2568 (char_u *)&p_terse, PV_NONE, did_set_terse,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2569 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2570 {"textauto", "ta", P_BOOL|P_VIM,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2571 (char_u *)&p_ta, PV_NONE, did_set_textauto,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2572 {(char_u *)DFLT_TEXTAUTO, (char_u *)TRUE}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2573 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2574 {"textmode", "tx", P_BOOL|P_VI_DEF|P_NO_MKRC,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2575 (char_u *)&p_tx, PV_TX, did_set_textmode,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2576 {
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2577 #ifdef USE_CRNL
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2578 (char_u *)TRUE,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2579 #else
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2580 (char_u *)FALSE,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2581 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2582 (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2583 {"textwidth", "tw", P_NUM|P_VI_DEF|P_VIM|P_RBUF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2584 (char_u *)&p_tw, PV_TW, did_set_textwidth,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2585 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2586 {"thesaurus", "tsr", P_STRING|P_EXPAND|P_VI_DEF|P_ONECOMMA|P_NODUP|P_NDNAME,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2587 (char_u *)&p_tsr, PV_TSR, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2588 {(char_u *)"", (char_u *)0L} SCTX_INIT},
26441
65ab0b035dd8 patch 8.2.3751: cannot assign a lambda to an option that takes a function
Bram Moolenaar <Bram@vim.org>
parents: 26336
diff changeset
2589 {"thesaurusfunc", "tsrfu", P_STRING|P_ALLOCED|P_VI_DEF|P_SECURE|P_FUNC,
25974
416237f1de22 patch 8.2.3520: cannot define a function for thesaurus completion
Bram Moolenaar <Bram@vim.org>
parents: 25380
diff changeset
2590 #ifdef FEAT_COMPL_FUNC
25990
ac330e2fecc4 patch 8.2.3528: 'thesaurus' and 'thesaurusfunc' do not have the same scope
Bram Moolenaar <Bram@vim.org>
parents: 25982
diff changeset
2591 (char_u *)&p_tsrfu, PV_TSRFU,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2592 did_set_thesaurusfunc,
25974
416237f1de22 patch 8.2.3520: cannot define a function for thesaurus completion
Bram Moolenaar <Bram@vim.org>
parents: 25380
diff changeset
2593 {(char_u *)"", (char_u *)0L}
416237f1de22 patch 8.2.3520: cannot define a function for thesaurus completion
Bram Moolenaar <Bram@vim.org>
parents: 25380
diff changeset
2594 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2595 (char_u *)NULL, PV_NONE, NULL,
25974
416237f1de22 patch 8.2.3520: cannot define a function for thesaurus completion
Bram Moolenaar <Bram@vim.org>
parents: 25380
diff changeset
2596 {(char_u *)0L, (char_u *)0L}
416237f1de22 patch 8.2.3520: cannot define a function for thesaurus completion
Bram Moolenaar <Bram@vim.org>
parents: 25380
diff changeset
2597 #endif
416237f1de22 patch 8.2.3520: cannot define a function for thesaurus completion
Bram Moolenaar <Bram@vim.org>
parents: 25380
diff changeset
2598 SCTX_INIT},
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2599 {"tildeop", "top", P_BOOL|P_VI_DEF|P_VIM,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2600 (char_u *)&p_to, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2601 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2602 {"timeout", "to", P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2603 (char_u *)&p_timeout, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2604 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2605 {"timeoutlen", "tm", P_NUM|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2606 (char_u *)&p_tm, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2607 {(char_u *)1000L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2608 {"title", NULL, P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2609 (char_u *)&p_title, PV_NONE, did_set_title_icon,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2610 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2611 {"titlelen", NULL, P_NUM|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2612 (char_u *)&p_titlelen, PV_NONE, did_set_titlelen,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2613 {(char_u *)85L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2614 {"titleold", NULL, P_STRING|P_VI_DEF|P_GETTEXT|P_SECURE|P_NO_MKRC,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2615 (char_u *)&p_titleold, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2616 {(char_u *)N_("Thanks for flying Vim"),
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2617 (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2618 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2619 {"titlestring", NULL, P_STRING|P_VI_DEF|P_MLE,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2620 (char_u *)&p_titlestring, PV_NONE,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2621 did_set_titlestring,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2622 {(char_u *)"", (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2623 {"toolbar", "tb", P_STRING|P_ONECOMMA|P_VI_DEF|P_NODUP,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2624 #if defined(FEAT_TOOLBAR) && !defined(FEAT_GUI_MSWIN)
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2625 (char_u *)&p_toolbar, PV_NONE, did_set_toolbar,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2626 {(char_u *)"icons,tooltips", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2627 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2628 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2629 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2630 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2631 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2632 {"toolbariconsize", "tbis", P_STRING|P_VI_DEF,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2633 #if defined(FEAT_TOOLBAR) && defined(FEAT_GUI_GTK)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2634 (char_u *)&p_tbis, PV_NONE,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2635 did_set_toolbariconsize,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2636 {(char_u *)"small", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2637 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2638 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2639 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2640 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2641 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2642 {"ttimeout", NULL, P_BOOL|P_VI_DEF|P_VIM,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2643 (char_u *)&p_ttimeout, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2644 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2645 {"ttimeoutlen", "ttm", P_NUM|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2646 (char_u *)&p_ttm, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2647 {(char_u *)-1L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2648 {"ttybuiltin", "tbi", P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2649 (char_u *)&p_tbi, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2650 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2651 {"ttyfast", "tf", P_BOOL|P_NO_MKRC|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2652 (char_u *)&p_tf, PV_NONE, NULL,
31229
5b71c3884a2a patch 9.0.0948: 'ttyfast' is set for arbitrary terminals
Bram Moolenaar <Bram@vim.org>
parents: 31192
diff changeset
2653 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2654 {"ttymouse", "ttym", P_STRING|P_NODEFAULT|P_NO_MKRC|P_VI_DEF,
18354
9f51d0cef8da patch 8.1.2171: mouse support not always available
Bram Moolenaar <Bram@vim.org>
parents: 18299
diff changeset
2655 #if defined(UNIX) || defined(VMS)
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2656 (char_u *)&p_ttym, PV_NONE, did_set_ttymouse,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2657 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2658 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2659 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2660 {(char_u *)"", (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2661 {"ttyscroll", "tsl", P_NUM|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2662 (char_u *)&p_ttyscroll, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2663 {(char_u *)999L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2664 {"ttytype", "tty", P_STRING|P_EXPAND|P_NODEFAULT|P_NO_MKRC|P_VI_DEF|P_RALL,
32096
e7ab58f57ea3 patch 9.0.1379: functions for handling options are not ordered
Bram Moolenaar <Bram@vim.org>
parents: 32086
diff changeset
2665 (char_u *)&T_NAME, PV_NONE, did_set_term,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2666 {(char_u *)"", (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2667 {"undodir", "udir", P_STRING|P_EXPAND|P_ONECOMMA|P_NODUP|P_SECURE
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2668 |P_VI_DEF,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2669 #ifdef FEAT_PERSISTENT_UNDO
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2670 (char_u *)&p_udir, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2671 {(char_u *)".", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2672 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2673 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2674 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2675 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2676 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2677 {"undofile", "udf", P_BOOL|P_VI_DEF|P_VIM,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2678 #ifdef FEAT_PERSISTENT_UNDO
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2679 (char_u *)&p_udf, PV_UDF, did_set_undofile,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2680 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2681 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2682 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2683 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2684 {"undolevels", "ul", P_NUM|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2685 (char_u *)&p_ul, PV_UL, did_set_undolevels,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2686 {
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2687 #if defined(UNIX) || defined(MSWIN) || defined(VMS)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2688 (char_u *)1000L,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2689 #else
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2690 (char_u *)100L,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2691 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2692 (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2693 {"undoreload", "ur", P_NUM|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2694 (char_u *)&p_ur, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2695 { (char_u *)10000L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2696 {"updatecount", "uc", P_NUM|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2697 (char_u *)&p_uc, PV_NONE, did_set_updatecount,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2698 {(char_u *)200L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2699 {"updatetime", "ut", P_NUM|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2700 (char_u *)&p_ut, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2701 {(char_u *)4000L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2702 {"varsofttabstop", "vsts", P_STRING|P_VI_DEF|P_VIM|P_COMMA,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2703 #ifdef FEAT_VARTABS
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2704 (char_u *)&p_vsts, PV_VSTS,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2705 did_set_varsofttabstop,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2706 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2707 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2708 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2709 {(char_u *)"", (char_u *)NULL}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2710 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2711 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2712 {"vartabstop", "vts", P_STRING|P_VI_DEF|P_VIM|P_RBUF|P_COMMA,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2713 #ifdef FEAT_VARTABS
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2714 (char_u *)&p_vts, PV_VTS, did_set_vartabstop,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2715 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2716 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2717 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2718 {(char_u *)"", (char_u *)NULL}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2719 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2720 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2721 {"verbose", "vbs", P_NUM|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2722 (char_u *)&p_verbose, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2723 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2724 {"verbosefile", "vfile", P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2725 (char_u *)&p_vfile, PV_NONE, did_set_verbosefile,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2726 {(char_u *)"", (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2727 {"viewdir", "vdir", P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2728 #ifdef FEAT_SESSION
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2729 (char_u *)&p_vdir, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2730 {(char_u *)DFLT_VDIR, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2731 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2732 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2733 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2734 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2735 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2736 {"viewoptions", "vop", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2737 #ifdef FEAT_SESSION
32027
ef124f222fc2 patch 9.0.1345: too many "else if" statements for handling options
Bram Moolenaar <Bram@vim.org>
parents: 31996
diff changeset
2738 (char_u *)&p_vop, PV_NONE, did_set_viewoptions,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2739 {(char_u *)"folds,options,cursor,curdir",
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2740 (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2741 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2742 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2743 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2744 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2745 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2746 {"viminfo", "vi", P_STRING|P_ONECOMMA|P_NODUP|P_SECURE,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2747 #ifdef FEAT_VIMINFO
32043
6095218c9056 patch 9.0.1353: too many "else if" statements to handle option values
Bram Moolenaar <Bram@vim.org>
parents: 32027
diff changeset
2748 (char_u *)&p_viminfo, PV_NONE, did_set_viminfo,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2749 #if defined(MSWIN)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2750 {(char_u *)"", (char_u *)"'100,<50,s10,h,rA:,rB:"}
28337
1cd053ebb5fc patch 8.2.4694: avoidance of #elif causes more preproc nesting
Bram Moolenaar <Bram@vim.org>
parents: 28297
diff changeset
2751 #elif defined(AMIGA)
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2752 {(char_u *)"",
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2753 (char_u *)"'100,<50,s10,h,rdf0:,rdf1:,rdf2:"}
28337
1cd053ebb5fc patch 8.2.4694: avoidance of #elif causes more preproc nesting
Bram Moolenaar <Bram@vim.org>
parents: 28297
diff changeset
2754 #else
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2755 {(char_u *)"", (char_u *)"'100,<50,s10,h"}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2756 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2757 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2758 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2759 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2760 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2761 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2762 {"viminfofile", "vif", P_STRING|P_EXPAND|P_ONECOMMA|P_NODUP
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2763 |P_SECURE|P_VI_DEF,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2764 #ifdef FEAT_VIMINFO
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2765 (char_u *)&p_viminfofile, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2766 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2767 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2768 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2769 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2770 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2771 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2772 {"virtualedit", "ve", P_STRING|P_ONECOMMA|P_NODUP|P_VI_DEF
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2773 |P_VIM|P_CURSWANT,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2774 (char_u *)&p_ve, PV_VE, did_set_virtualedit,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2775 {(char_u *)"", (char_u *)""}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2776 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2777 {"visualbell", "vb", P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2778 (char_u *)&p_vb, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2779 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2780 {"w300", NULL, P_NUM|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2781 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2782 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2783 {"w1200", NULL, P_NUM|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2784 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2785 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2786 {"w9600", NULL, P_NUM|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2787 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2788 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2789 {"warn", NULL, P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2790 (char_u *)&p_warn, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2791 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2792 {"weirdinvert", "wiv", P_BOOL|P_VI_DEF|P_RCLR,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2793 (char_u *)&p_wiv, PV_NONE, did_set_weirdinvert,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2794 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2795 {"whichwrap", "ww", P_STRING|P_VIM|P_ONECOMMA|P_FLAGLIST,
32043
6095218c9056 patch 9.0.1353: too many "else if" statements to handle option values
Bram Moolenaar <Bram@vim.org>
parents: 32027
diff changeset
2796 (char_u *)&p_ww, PV_NONE, did_set_whichwrap,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2797 {(char_u *)"", (char_u *)"b,s"} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2798 {"wildchar", "wc", P_NUM|P_VIM,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2799 (char_u *)&p_wc, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2800 {(char_u *)(long)Ctrl_E, (char_u *)(long)TAB}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2801 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2802 {"wildcharm", "wcm", P_NUM|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2803 (char_u *)&p_wcm, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2804 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2805 {"wildignore", "wig", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2806 (char_u *)&p_wig, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2807 {(char_u *)"", (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2808 {"wildignorecase", "wic", P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2809 (char_u *)&p_wic, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2810 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2811 {"wildmenu", "wmnu", P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2812 (char_u *)&p_wmnu, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2813 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2814 {"wildmode", "wim", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2815 (char_u *)&p_wim, PV_NONE, did_set_wildmode,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2816 {(char_u *)"full", (char_u *)0L} SCTX_INIT},
20512
33a67d1dcaf0 patch 8.2.0810: error when appending "tagfile" to 'wildoptions'
Bram Moolenaar <Bram@vim.org>
parents: 19137
diff changeset
2817 {"wildoptions", "wop", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP,
32027
ef124f222fc2 patch 9.0.1345: too many "else if" statements for handling options
Bram Moolenaar <Bram@vim.org>
parents: 31996
diff changeset
2818 (char_u *)&p_wop, PV_NONE, did_set_wildoptions,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2819 {(char_u *)"", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2820 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2821 {"winaltkeys", "wak", P_STRING|P_VI_DEF,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2822 #ifdef FEAT_WAK
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2823 (char_u *)&p_wak, PV_NONE, did_set_winaltkeys,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2824 {(char_u *)"menu", (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2825 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2826 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2827 {(char_u *)NULL, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2828 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2829 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2830 {"wincolor", "wcr", P_STRING|P_ALLOCED|P_VI_DEF|P_RWIN,
32027
ef124f222fc2 patch 9.0.1345: too many "else if" statements for handling options
Bram Moolenaar <Bram@vim.org>
parents: 31996
diff changeset
2831 (char_u *)VAR_WIN, PV_WCR, did_set_wincolor,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2832 {(char_u *)"", (char_u *)NULL}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2833 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2834 {"window", "wi", P_NUM|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2835 (char_u *)&p_window, PV_NONE, did_set_window,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2836 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2837 {"winheight", "wh", P_NUM|P_VI_DEF,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2838 (char_u *)&p_wh, PV_NONE,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2839 did_set_winheight_helpheight,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2840 {(char_u *)1L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2841 {"winfixheight", "wfh", P_BOOL|P_VI_DEF|P_RSTAT,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2842 (char_u *)VAR_WIN, PV_WFH, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2843 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2844 {"winfixwidth", "wfw", P_BOOL|P_VI_DEF|P_RSTAT,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2845 (char_u *)VAR_WIN, PV_WFW, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2846 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2847 {"winminheight", "wmh", P_NUM|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2848 (char_u *)&p_wmh, PV_NONE, did_set_winminheight,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2849 {(char_u *)1L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2850 {"winminwidth", "wmw", P_NUM|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2851 (char_u *)&p_wmw, PV_NONE, did_set_winminwidth,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2852 {(char_u *)1L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2853 {"winptydll", NULL, P_STRING|P_EXPAND|P_VI_DEF|P_SECURE,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2854 #if defined(MSWIN) && defined(FEAT_TERMINAL)
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2855 (char_u *)&p_winptydll, PV_NONE, NULL, {
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2856 # ifdef _WIN64
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2857 (char_u *)"winpty64.dll",
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2858 # else
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2859 (char_u *)"winpty32.dll",
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2860 # endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2861 (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2862 #else
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2863 (char_u *)NULL, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2864 {(char_u *)0L, (char_u *)0L}
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2865 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2866 SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2867 {"winwidth", "wiw", P_NUM|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2868 (char_u *)&p_wiw, PV_NONE, did_set_winwidth,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2869 {(char_u *)20L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2870 {"wrap", NULL, P_BOOL|P_VI_DEF|P_RWIN,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2871 (char_u *)VAR_WIN, PV_WRAP, did_set_wrap,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2872 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2873 {"wrapmargin", "wm", P_NUM|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2874 (char_u *)&p_wm, PV_WM, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2875 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2876 {"wrapscan", "ws", P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2877 (char_u *)&p_ws, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2878 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2879 {"write", NULL, P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2880 (char_u *)&p_write, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2881 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2882 {"writeany", "wa", P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2883 (char_u *)&p_wa, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2884 {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2885 {"writebackup", "wb", P_BOOL|P_VI_DEF|P_VIM,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2886 (char_u *)&p_wb, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2887 {
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2888 #ifdef FEAT_WRITEBACKUP
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2889 (char_u *)TRUE,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2890 #else
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2891 (char_u *)FALSE,
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2892 #endif
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2893 (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2894 {"writedelay", "wd", P_NUM|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2895 (char_u *)&p_wd, PV_NONE, NULL,
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2896 {(char_u *)0L, (char_u *)0L} SCTX_INIT},
26670
a77b661439f9 patch 8.2.3864: cannot disable requesting key codes from xterm
Bram Moolenaar <Bram@vim.org>
parents: 26500
diff changeset
2897 {"xtermcodes", NULL, P_BOOL|P_VI_DEF,
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
2898 (char_u *)&p_xtermcodes, PV_NONE, NULL,
26670
a77b661439f9 patch 8.2.3864: cannot disable requesting key codes from xterm
Bram Moolenaar <Bram@vim.org>
parents: 26500
diff changeset
2899 {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2900
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2901 // terminal output codes
31804
50555279168b patch 9.0.1234: the code style has to be checked manually
Bram Moolenaar <Bram@vim.org>
parents: 31672
diff changeset
2902 #define p_term(sss, vvv) \
50555279168b patch 9.0.1234: the code style has to be checked manually
Bram Moolenaar <Bram@vim.org>
parents: 31672
diff changeset
2903 {sss, NULL, P_STRING|P_VI_DEF|P_RALL|P_SECURE, \
32086
45142117e206 patch 9.0.1374: function for setting options not used consistently
Bram Moolenaar <Bram@vim.org>
parents: 32076
diff changeset
2904 (char_u *)&vvv, PV_NONE, did_set_term_option, \
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2905 {(char_u *)"", (char_u *)0L} SCTX_INIT},
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2906
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2907 p_term("t_AB", T_CAB)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2908 p_term("t_AF", T_CAF)
20619
68c206d3a251 patch 8.2.0863: cannot set a separate color for underline/undercurl
Bram Moolenaar <Bram@vim.org>
parents: 20512
diff changeset
2909 p_term("t_AU", T_CAU)
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2910 p_term("t_AL", T_CAL)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2911 p_term("t_al", T_AL)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2912 p_term("t_bc", T_BC)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2913 p_term("t_BE", T_BE)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2914 p_term("t_BD", T_BD)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2915 p_term("t_cd", T_CD)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2916 p_term("t_ce", T_CE)
29328
60977de70684 patch 9.0.0007: no support for double, dotted and dashed underlines
Bram Moolenaar <Bram@vim.org>
parents: 28942
diff changeset
2917 p_term("t_Ce", T_UCE)
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2918 p_term("t_cl", T_CL)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2919 p_term("t_cm", T_CM)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2920 p_term("t_Co", T_CCO)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2921 p_term("t_CS", T_CCS)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2922 p_term("t_Cs", T_UCS)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2923 p_term("t_cs", T_CS)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2924 p_term("t_CV", T_CSV)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2925 p_term("t_da", T_DA)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2926 p_term("t_db", T_DB)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2927 p_term("t_DL", T_CDL)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2928 p_term("t_dl", T_DL)
29328
60977de70684 patch 9.0.0007: no support for double, dotted and dashed underlines
Bram Moolenaar <Bram@vim.org>
parents: 28942
diff changeset
2929 p_term("t_ds", T_DS)
60977de70684 patch 9.0.0007: no support for double, dotted and dashed underlines
Bram Moolenaar <Bram@vim.org>
parents: 28942
diff changeset
2930 p_term("t_Ds", T_CDS)
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2931 p_term("t_EC", T_CEC)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2932 p_term("t_EI", T_CEI)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2933 p_term("t_fs", T_FS)
23606
f98939164e91 patch 8.2.2345: no focus events in a terminal
Bram Moolenaar <Bram@vim.org>
parents: 21745
diff changeset
2934 p_term("t_fd", T_FD)
f98939164e91 patch 8.2.2345: no focus events in a terminal
Bram Moolenaar <Bram@vim.org>
parents: 21745
diff changeset
2935 p_term("t_fe", T_FE)
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2936 p_term("t_GP", T_CGP)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2937 p_term("t_IE", T_CIE)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2938 p_term("t_IS", T_CIS)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2939 p_term("t_ke", T_KE)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2940 p_term("t_ks", T_KS)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2941 p_term("t_le", T_LE)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2942 p_term("t_mb", T_MB)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2943 p_term("t_md", T_MD)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2944 p_term("t_me", T_ME)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2945 p_term("t_mr", T_MR)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2946 p_term("t_ms", T_MS)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2947 p_term("t_nd", T_ND)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2948 p_term("t_op", T_OP)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2949 p_term("t_RF", T_RFG)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2950 p_term("t_RB", T_RBG)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2951 p_term("t_RC", T_CRC)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2952 p_term("t_RI", T_CRI)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2953 p_term("t_Ri", T_SRI)
31299
f8d32833cf31 patch 9.0.0983: stray characters displayed when starting the GUI
Bram Moolenaar <Bram@vim.org>
parents: 31229
diff changeset
2954 p_term("t_RK", T_CRK)
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2955 p_term("t_RS", T_CRS)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2956 p_term("t_RT", T_CRT)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2957 p_term("t_RV", T_CRV)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2958 p_term("t_Sb", T_CSB)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2959 p_term("t_SC", T_CSC)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2960 p_term("t_se", T_SE)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2961 p_term("t_Sf", T_CSF)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2962 p_term("t_SH", T_CSH)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2963 p_term("t_SI", T_CSI)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2964 p_term("t_Si", T_SSI)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2965 p_term("t_so", T_SO)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2966 p_term("t_SR", T_CSR)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2967 p_term("t_sr", T_SR)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2968 p_term("t_ST", T_CST)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2969 p_term("t_Te", T_STE)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2970 p_term("t_te", T_TE)
18299
a9cf41bcb5d6 patch 8.1.2144: side effects when using t_ti to enable modifyOtherKeys
Bram Moolenaar <Bram@vim.org>
parents: 18203
diff changeset
2971 p_term("t_TE", T_CTE)
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2972 p_term("t_ti", T_TI)
18299
a9cf41bcb5d6 patch 8.1.2144: side effects when using t_ti to enable modifyOtherKeys
Bram Moolenaar <Bram@vim.org>
parents: 18203
diff changeset
2973 p_term("t_TI", T_CTI)
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2974 p_term("t_Ts", T_STS)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2975 p_term("t_ts", T_TS)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2976 p_term("t_u7", T_U7)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2977 p_term("t_ue", T_UE)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2978 p_term("t_us", T_US)
29328
60977de70684 patch 9.0.0007: no support for double, dotted and dashed underlines
Bram Moolenaar <Bram@vim.org>
parents: 28942
diff changeset
2979 p_term("t_Us", T_USS)
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2980 p_term("t_ut", T_UT)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2981 p_term("t_vb", T_VB)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2982 p_term("t_ve", T_VE)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2983 p_term("t_vi", T_VI)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2984 p_term("t_VS", T_CVS)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2985 p_term("t_vs", T_VS)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2986 p_term("t_WP", T_CWP)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2987 p_term("t_WS", T_CWS)
31672
9dc48932db8e patch 9.0.1168: code to enable/disable mouse is not from terminfo/termcap
Bram Moolenaar <Bram@vim.org>
parents: 31457
diff changeset
2988 p_term("t_XM", T_CXM)
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2989 p_term("t_xn", T_XN)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2990 p_term("t_xs", T_XS)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2991 p_term("t_ZH", T_CZH)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2992 p_term("t_ZR", T_CZR)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2993 p_term("t_8f", T_8F)
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2994 p_term("t_8b", T_8B)
20619
68c206d3a251 patch 8.2.0863: cannot set a separate color for underline/undercurl
Bram Moolenaar <Bram@vim.org>
parents: 20512
diff changeset
2995 p_term("t_8u", T_8U)
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2996
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2997 // terminal key codes are not in here
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2998
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2999 // end marker
31996
ca6bc7c04163 patch 9.0.1330: handling new value of an option has a long "else if" chain
Bram Moolenaar <Bram@vim.org>
parents: 31804
diff changeset
3000 {NULL, NULL, 0, NULL, PV_NONE, NULL, {NULL, NULL} SCTX_INIT}
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3001 };
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3002
24768
7334bf933510 patch 8.2.2922: computing array length is done in various ways
Bram Moolenaar <Bram@vim.org>
parents: 24268
diff changeset
3003 #define OPTION_COUNT ARRAY_LENGTH(options)
18054
88b5c2b4e3d2 patch 8.1.2022: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3004
18100
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18068
diff changeset
3005 // The following is needed to make the gen_opt_test.vim script work.
df5778d73320 patch 8.1.2045: the option.c file is too big
Bram Moolenaar <Bram@vim.org>
parents: 18068
diff changeset
3006 // {"