mirror of
https://github.com/neovim/neovim.git
synced 2025-10-06 01:46:29 +00:00
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)
2e61e2d083
This commit is contained in:
@@ -42,6 +42,13 @@ function Test_wildchar()
|
|||||||
set wildchar&
|
set wildchar&
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
func Test_wildoptions()
|
||||||
|
set wildoptions=
|
||||||
|
set wildoptions+=tagfile
|
||||||
|
set wildoptions+=tagfile
|
||||||
|
call assert_equal('tagfile', &wildoptions)
|
||||||
|
endfunc
|
||||||
|
|
||||||
function! Test_options()
|
function! Test_options()
|
||||||
let caught = 'ok'
|
let caught = 'ok'
|
||||||
try
|
try
|
||||||
|
Reference in New Issue
Block a user