diff options
| author | Maxime Coste <mawww@kakoune.org> | 2018-07-02 20:36:47 +1000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2018-07-05 07:54:28 +1000 |
| commit | f9fda70de693f6c0363088932bf4ac086021efc3 (patch) | |
| tree | da0ceb4cddd3fefbc38347c5c9c530e4a88c00e3 /src | |
| parent | 619184bdf67b3ef25fb84a3357960bb5d3cd84b9 (diff) | |
Fix add-highlighter docstring
Diffstat (limited to 'src')
| -rw-r--r-- | src/commands.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/commands.cc b/src/commands.cc index f9060739..b2839f10 100644 --- a/src/commands.cc +++ b/src/commands.cc @@ -726,9 +726,9 @@ Highlighter& get_highlighter(const Context& context, StringView path) const CommandDesc add_highlighter_cmd = { "add-highlighter", "addhl", - "add-highlighter <path> <type> <type params>...: add an highlighter to the group identified by <path>\n" - " <path> is a '/' delimited path of highlighters, starting with either\n" - " 'global', 'buffer', 'window' or 'shared'", + "add-highlighter <path>/<name> <type> <type params>...: add an highlighter to the group identified by <path>\n" + " <path> is a '/' delimited path the parent, starting with either\n" + " 'global', 'buffer', 'window' or 'shared', if <name> is empty, it will be autogenerated", ParameterDesc{ {}, ParameterDesc::Flags::SwitchesAsPositional, 2 }, CommandFlags::None, [](const Context& context, CommandParameters params) -> String |
