doc commands: Align mis-indented command flags
This commit is contained in:
parent
cdcf4b0c7d
commit
5931655397
|
@ -410,7 +410,7 @@ but not really useful in that context.
|
||||||
declares a module *name* that is defined by *commands*. *commands* will be
|
declares a module *name* that is defined by *commands*. *commands* will be
|
||||||
evaluated as if by source the first time *require-module <name>* is run.
|
evaluated as if by source the first time *require-module <name>* is run.
|
||||||
|
|
||||||
*-override*:::
|
*-override*:::
|
||||||
allow the module to replace an existing one with the same name. Fails if
|
allow the module to replace an existing one with the same name. Fails if
|
||||||
the module has already been evaluated.
|
the module has already been evaluated.
|
||||||
|
|
||||||
|
@ -437,26 +437,26 @@ New commands can be defined using the *define-command* command:
|
||||||
*commands* is a string containing the commands to execute, and *switches*
|
*commands* is a string containing the commands to execute, and *switches*
|
||||||
can be any combination of the following parameters:
|
can be any combination of the following parameters:
|
||||||
|
|
||||||
*-params* <num>:::
|
*-params* <num>:::
|
||||||
the command accepts a *num* parameter, which can be either a number,
|
the command accepts a *num* parameter, which can be either a number,
|
||||||
or of the form <min>..<max>, with both <min> and <max> omittable
|
or of the form <min>..<max>, with both <min> and <max> omittable
|
||||||
|
|
||||||
*-file-completion*:::
|
*-file-completion*:::
|
||||||
try file completion on any parameter passed to this command
|
try file completion on any parameter passed to this command
|
||||||
|
|
||||||
*-client-completion*:::
|
*-client-completion*:::
|
||||||
try client name completion on any parameter passed to this command
|
try client name completion on any parameter passed to this command
|
||||||
|
|
||||||
*-buffer-completion*:::
|
*-buffer-completion*:::
|
||||||
try buffer name completion on any parameter passed to this command
|
try buffer name completion on any parameter passed to this command
|
||||||
|
|
||||||
*-command-completion*:::
|
*-command-completion*:::
|
||||||
try command completion on any parameter passed to this command
|
try command completion on any parameter passed to this command
|
||||||
|
|
||||||
*-shell-completion*:::
|
*-shell-completion*:::
|
||||||
try shell command completion on any parameter passed to this command
|
try shell command completion on any parameter passed to this command
|
||||||
|
|
||||||
*-shell-script-completion*:::
|
*-shell-script-completion*:::
|
||||||
following string is a shell command which takes parameters as
|
following string is a shell command which takes parameters as
|
||||||
positional params and outputs one completion candidate per line.
|
positional params and outputs one completion candidate per line.
|
||||||
The provided shell command will run after each keypress
|
The provided shell command will run after each keypress
|
||||||
|
@ -471,7 +471,7 @@ New commands can be defined using the *define-command* command:
|
||||||
Position of the cursor inside the token being completed, in bytes
|
Position of the cursor inside the token being completed, in bytes
|
||||||
from token start.
|
from token start.
|
||||||
|
|
||||||
*-shell-script-candidates*:::
|
*-shell-script-candidates*:::
|
||||||
following string is a shell command which takes parameters as
|
following string is a shell command which takes parameters as
|
||||||
positional params and outputs one completion candidate per line.
|
positional params and outputs one completion candidate per line.
|
||||||
The provided shell command will run once at the beginning of each
|
The provided shell command will run once at the beginning of each
|
||||||
|
@ -484,13 +484,13 @@ New commands can be defined using the *define-command* command:
|
||||||
- *kak_token_to_complete*::::
|
- *kak_token_to_complete*::::
|
||||||
Index of the token being completed in the command line.
|
Index of the token being completed in the command line.
|
||||||
|
|
||||||
*-override*:::
|
*-override*:::
|
||||||
allow the new command to replace an existing one with the same name
|
allow the new command to replace an existing one with the same name
|
||||||
|
|
||||||
*-hidden*:::
|
*-hidden*:::
|
||||||
do not show the command in command name completions
|
do not show the command in command name completions
|
||||||
|
|
||||||
*-docstring*:::
|
*-docstring*:::
|
||||||
define the documentation string for the command
|
define the documentation string for the command
|
||||||
|
|
||||||
Using shell expansion allows defining complex commands or accessing
|
Using shell expansion allows defining complex commands or accessing
|
||||||
|
|
Loading…
Reference in New Issue
Block a user