vim-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 vim/vim#12090)

c6ff21e876
This commit is contained in:
Lewis Russell
2023-04-26 12:00:12 +01:00
committed by zeertzjq
parent 5cda9c267a
commit d04770a543
4 changed files with 94 additions and 49 deletions

View File

@@ -832,7 +832,8 @@ return {
alloced=true,
redraw={'current_window'},
varname='p_fcs',
defaults={if_true=''}
defaults={if_true=''},
cb='did_set_chars_option'
},
{
full_name='fixendofline', abbreviation='fixeol',
@@ -1485,7 +1486,8 @@ return {
alloced=true,
redraw={'current_window'},
varname='p_lcs',
defaults={if_true="tab:> ,trail:-,nbsp:+"}
defaults={if_true="tab:> ,trail:-,nbsp:+"},
cb='did_set_chars_option'
},
{
full_name='loadplugins', abbreviation='lpl',