summaryrefslogtreecommitdiffstats
path: root/runtime/doc/syntax.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-10-01 14:47:05 +0200
committerBram Moolenaar <Bram@vim.org>2016-10-01 14:47:05 +0200
commit2ec618c9feac4573b154510236ad8121c77d0eca (patch)
tree5a0d1b003e7829d735719a7795c5cdeb9959a74d /runtime/doc/syntax.txt
parentb3435b0a3a0967115658d0a8c0224a28969cfa02 (diff)
Updated runtime files.
Diffstat (limited to 'runtime/doc/syntax.txt')
-rw-r--r--runtime/doc/syntax.txt11
1 files changed, 9 insertions, 2 deletions
diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt
index 090012d12d..ba739425b9 100644
--- a/runtime/doc/syntax.txt
+++ b/runtime/doc/syntax.txt
@@ -1,4 +1,4 @@
-*syntax.txt* For Vim version 8.0. Last change: 2016 Sep 13
+*syntax.txt* For Vim version 8.0. Last change: 2016 Sep 29
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -3580,7 +3580,11 @@ DEFINING KEYWORDS *:syn-keyword*
DEFINING MATCHES *:syn-match*
-:sy[ntax] match {group-name} [{options}] [excludenl] {pattern} [{options}]
+:sy[ntax] match {group-name} [{options}]
+ [excludenl]
+ [keepend]
+ {pattern}
+ [{options}]
This defines one match.
@@ -3589,6 +3593,9 @@ DEFINING MATCHES *:syn-match*
[excludenl] Don't make a pattern with the end-of-line "$"
extend a containing match or region. Must be
given before the pattern. |:syn-excludenl|
+ keepend Don't allow contained matches to go past a
+ match with the end pattern. See
+ |:syn-keepend|.
{pattern} The search pattern that defines the match.
See |:syn-pattern| below.
Note that the pattern may match more than one