]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(rst): Correctly end nested comments
authorAntony Lee <anntzer.lee@gmail.com>
Mon, 13 Oct 2025 18:28:58 +0000 (18:28 +0000)
committerChristian Brabandt <cb@256bit.org>
Mon, 13 Oct 2025 18:28:58 +0000 (18:28 +0000)
commit4e9f16dd1ef8b48d4a37fde479adde1758796871
treee077116bbfaff3bd95f75aed5f4fa695a0a599fe
parent47949b4b46965fdabbbe84cbe14027890d4ed3b8
runtime(rst): Correctly end nested comments

Previously, a comment in a directive block would incorrectly mark
all subsequent lines in the directive block as comment, because the
syn-region did not check the leading indent.

related: #18566

Signed-off-by: Antony Lee <anntzer.lee@gmail.com>
Signed-off-by: Marshall Ward <marshall.ward@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/syntax/rst.vim