summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/testdir/test_cmdline.vim4
-rw-r--r--src/userfunc.c3
-rw-r--r--src/version.c2
3 files changed, 7 insertions, 2 deletions
diff --git a/src/testdir/test_cmdline.vim b/src/testdir/test_cmdline.vim
index 0a71b1118..341a0f113 100644
--- a/src/testdir/test_cmdline.vim
+++ b/src/testdir/test_cmdline.vim
@@ -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')
diff --git a/src/userfunc.c b/src/userfunc.c
index 86a2bec4e..4a2b05e0c 100644
--- a/src/userfunc.c
+++ b/src/userfunc.c
@@ -4625,7 +4625,8 @@ get_user_func_name(expand_T *xp, int idx)
return fp->uf_name; // prevents overflow
cat_func_name(IObuff, fp);
- if (xp->xp_context != EXPAND_USER_FUNC)
+ if (xp->xp_context != EXPAND_USER_FUNC
+ && xp->xp_context != EXPAND_DISASSEMBLE)
{
STRCAT(IObuff, "(");
if (!has_varargs(fp) && fp->uf_args.ga_len == 0)
diff --git a/src/version.c b/src/version.c
index 77935e5e6..a9c5b4cdf 100644
--- a/src/version.c
+++ b/src/version.c
@@ -756,6 +756,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 3383,
+/**/
3382,
/**/
3381,