doc pages: Document kak_token_to_complete and kak_pos_in_token
Fixes #1845
This commit is contained in:
parent
e93c31ff0d
commit
61c627135a
|
@ -275,6 +275,16 @@ New commands can be defined using the *define-command* command:
|
|||
positional params and output one completion candidate per line.
|
||||
The provided shell command will run after each keypress
|
||||
|
||||
during the executing of the shell command, the following env vars are
|
||||
available:
|
||||
|
||||
- *kak_token_to_complete*::::
|
||||
Index of the token being completed in the command line.
|
||||
|
||||
- *kak_pos_in_token*::::
|
||||
Position of the cursor inside the token being completed, in bytes
|
||||
from token start.
|
||||
|
||||
*-shell-candidates*:::
|
||||
following string is a shell command which takes parameters as
|
||||
positional params and output one completion candidate per line.
|
||||
|
@ -282,6 +292,12 @@ New commands can be defined using the *define-command* command:
|
|||
completion session, candidates are cached and then used by kakoune
|
||||
internal fuzzy engine
|
||||
|
||||
during the executing of the shell command, the following env vars are
|
||||
available:
|
||||
|
||||
- *kak_token_to_complete*::::
|
||||
Index of the token being completed in the command line.
|
||||
|
||||
*-allow-override*:::
|
||||
allow the new command to replace an existing one with the same name
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user