Reduce confusion in add-highlighter docstring

Closes #2222
This commit is contained in:
Maxime Coste 2018-07-19 08:26:25 +10:00
parent e7782ff14d
commit b1d5fda960

View File

@ -725,7 +725,7 @@ const CommandDesc add_highlighter_cmd = {
"add-highlighter", "add-highlighter",
"addhl", "addhl",
"add-highlighter <path>/<name> <type> <type params>...: add an highlighter to the group identified by <path>\n" "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" " <path> is a '/' delimited path or the parent highlighter, starting with either\n"
" 'global', 'buffer', 'window' or 'shared', if <name> is empty, it will be autogenerated", " 'global', 'buffer', 'window' or 'shared', if <name> is empty, it will be autogenerated",
ParameterDesc{ {}, ParameterDesc::Flags::SwitchesAsPositional, 2 }, ParameterDesc{ {}, ParameterDesc::Flags::SwitchesAsPositional, 2 },
CommandFlags::None, CommandFlags::None,