Commit: runtime(doc): fix typo in syntax.txt

2 views
Skip to first unread message

Christian Brabandt

unread,
Aug 3, 2024, 11:45:10 AM8/3/24
to vim...@googlegroups.com
runtime(doc): fix typo in syntax.txt

Commit: https://github.com/vim/vim/commit/947f752a47b107529b5d591e4e24b51237c20497
Author: Jon Parise <j...@indelible.org>
Date: Sat Aug 3 17:40:58 2024 +0200

runtime(doc): fix typo in syntax.txt

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

Signed-off-by: Jon Parise <j...@indelible.org>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt
index 8cefb0e65..f1490c523 100644
--- a/runtime/doc/syntax.txt
+++ b/runtime/doc/syntax.txt
@@ -1,4 +1,4 @@
-*syntax.txt* For Vim version 9.1. Last change: 2024 Jul 31
+*syntax.txt* For Vim version 9.1. Last change: 2024 Aug 03


VIM REFERENCE MANUAL by Bram Moolenaar
@@ -5143,7 +5143,7 @@ matches, nextgroup, etc. But there are a few differences:
line (or group of continued lines).
- When a match with a sync pattern is found, the rest of the line (or group of
continued lines) is searched for another match. The last match is used.
- This is used when a line can contain both the start end the end of a region
+ This is used when a line can contain both the start and the end of a region
(e.g., in a C-comment like /* this */, the last "*/" is used).

There are two ways how a match with a sync pattern can be used:
Reply all
Reply to author
Forward
0 new messages