aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/syntax.txt
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-04-28 23:40:49 +0200
committerJustin M. Keyes <justinkz@gmail.com>2017-04-28 23:49:16 +0200
commit460d5971f6511fb3379029bbd77a732ba9b06df0 (patch)
tree2c2e2120956d3a69b1ce8376fe0c8e7287efa594 /runtime/doc/syntax.txt
parent40fb96c76a46a85adb6a62ab8d83e83fc8e7aca7 (diff)
downloadrneovim-460d5971f6511fb3379029bbd77a732ba9b06df0.tar.gz
rneovim-460d5971f6511fb3379029bbd77a732ba9b06df0.tar.bz2
rneovim-460d5971f6511fb3379029bbd77a732ba9b06df0.zip
vim-patch:2ec618c9feac
Updated runtime files. https://github.com/vim/vim/commit/2ec618c9feac4573b154510236ad8121c77d0eca
Diffstat (limited to 'runtime/doc/syntax.txt')
-rw-r--r--runtime/doc/syntax.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt
index e3da736489..1ee35e19dd 100644
--- a/runtime/doc/syntax.txt
+++ b/runtime/doc/syntax.txt
@@ -3555,7 +3555,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.
@@ -3564,6 +3568,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