diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index 8cefb0e65c..f1490c5237 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: