diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-01-17 16:16:44 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-17 16:16:44 +0800 |
commit | fc692dfce1dada0b40356bfcdfc55ee783f9ee2d (patch) | |
tree | bf42fe421a8d384904434d1e9c3ae3aaa065ebcb /test | |
parent | 2093e574c6c934a718f96d0a173aa965d3958a8b (diff) | |
parent | d5126787393075f07d4be9dc37f5d7a3cec9e177 (diff) | |
download | rneovim-fc692dfce1dada0b40356bfcdfc55ee783f9ee2d.tar.gz rneovim-fc692dfce1dada0b40356bfcdfc55ee783f9ee2d.tar.bz2 rneovim-fc692dfce1dada0b40356bfcdfc55ee783f9ee2d.zip |
Merge pull request #21851 from zeertzjq/vim-8.2.4482
vim-patch:8.2.{4482,4485}: fuzzy cmdline custom completion
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/editor/completion_spec.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/functional/editor/completion_spec.lua b/test/functional/editor/completion_spec.lua index c503d7ebfb..22857efe5b 100644 --- a/test/functional/editor/completion_spec.lua +++ b/test/functional/editor/completion_spec.lua @@ -935,6 +935,9 @@ describe('completion', function() eq({'api'}, funcs.getcompletion('vim.ap', 'lua')) eq({'tbl_filter'}, funcs.getcompletion('vim.tbl_fil', 'lua')) eq({'vim'}, funcs.getcompletion('print(vi', 'lua')) + -- fuzzy completion is not supported, so the result should be the same + command('set wildoptions+=fuzzy') + eq({'vim'}, funcs.getcompletion('vi', 'lua')) end) end) |