Module completion
Command completion
This module provides tab completion for luakit commands. Currently, it supports completing URLs from the user's bookmarks and history, and also supports completing partially typed commands.
Functions
completion.exit_completion ()
Return to command mode with original text and with original cursor position.
completion.update_completions (w, text, pos)
Update the list of completions for some input text.
Parameters
-
wType: tableThe current window table.
-
textType: stringThe current input text.
-
posType: numberThe current input cursor position.
Fields
completion.funcs
Type: any type
Read-only
Table of functions used to generate completion entries.
completion.order
Type: any type
Read-write
Array of completion functions from
funcs
, called in order.
Attribution
Authors
Copyright
- 2010-2011 Mason Larobina
- 2010 Fabian Streitel
- 2010 Fabian Streitel