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

0 views
Skip to first unread message

Christian Brabandt

unread,
Sep 16, 2025, 3:15:19 PM (yesterday) Sep 16
to vim...@googlegroups.com
runtime(doc): Tweak doc style in syntax.txt

Commit: https://github.com/vim/vim/commit/0b7d094d70eaeb2dbb1288144c28ad2a6fd05902
Author: Hirohito Higashi <h.eas...@gmail.com>
Date: Tue Sep 16 19:07:57 2025 +0000

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

closes: https://github.com/vim/vim/issues/18310

Signed-off-by: Hirohito Higashi <h.eas...@gmail.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt
index 5140e84f0..cde13c064 100644
--- a/runtime/doc/syntax.txt
+++ b/runtime/doc/syntax.txt
@@ -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.

Reply all
Reply to author
Forward
0 new messages