mirror of
https://github.com/vim/vim
synced 2025-07-16 09:12:00 +00:00
patch 9.0.1369: still some "else if" constructs for setting options
Problem: Still some "else if" constructs for setting options. Solution: Add a few more functions for handling options. (Yegappan Lakshmanan, closes #12090)
This commit is contained in:
committed by
Bram Moolenaar
parent
4ed914b18a
commit
c6ff21e876
@ -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,
|
||||
|
Reference in New Issue
Block a user