1
0
forked from aniani/vim

patch 8.2.1293: Vim9: error when using vim9script in TextYankPost

Problem:    Vim9: error when using vim9script in TextYankPost.
Solution:   Use EX_LOCKOK instead of the EX_CMDWIN flag for command that can
            be used when text is locked. (closes #6529)
This commit is contained in:
Bram Moolenaar
2020-07-25 19:30:59 +02:00
parent 2afc3b4f77
commit 2d6b20d6a9
3 changed files with 35 additions and 1 deletions

View File

@@ -3755,7 +3755,9 @@ compile_subscript(
}
}
if (*p == '(')
// Do not skip over white space to find the "(", "exeucte 'x' ()" is
// not a function call.
if (**arg == '(')
{
garray_T *stack = &cctx->ctx_type_stack;
type_T *type;