forked from aniani/vim
patch 8.2.2992: Vim9: completion for :disassemble is incomplete
Problem: Vim9: completion for :disassemble is incomplete. Solution: Recognize the "debug" and "profile" arguments.
This commit is contained in:
@@ -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>", @:)
|
||||
|
Reference in New Issue
Block a user