Fix missing spaces / new lines in commands docstring
This commit is contained in:
parent
3aaf646eda
commit
3c05b11196
|
@ -787,7 +787,7 @@ const CommandDesc add_hook_cmd = {
|
||||||
nullptr,
|
nullptr,
|
||||||
"hook <switches> <scope> <hook_name> <filter> <command>: add <command> in <scope> "
|
"hook <switches> <scope> <hook_name> <filter> <command>: add <command> in <scope> "
|
||||||
"to be executed on hook <hook_name> when its parameter matches the <filter> regex\n"
|
"to be executed on hook <hook_name> when its parameter matches the <filter> regex\n"
|
||||||
"scope can be: \n"
|
"<scope> can be:\n"
|
||||||
" * global: hook is executed for any buffer or window\n"
|
" * global: hook is executed for any buffer or window\n"
|
||||||
" * buffer: hook is executed only for the current buffer\n"
|
" * buffer: hook is executed only for the current buffer\n"
|
||||||
" (and any window for that buffer)\n"
|
" (and any window for that buffer)\n"
|
||||||
|
@ -1039,7 +1039,7 @@ const CommandDesc define_command_cmd = {
|
||||||
{ "client-completion", { false, "complete parameters using client name completion" } },
|
{ "client-completion", { false, "complete parameters using client name completion" } },
|
||||||
{ "buffer-completion", { false, "complete parameters using buffer name completion" } },
|
{ "buffer-completion", { false, "complete parameters using buffer name completion" } },
|
||||||
{ "command-completion", { false, "complete parameters using kakoune command completion" } },
|
{ "command-completion", { false, "complete parameters using kakoune command completion" } },
|
||||||
{ "shell-completion", { true, "complete the parameters using the given shell-script" } },
|
{ "shell-completion", { true, "complete parameters using the given shell-script" } },
|
||||||
{ "shell-candidates", { true, "get the parameter candidates using the given shell-script" } } },
|
{ "shell-candidates", { true, "get the parameter candidates using the given shell-script" } } },
|
||||||
ParameterDesc::Flags::None,
|
ParameterDesc::Flags::None,
|
||||||
2, 2
|
2, 2
|
||||||
|
@ -1233,7 +1233,7 @@ const CommandDesc set_option_cmd = {
|
||||||
"set-option",
|
"set-option",
|
||||||
"set",
|
"set",
|
||||||
"set-option <switches> <scope> <name> <value>: set option <name> in <scope> to <value>\n"
|
"set-option <switches> <scope> <name> <value>: set option <name> in <scope> to <value>\n"
|
||||||
"<scope> can be global, buffer, window, or current which refers to the narrowest\n"
|
"<scope> can be global, buffer, window, or current which refers to the narrowest "
|
||||||
"scope the option is set in",
|
"scope the option is set in",
|
||||||
ParameterDesc{
|
ParameterDesc{
|
||||||
{ { "add", { false, "add to option rather than replacing it" } } },
|
{ { "add", { false, "add to option rather than replacing it" } } },
|
||||||
|
@ -1294,8 +1294,8 @@ Completions complete_option(const Context& context, CompletionFlags,
|
||||||
const CommandDesc unset_option_cmd = {
|
const CommandDesc unset_option_cmd = {
|
||||||
"unset-option",
|
"unset-option",
|
||||||
"unset",
|
"unset",
|
||||||
"unset-option <scope> <name>: remove <name> option from scope, falling back on parent scope value"
|
"unset-option <scope> <name>: remove <name> option from scope, falling back on parent scope value\n"
|
||||||
"<scope> can be buffer, window, or current which refers to the narrowest\n"
|
"<scope> can be buffer, window, or current which refers to the narrowest "
|
||||||
"scope the option is set in",
|
"scope the option is set in",
|
||||||
ParameterDesc{ {}, ParameterDesc::Flags::None, 2, 2 },
|
ParameterDesc{ {}, ParameterDesc::Flags::None, 2, 2 },
|
||||||
CommandFlags::None,
|
CommandFlags::None,
|
||||||
|
@ -1315,7 +1315,7 @@ const CommandDesc update_option_cmd = {
|
||||||
nullptr,
|
nullptr,
|
||||||
"update-option <scope> <name>: update <name> option from scope\n"
|
"update-option <scope> <name>: update <name> option from scope\n"
|
||||||
"some option types, such as line-descs or range-descs can be updated to latest buffer timestamp\n"
|
"some option types, such as line-descs or range-descs can be updated to latest buffer timestamp\n"
|
||||||
"<scope> can be buffer, window, or current which refers to the narrowest\n"
|
"<scope> can be buffer, window, or current which refers to the narrowest "
|
||||||
"scope the option is set in",
|
"scope the option is set in",
|
||||||
ParameterDesc{ {}, ParameterDesc::Flags::None, 2, 2 },
|
ParameterDesc{ {}, ParameterDesc::Flags::None, 2, 2 },
|
||||||
CommandFlags::None,
|
CommandFlags::None,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user