summaryrefslogtreecommitdiffstats
path: root/src/optiondefs.h
diff options
context:
space:
mode:
authorYegappan Lakshmanan <yegappan@yahoo.com>2023-03-02 14:46:48 +0000
committerBram Moolenaar <Bram@vim.org>2023-03-02 14:46:48 +0000
commitc6ff21e876af0e3ad59664dd0f69359c4b6e9f1d (patch)
treeef51d81e472c4addb48ec3e3ccc6a42a659e5be9 /src/optiondefs.h
parent4ed914b18a47192f79f342bea5e8f59e120d5260 (diff)
patch 9.0.1369: still some "else if" constructs for setting optionsv9.0.1369
Problem: Still some "else if" constructs for setting options. Solution: Add a few more functions for handling options. (Yegappan Lakshmanan, closes #12090)
Diffstat (limited to 'src/optiondefs.h')
-rw-r--r--src/optiondefs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/optiondefs.h b/src/optiondefs.h
index 7ba874e97f..89eaf7ae99 100644
--- a/src/optiondefs.h
+++ b/src/optiondefs.h
@@ -944,7 +944,7 @@ static struct vimoption options[] =
{(char_u *)"", (char_u *)0L}
SCTX_INIT},
{"fillchars", "fcs", P_STRING|P_VI_DEF|P_RALL|P_ONECOMMA|P_NODUP,
- (char_u *)&p_fcs, PV_FCS, NULL,
+ (char_u *)&p_fcs, PV_FCS, did_set_chars_option,
{(char_u *)"vert:|,fold:-,eob:~,lastline:@",
(char_u *)0L}
SCTX_INIT},
@@ -1575,7 +1575,7 @@ static struct vimoption options[] =
(char_u *)VAR_WIN, PV_LIST, NULL,
{(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
{"listchars", "lcs", P_STRING|P_VI_DEF|P_RALL|P_ONECOMMA|P_NODUP,
- (char_u *)&p_lcs, PV_LCS, NULL,
+ (char_u *)&p_lcs, PV_LCS, did_set_chars_option,
{(char_u *)"eol:$", (char_u *)0L} SCTX_INIT},
{"loadplugins", "lpl", P_BOOL|P_VI_DEF,
(char_u *)&p_lpl, PV_NONE, NULL,