diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-05-22 14:10:36 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-05-22 14:10:36 +0200 |
commit | 2e61e2d08390623fcf933fd06646ac91f81fb772 (patch) | |
tree | 730705564f989cc8f5856fcbc58fc3850d9d7883 /src/testdir/test_options.vim | |
parent | 5a80f8ad5dc0b2cc63400255dcf3c63f6c1a2ef9 (diff) | |
download | vim-git-2e61e2d08390623fcf933fd06646ac91f81fb772.tar.gz |
patch 8.2.0810: error when appending "tagfile" to 'wildoptions'v8.2.0810
Problem: Error when appending "tagfile" to 'wildoptions'.
Solution: use flags P_ONECOMMA and P_NODUP. (Dmitri Vereshchagin,
closes #6105)
Diffstat (limited to 'src/testdir/test_options.vim')
-rw-r--r-- | src/testdir/test_options.vim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/testdir/test_options.vim b/src/testdir/test_options.vim index ce925d817..17ae09496 100644 --- a/src/testdir/test_options.vim +++ b/src/testdir/test_options.vim @@ -60,6 +60,13 @@ func Test_wildchar() set wildchar& endfunc +func Test_wildoptions() + set wildoptions= + set wildoptions+=tagfile + set wildoptions+=tagfile + call assert_equal('tagfile', &wildoptions) +endfunc + func Test_options_command() let caught = 'ok' try |