runtime(doc): Tweak doc style in syntax.txt

closes: #18310

Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Hirohito Higashi
2025-09-16 19:07:57 +00:00
committed by Christian Brabandt
parent 684edc7dce
commit 0b7d094d70

View File

@ -4886,7 +4886,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.