From da66c34a4f7bbd41eb19a56597a9ef28fd675e48 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Wed, 17 Sep 2025 10:13:43 +0800 Subject: [PATCH] vim-patch:0b7d094: runtime(doc): Tweak doc style in syntax.txt (#35810) closes: vim/vim#18310 https://github.com/vim/vim/commit/0b7d094d70eaeb2dbb1288144c28ad2a6fd05902 Co-authored-by: Hirohito Higashi --- runtime/doc/syntax.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index 25a9882bbb..0df739c35b 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -4340,7 +4340,8 @@ Only the immediate containing item (the one at the top of the syntax stack) is considered. Vim does not search other ancestors. If the immediate container neither contains this item via |:syn-contains| nor is named in this item's "containedin=", the match will not start even if some ancestor would allow it. -Note that a |:syn-transparent| region still enforces its own |:syn-contains| list. +Note that a |:syn-transparent| region still enforces its own |:syn-contains| +list. The {group-name}... can be used just like for "contains", as explained above.