diff options
| author | Harm te Hennepe <dhtehennepe@gmail.com> | 2016-10-12 23:01:11 +0200 |
|---|---|---|
| committer | Justin M. Keyes <justinkz@gmail.com> | 2016-10-12 23:01:11 +0200 |
| commit | 3a54ce5a73c78d9f45aa12a95cea4ee25f41e298 (patch) | |
| tree | 328e3dd5b28f8f40ad20618aa39dd94d0b53cb2d /src/nvim/testdir | |
| parent | 68f7464eed245a5cc164a81c4d962ed628cfa9e5 (diff) | |
| download | rneovim-3a54ce5a73c78d9f45aa12a95cea4ee25f41e298.tar.gz rneovim-3a54ce5a73c78d9f45aa12a95cea4ee25f41e298.tar.bz2 rneovim-3a54ce5a73c78d9f45aa12a95cea4ee25f41e298.zip | |
vim-patch:7.4.2274 (#5439)
Problem: Command line completion on "find **/filename" drops sub-directory.
Solution: Handle this case separately. (Harm te Hennepe, closes vim/vim#932, closes
vim/vim#939)
https://github.com/vim/vim/commit/73d4e4c8922f6f4d256f910a18f47c0c3a48c28b
Diffstat (limited to 'src/nvim/testdir')
| -rw-r--r-- | src/nvim/testdir/test_cmdline.vim | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_cmdline.vim b/src/nvim/testdir/test_cmdline.vim index 902ec1c05d..006f6b82a8 100644 --- a/src/nvim/testdir/test_cmdline.vim +++ b/src/nvim/testdir/test_cmdline.vim @@ -152,3 +152,11 @@ func Test_getcompletion() call assert_fails('call getcompletion("", "burp")', 'E475:') endfunc + +func Test_expand_star_star() + call mkdir('a/b', 'p') + call writefile(['asdfasdf'], 'a/b/fileXname') + call feedkeys(":find **/fileXname\<Tab>\<CR>", 'xt') + call assert_equal('find a/b/fileXname', getreg(':')) + call delete('a', 'rf') +endfunc |