1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-25 10:32:19 +03:00

Update documentation of region highlighter to match change in 2e0e206951

This commit is contained in:
Jan-Jaap Korpershoek 2018-09-16 19:38:18 +02:00
parent ba9d97ffa7
commit 35dca5866c

View File

@ -2224,10 +2224,11 @@ void register_highlighters()
registry.insert({
"region",
{ RegionsHighlighter::create_region,
"Parameters: [-match-capture] <begin> <end> <recurse> <type> <params>...\n."
"Parameters: [-match-capture] [-recurse <recurse>] <opening> <closing> <type> <params>..."
"Define a region for a regions highlighter, and apply the given delegate\n"
"highlighter as defined by <type> and eventual <params>...\n"
"The region starts at <begin> match and ends at the first <end> match that\n"
"The region starts at <begin> match and ends at the first <end>\n"
"If -recurse is specified, then the region ends at the first <end> that\n"
"does not close a <recurse> match.\n"
"If -match-capture is specified, then regions end/recurse matches must have\n"
"the same \\1 capture content as the begin match to be considered"} });