summaryrefslogtreecommitdiff
path: root/src/ex_docmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r--src/ex_docmd.c3
1 files changed, 2 insertions, 1 deletions
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;