diff options
author | KunMing Xie <qqzz014@gmail.com> | 2017-11-11 08:26:55 +0800 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-11-11 01:26:55 +0100 |
commit | a2fdd0a72f9d1f72f2e49e80719902a6f555454e (patch) | |
tree | c713f0ae1481ad5cf2eabaa8e4678909d205cf85 /src/nvim/testdir | |
parent | 4fa0970519c332350ce7cc687a0cd93ace17f5ca (diff) | |
download | rneovim-a2fdd0a72f9d1f72f2e49e80719902a6f555454e.tar.gz rneovim-a2fdd0a72f9d1f72f2e49e80719902a6f555454e.tar.bz2 rneovim-a2fdd0a72f9d1f72f2e49e80719902a6f555454e.zip |
vim-patch:8.0.0237 (#7531)
Problem: When setting wildoptions=tagfile the completion context is not set
correctly. (desjardins)
Solution: Check for EXPAND_TAGS_LISTFILES. (Christian Brabandt, closes vim/vim#1399)
https://github.com/vim/vim/commit/ba47b51ff88d91c9bb5aa522183e23a656865697
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r-- | src/nvim/testdir/test_cmdline.vim | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_cmdline.vim b/src/nvim/testdir/test_cmdline.vim index 5abff1838d..5fc519f822 100644 --- a/src/nvim/testdir/test_cmdline.vim +++ b/src/nvim/testdir/test_cmdline.vim @@ -296,3 +296,13 @@ func Test_illegal_address2() call delete('Xtest.vim') endfunc +func Test_cmdline_complete_wildoptions() + help + call feedkeys(":tag /\<c-a>\<c-b>\"\<cr>", 'tx') + let a = join(sort(split(@:)),' ') + set wildoptions=tagfile + call feedkeys(":tag /\<c-a>\<c-b>\"\<cr>", 'tx') + let b = join(sort(split(@:)),' ') + call assert_equal(a, b) + bw! +endfunc |