mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04: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
@@ -2818,7 +2818,6 @@ typedef int (*opt_expand_cb_T)(optexpand_T *args, int *numMatches, char_u ***mat
|
||||
// flags for find_name_end()
|
||||
#define FNE_INCL_BR 1 // include [] in name
|
||||
#define FNE_CHECK_START 2 // check name starts with valid character
|
||||
#define FNE_ALLOW_CURLY 4 // always allow curly braces name
|
||||
|
||||
// BSD is supposed to cover FreeBSD and similar systems.
|
||||
#if (defined(SUN_SYSTEM) || defined(BSD) || defined(__FreeBSD_kernel__)) \
|
||||
|
Reference in New Issue
Block a user