mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
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:
committed by
Bram Moolenaar
parent
c8103b4c25
commit
9aecf79c45
@@ -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)
|
||||
|
Reference in New Issue
Block a user