Fix add-highlighter docstring
This commit is contained in:
parent
619184bdf6
commit
f9fda70de6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user