Mercurial > vim
diff src/testdir/test_cmdline.vim @ 24256:b471a413d36a v8.2.2669
patch 8.2.2669: command line completion does not work after "vim9"
Commit: https://github.com/vim/vim/commit/df749a2b9cab579b8c0ca6ca91889aa03d2da704
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 28 15:29:43 2021 +0200
patch 8.2.2669: command line completion does not work after "vim9"
Problem: Command line completion does not work after "vim9".
Solution: Include the "9". (Naohiro Ono, closes https://github.com/vim/vim/issues/8025)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 28 Mar 2021 15:30:05 +0200 |
parents | 2a885d095bff |
children | ae44ab8824dd |
line wrap: on
line diff
--- a/src/testdir/test_cmdline.vim +++ b/src/testdir/test_cmdline.vim @@ -871,6 +871,10 @@ func Test_cmdline_complete_various() call feedkeys(":py3\<C-A>\<C-B>\"\<CR>", 'xt') call assert_equal('"py3 py3do py3file', @:) + " completion for the :vim9 commands + call feedkeys(":vim9\<C-A>\<C-B>\"\<CR>", 'xt') + call assert_equal('"vim9cmd vim9script', @:) + " redir @" is not the start of a comment. So complete after that call feedkeys(":redir @\" | cwin\t\<C-B>\"\<CR>", 'xt') call assert_equal('"redir @" | cwindow', @:)