0
0
mirror of https://github.com/vim/vim.git synced 2025-09-03 21:23:48 -04:00

runtime(doc): fix typo in syntax.txt

closes: #15425

Signed-off-by: Jon Parise <jon@indelible.org>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Jon Parise 2024-08-03 17:40:58 +02:00 committed by Christian Brabandt
parent 15141208e9
commit 947f752a47
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09

View File

@ -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 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). line (or group of continued lines).
- When a match with a sync pattern is found, the rest of the line (or group of - 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. 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). (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: There are two ways how a match with a sync pattern can be used: