diff options
| author | Maxime Coste <mawww@kakoune.org> | 2018-11-19 20:50:59 +1100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2018-11-19 20:50:59 +1100 |
| commit | 29d4a582d82ba83fda38cae0d7c9bf3914f9bd47 (patch) | |
| tree | 7a877d57475c687fa42544688390d02bb0a44194 /src | |
| parent | c4ffd955701b86289abf4b4eb9361a7d3ef52538 (diff) | |
| parent | 4c68abab11279065ed6170bea2d78285c165cd3a (diff) | |
Merge remote-tracking branch 'Delapouite/typos'
Diffstat (limited to 'src')
| -rw-r--r-- | src/commands.cc | 3 | ||||
| -rw-r--r-- | src/highlighters.cc | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/commands.cc b/src/commands.cc index f65d4a20..bbb32b14 100644 --- a/src/commands.cc +++ b/src/commands.cc @@ -1304,7 +1304,8 @@ const CommandDesc debug_cmd = { const CommandDesc source_cmd = { "source", nullptr, - "source <filename> <params>...: execute commands contained in <filename>", + "source <filename> <params>...: execute commands contained in <filename>\n" + "parameters are available in the sourced script as %arg{0}, %arg{1}, …", ParameterDesc{ {}, ParameterDesc::Flags::None, 1, (size_t)-1 }, CommandFlags::None, CommandHelper{}, diff --git a/src/highlighters.cc b/src/highlighters.cc index 1f8dbfa9..c3206789 100644 --- a/src/highlighters.cc +++ b/src/highlighters.cc @@ -2241,7 +2241,7 @@ void register_highlighters() registry.insert({ "region", { RegionsHighlighter::create_region, - "Parameters: [-match-capture] [-recurse <recurse>] <opening> <closing> <type> <params>..." + "Parameters: [-match-capture] [-recurse <recurse>] <opening> <closing> <type> <params>...\n" "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>\n" |
