mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
updated for version 7.0007
This commit is contained in:
23
src/option.c
23
src/option.c
@@ -1676,6 +1676,24 @@ static struct vimoption
|
||||
#else
|
||||
(char_u *)NULL, PV_NONE,
|
||||
{(char_u *)NULL, (char_u *)0L}
|
||||
#endif
|
||||
},
|
||||
{"printmbcharset", "pmbcs", P_STRING|P_VI_DEF,
|
||||
#if defined(FEAT_POSTSCRIPT) && defined(FEAT_MBYTE)
|
||||
(char_u *)&p_pmcs, PV_NONE,
|
||||
{(char_u *)"", (char_u *)0L}
|
||||
#else
|
||||
(char_u *)NULL, PV_NONE,
|
||||
{(char_u *)NULL, (char_u *)0L}
|
||||
#endif
|
||||
},
|
||||
{"printmbfont", "pmbfn", P_STRING|P_VI_DEF,
|
||||
#if defined(FEAT_POSTSCRIPT) && defined(FEAT_MBYTE)
|
||||
(char_u *)&p_pmfn, PV_NONE,
|
||||
{(char_u *)"", (char_u *)0L}
|
||||
#else
|
||||
(char_u *)NULL, PV_NONE,
|
||||
{(char_u *)NULL, (char_u *)0L}
|
||||
#endif
|
||||
},
|
||||
{"printoptions", "popt", P_STRING|P_VI_DEF|P_COMMA|P_NODUP,
|
||||
@@ -5283,6 +5301,11 @@ did_set_string_option(opt_idx, varp, new_value_alloced, oldval, errbuf,
|
||||
#ifdef FEAT_PRINTER
|
||||
else if (varp == &p_popt)
|
||||
errmsg = parse_list_options(p_popt, printer_opts, OPT_PRINT_NUM_OPTIONS);
|
||||
|
||||
# ifdef FEAT_MBYTE
|
||||
else if (varp == &p_pmfn)
|
||||
errmsg = parse_list_options(p_pmfn, mbfont_opts, OPT_MBFONT_NUM_OPTIONS);
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifdef FEAT_LANGMAP
|
||||
|
Reference in New Issue
Block a user