From 5dd839ce20466eea52e59ecf86456f1ab370d2bd Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 22 Jul 2021 18:48:53 +0200 Subject: patch 8.2.3202: Vim9: tests are only executed for legacy script Problem: Vim9: tests are only executed for legacy script. Solution: Run more tests also for Vim9 script. Fix uncovered problems. --- src/ex_docmd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ex_docmd.c') diff --git a/src/ex_docmd.c b/src/ex_docmd.c index c1d0295f4..2f1fdb604 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -3451,7 +3451,8 @@ find_ex_command( // "varname[]" is an expression. *p == '[' // "varname.key" is an expression. - || (*p == '.' && ASCII_ISALPHA(p[1])))) + || (*p == '.' && (ASCII_ISALPHA(p[1]) + || p[1] == '_')))) { char_u *after = eap->cmd; -- cgit v1.2.1