summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2015-06-11 19:04:30 +0100
committerMaxime Coste <frrrwww@gmail.com>2015-06-11 19:04:30 +0100
commit2c15dbe6b2f6b6ba1a8d95950c5483703650a96a (patch)
tree79650eacfc03cfc07f7d429111aeaacc6a19de2d /src
parent0555288e462bf927c95002b42300981091bf0a66 (diff)
Fix regions highlighter docstring
Diffstat (limited to 'src')
-rw-r--r--src/highlighters.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/highlighters.cc b/src/highlighters.cc
index a7e5b47a..f1c871d2 100644
--- a/src/highlighters.cc
+++ b/src/highlighters.cc
@@ -1379,11 +1379,11 @@ void register_highlighters()
registry.append({
"regions",
{ RegionsHighlighter::create,
- "Parameters: [-default <default group>] {<name> <begin> <end> <recurse>}..."
+ "Parameters: [-default <default group>] <name> {<region name> <begin> <end> <recurse>}..."
"Split the highlighting into regions defined by the <begin>, <end> and <recurse> regex\n"
- "The region <name> starts at <begin> match, end at <end> match that does not\n"
+ "The region <region name> starts at <begin> match, end at <end> match that does not\n"
"close a <recurse> match. In between region is the <default group>.\n"
- "Highlighting a region is done by adding highlighters into the different <name> subgroups." } });
+ "Highlighting a region is done by adding highlighters into the different <region name> subgroups." } });
}
}