From 35dca5866c1a3f85c898d5d8d166948e2336c606 Mon Sep 17 00:00:00 2001 From: Jan-Jaap Korpershoek Date: Sun, 16 Sep 2018 19:38:18 +0200 Subject: [PATCH] Update documentation of region highlighter to match change in 2e0e206951adefe71ef559a2a42b23901f5c4531 --- src/highlighters.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/highlighters.cc b/src/highlighters.cc index e75baed82..47820f153 100644 --- a/src/highlighters.cc +++ b/src/highlighters.cc @@ -2224,10 +2224,11 @@ void register_highlighters() registry.insert({ "region", { RegionsHighlighter::create_region, - "Parameters: [-match-capture] ...\n." + "Parameters: [-match-capture] [-recurse ] ..." "Define a region for a regions highlighter, and apply the given delegate\n" "highlighter as defined by and eventual ...\n" - "The region starts at match and ends at the first match that\n" + "The region starts at match and ends at the first \n" + "If -recurse is specified, then the region ends at the first that\n" "does not close a 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"} });