diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2023-01-26 09:58:27 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2023-01-26 11:55:34 +0800 |
| commit | 6320c91c50e4c0ee5c366241f9a413c4edbfdad8 (patch) | |
| tree | fe86bb030a80ab6459b1903229693a113d5d1088 /src/nvim/testdir/test_cmdline.vim | |
| parent | 6644786db078e019426f90cf85da50e3fa1b6a67 (diff) | |
| download | rneovim-6320c91c50e4c0ee5c366241f9a413c4edbfdad8.tar.gz rneovim-6320c91c50e4c0ee5c366241f9a413c4edbfdad8.tar.bz2 rneovim-6320c91c50e4c0ee5c366241f9a413c4edbfdad8.zip | |
vim-patch:9.0.1231: completion of :runtime does not handle {where} argument
Problem: Completion of :runtime does not handle {where} argument.
Solution: Parse the {where} argument. (closes vim/vim#11863)
https://github.com/vim/vim/commit/3770f4c9cde7b5fcd10b6fa2e665cd0b69450fb2
Diffstat (limited to 'src/nvim/testdir/test_cmdline.vim')
| -rw-r--r-- | src/nvim/testdir/test_cmdline.vim | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/nvim/testdir/test_cmdline.vim b/src/nvim/testdir/test_cmdline.vim index 8f79f0d8a0..cf1d56ae38 100644 --- a/src/nvim/testdir/test_cmdline.vim +++ b/src/nvim/testdir/test_cmdline.vim @@ -542,15 +542,6 @@ func Test_getcompletion() call assert_true(index(l, '<buffer>') >= 0) let l = getcompletion('not', 'mapclear') call assert_equal([], l) - - let l = getcompletion('', 'runtime') - call assert_true(index(l, 'defaults.vim') >= 0) - let l = getcompletion('synt', 'runtime') - call assert_true(index(l, 'syntax') >= 0) - let l = getcompletion('syntax/vi', 'runtime') - call assert_true(index(l, 'syntax/vim.vim') >= 0) - let l = getcompletion('notexitsts', 'runtime') - call assert_equal([], l) let l = getcompletion('.', 'shellcmd') call assert_equal(['./', '../'], filter(l, 'v:val =~ "\\./"')) |