]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.1330: handling new value of an option has a long "else if" chain v9.0.1330
authorYegappan Lakshmanan <yegappan@yahoo.com>
Mon, 20 Feb 2023 12:16:39 +0000 (12:16 +0000)
committerBram Moolenaar <Bram@vim.org>
Mon, 20 Feb 2023 12:16:39 +0000 (12:16 +0000)
commitaf93691b53f38784efce0b93fe7644c44a7e382e
tree74e8f31e222aed907e80c4dc5b0bded5f7400537
parent997b8a015cd39141866e953651d55c705275cbd6
patch 9.0.1330: handling new value of an option has a long "else if" chain

Problem:    Handling new value of an option has a long "else if" chain.
Solution:   Use a function pointer. (Yegappan Lakshmanan, closes #12015)
37 files changed:
src/buffer.c
src/clipboard.c
src/evalfunc.c
src/ex_cmds.c
src/ex_docmd.c
src/ex_getln.c
src/gui_xim.c
src/hardcopy.c
src/if_mzsch.c
src/insexpand.c
src/map.c
src/ops.c
src/option.c
src/option.h
src/optiondefs.h
src/optionstr.c
src/proto/clipboard.pro
src/proto/ex_getln.pro
src/proto/gui_xim.pro
src/proto/hardcopy.pro
src/proto/if_mzsch.pro
src/proto/insexpand.pro
src/proto/map.pro
src/proto/ops.pro
src/proto/option.pro
src/proto/optionstr.pro
src/proto/quickfix.pro
src/proto/spell.pro
src/proto/tag.pro
src/quickfix.c
src/spell.c
src/spellfile.c
src/spellsuggest.c
src/structs.h
src/tag.c
src/version.c
src/vim.h