commit cd25ca5e0caf85a7f5ede3eae73ea51d3deaaeec
parent 525c348c29a63f1948f9221beb1a07ef148c7101
Author: Jan Edmund Lazo <jan.lazo@mail.utoronto.ca>
Date: Sat, 20 Dec 2025 20:54:34 -0500
vim-patch:8.2.3377: Vim9: :disass completion does not understand "s:"
Problem: Vim9: :disass completion does not understand "s:".
Solution: Expand "s:" to a pattern. (closes vim/vim#8780)
https://github.com/vim/vim/commit/47016f57724d3970c54f4ca1f392dff39d3fecae
Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/test/old/testdir/test_cmdline.vim b/test/old/testdir/test_cmdline.vim
@@ -1317,6 +1317,9 @@ func 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 s:WeirdF\<C-A>\<C-B>\"\<CR>", 'xt')
+ " call assert_match('"disas <SNR>\d\+_WeirdFunc()', @:)
+
" call feedkeys(":disas \<S-Tab>\<C-B>\"\<CR>", 'xt')
" call assert_match('"disas <SNR>\d\+_', @:)
" call feedkeys(":disas debug \<S-Tab>\<C-B>\"\<CR>", 'xt')