diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-05-22 19:59:28 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-05-22 20:04:10 -0400 |
commit | 0666b23d65c6dd6880166db0d2ed6a150b0554d0 (patch) | |
tree | b8923cdf55408fbf46a326c2901b398b19f0717f | |
parent | 9a8efec8fbbe7d9fb8786de26337e092c2084ef8 (diff) | |
download | rneovim-0666b23d65c6dd6880166db0d2ed6a150b0554d0.tar.gz rneovim-0666b23d65c6dd6880166db0d2ed6a150b0554d0.tar.bz2 rneovim-0666b23d65c6dd6880166db0d2ed6a150b0554d0.zip |
vim-patch:8.2.0810: error when appending "tagfile" to 'wildoptions'
Problem: Error when appending "tagfile" to 'wildoptions'.
Solution: use flags P_ONECOMMA and P_NODUP. (Dmitri Vereshchagin,
closes vim/vim#6105)
https://github.com/vim/vim/commit/2e61e2d08390623fcf933fd06646ac91f81fb772
-rw-r--r-- | src/nvim/testdir/test_options.vim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_options.vim b/src/nvim/testdir/test_options.vim index 41f1710faf..400af33c58 100644 --- a/src/nvim/testdir/test_options.vim +++ b/src/nvim/testdir/test_options.vim @@ -42,6 +42,13 @@ function Test_wildchar() set wildchar& endfunction +func Test_wildoptions() + set wildoptions= + set wildoptions+=tagfile + set wildoptions+=tagfile + call assert_equal('tagfile', &wildoptions) +endfunc + function! Test_options() let caught = 'ok' try |