diff options
author | Lewis Russell <lewis6991@gmail.com> | 2023-04-26 12:00:12 +0100 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2023-04-28 23:04:12 +0800 |
commit | d04770a5436f2cc054473b983109f7a94dec6878 (patch) | |
tree | 4e1377d36202385bcb0cd0a1f7dcb3f3d99eb7a5 /src/nvim/options.lua | |
parent | 5cda9c267ab951c9d3ba05cddd0e8f63b3a7680a (diff) | |
download | rneovim-d04770a5436f2cc054473b983109f7a94dec6878.tar.gz rneovim-d04770a5436f2cc054473b983109f7a94dec6878.tar.bz2 rneovim-d04770a5436f2cc054473b983109f7a94dec6878.zip |
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)
https://github.com/vim/vim/commit/c6ff21e876af0e3ad59664dd0f69359c4b6e9f1d
Diffstat (limited to 'src/nvim/options.lua')
-rw-r--r-- | src/nvim/options.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/nvim/options.lua b/src/nvim/options.lua index 7ab3e7e27e..aeef336686 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -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', |