]> granicus.if.org Git - vim/commit
patch 9.0.1307: setting 'formatoptions' with :let doesn't check for errors v9.0.1307
authorYegappan Lakshmanan <yegappan@yahoo.com>
Mon, 13 Feb 2023 16:10:04 +0000 (16:10 +0000)
committerBram Moolenaar <Bram@vim.org>
Mon, 13 Feb 2023 16:10:04 +0000 (16:10 +0000)
commit32ff96ef018eb1a5bea0953648b4892a6ee71658
treec3a1a5383526dccb92ce5b9289f0a8f42c0f748b
parent5ceb8157bc4608eeff4b7453da31ebe65f08a862
patch 9.0.1307: setting 'formatoptions' with :let doesn't check for errors

Problem:    Setting 'formatoptions' with :let doesn't check for errors.
Solution:   Pass "errbuf" to set_string_option(). (Yegappan Lakshmanan,
            closes #11974, closes #11972)
src/option.c
src/optionstr.c
src/proto/optionstr.pro
src/testdir/test_options.vim
src/version.c