Mercurial > vim
diff src/testdir/test_cmdline.vim @ 24909:09d222e89a84 v8.2.2992
patch 8.2.2992: Vim9: completion for :disassemble is incomplete
Commit: https://github.com/vim/vim/commit/4ee9d8e04daa97a3d0a19d7d2eed76b7721301e6
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 13 18:38:48 2021 +0200
patch 8.2.2992: Vim9: completion for :disassemble is incomplete
Problem: Vim9: completion for :disassemble is incomplete.
Solution: Recognize the "debug" and "profile" arguments.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 13 Jun 2021 18:45:03 +0200 |
parents | 8388176a0954 |
children | df3d056b4663 |
line wrap: on
line diff
--- a/src/testdir/test_cmdline.vim +++ b/src/testdir/test_cmdline.vim @@ -810,6 +810,16 @@ func Test_cmdline_complete_various() call feedkeys(":legac call strle\<C-A>\<C-B>\"\<CR>", 'xt') call assert_equal("\"legac call strlen(", @:) + " completion for the :disassemble command + call feedkeys(":disas deb\<C-A>\<C-B>\"\<CR>", 'xt') + call assert_equal("\"disas debug", @:) + call feedkeys(":disas pro\<C-A>\<C-B>\"\<CR>", 'xt') + call assert_equal("\"disas profile", @:) + call feedkeys(":disas debug Test_cmdline_complete_var\<C-A>\<C-B>\"\<CR>", 'xt') + call assert_equal("\"disas debug Test_cmdline_complete_various", @:) + call feedkeys(":disas profile Test_cmdline_complete_var\<C-A>\<C-B>\"\<CR>", 'xt') + call assert_equal("\"disas profile Test_cmdline_complete_various", @:) + " completion for the :match command call feedkeys(":match Search /pat/\<C-A>\<C-B>\"\<CR>", 'xt') call assert_equal("\"match Search /pat/\<C-A>", @:)