mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.1520: Vim9: CTRL-] used in :def function does not work
Problem: Vim9: CTRL-] used in :def function does not work. Solution: Omit count or prepend colon. (closes #6769)
This commit is contained in:
@@ -3644,8 +3644,10 @@ nv_ident(cmdarg_T *cap)
|
||||
{
|
||||
if (g_cmd)
|
||||
STRCPY(buf, "tj ");
|
||||
else if (cap->count0 == 0)
|
||||
STRCPY(buf, "ta ");
|
||||
else
|
||||
sprintf((char *)buf, "%ldta ", cap->count0);
|
||||
sprintf((char *)buf, ":%ldta ", cap->count0);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user