mirror of
https://github.com/vim/vim.git
synced 2025-11-15 23:14:06 -05:00
patch 9.1.0287: Vim9: comment may be treated as heredoc start
Problem: Vim9: comment may be treated as heredoc start.
(Ernie Rael)
Solution: Use skip_var_list() instead of find_name_end().
(zeertzjq)
fixes: #14444
closes: #14446
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
1af0fbf955
commit
9a91d2b72c
@@ -6894,7 +6894,7 @@ find_name_end(
|
||||
int br_nest = 0;
|
||||
char_u *p;
|
||||
int len;
|
||||
int allow_curly = (flags & FNE_ALLOW_CURLY) || !in_vim9script();
|
||||
int allow_curly = !in_vim9script();
|
||||
|
||||
if (expr_start != NULL)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user