1
0
forked from aniani/vim

patch 8.2.3383: Vim9: completion for :disassemble adds parenthesis

Problem:    Vim9: completion for :disassemble adds parenthesis.
Solution:   Don't add parenthesis. (Naohiro Ono, closes #8802)
This commit is contained in:
naohiro ono
2021-08-28 15:56:06 +02:00
committed by Bram Moolenaar
parent c8103b4c25
commit 9aecf79c45
3 changed files with 7 additions and 2 deletions

View File

@@ -841,9 +841,11 @@ func Test_cmdline_complete_various()
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", @:)
call feedkeys(":disas Test_cmdline_complete_var\<C-A>\<C-B>\"\<CR>", 'xt')
call assert_equal("\"disas Test_cmdline_complete_various", @:)
call feedkeys(":disas s:WeirdF\<C-A>\<C-B>\"\<CR>", 'xt')
call assert_match('"disas <SNR>\d\+_WeirdFunc()', @:)
call assert_match('"disas <SNR>\d\+_WeirdFunc', @:)
" completion for the :match command
call feedkeys(":match Search /pat/\<C-A>\<C-B>\"\<CR>", 'xt')