0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 8.2.2669: command line completion does not work after "vim9"

Problem:    Command line completion does not work after "vim9".
Solution:   Include the "9". (Naohiro Ono, closes #8025)
This commit is contained in:
Bram Moolenaar
2021-03-28 15:29:43 +02:00
parent f49a1fcdb9
commit df749a2b9c
4 changed files with 10 additions and 3 deletions

View File

@@ -3553,7 +3553,7 @@ find_ex_command(
}
else if (*p == '9' && STRNCMP("vim9", eap->cmd, 4) == 0)
{
// include "9" for "vim9script"
// include "9" for "vim9*" commands; "vim9cmd" and "vim9script".
++p;
while (ASCII_ISALPHA(*p))
++p;