summaryrefslogtreecommitdiffstats
path: root/src/vim.h
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-04-09 21:47:10 +0200
committerChristian Brabandt <cb@256bit.org>2024-04-09 21:47:10 +0200
commit9a91d2b72c20f213bbf77f27b7edd01e0e43d5e0 (patch)
treea7eeb41a66f128f991990a2d5785684423306349 /src/vim.h
parent1af0fbf955f799392f614bc38f9d2fcbd9960526 (diff)
patch 9.1.0287: Vim9: comment may be treated as heredoc startv9.1.0287
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>
Diffstat (limited to 'src/vim.h')
-rw-r--r--src/vim.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/vim.h b/src/vim.h
index 7c4f989ff1..4507674fcd 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -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__)) \