summaryrefslogtreecommitdiff
path: root/src/ex_docmd.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-12-19 22:10:13 +0100
committerBram Moolenaar <Bram@vim.org>2020-12-19 22:10:13 +0100
commit8f22f5c3aa0aa96e3843a57f29405625d8514c74 (patch)
treeaea0a069118938db143470a21b3772e5e0995e5b /src/ex_docmd.c
parent17f700ac8b55f27ddb519ecaa8acaa43fc1ae60a (diff)
downloadvim-git-8f22f5c3aa0aa96e3843a57f29405625d8514c74.tar.gz
patch 8.2.2165: Vim9: assignment to dict member does not workv8.2.2165
Problem: Vim9: assignment to dict member does not work. Solution: Fix recognizing dict member. (closes #7484)
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r--src/ex_docmd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index 152eda6c6..95d4dd16b 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -3332,6 +3332,8 @@ find_ex_command(
// When followed by "=" or "+=" then it is an assignment.
++emsg_silent;
+ if (*after == '.')
+ after = skipwhite(after + 1);
if (skip_expr(&after, NULL) == OK)
after = skipwhite(after);
else