mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-06 00:41:15 -03:00
Begin to thread environments explicitly through completions
This commit is contained in:
@@ -149,13 +149,9 @@ void reader_push(const wcstring &name);
|
||||
/// Return to previous reader environment.
|
||||
void reader_pop();
|
||||
|
||||
/// Specify function to use for finding possible tab completions. The function must take these
|
||||
/// arguments:
|
||||
///
|
||||
/// - The command to be completed as a null terminated array of wchar_t
|
||||
/// - An array_list_t in which completions will be inserted.
|
||||
/// Specify function to use for finding possible tab completions.
|
||||
typedef void (*complete_function_t)(const wcstring &, std::vector<completion_t> *,
|
||||
completion_request_flags_t);
|
||||
completion_request_flags_t, const environment_t &);
|
||||
void reader_set_complete_function(complete_function_t);
|
||||
|
||||
/// The type of a highlight function.
|
||||
|
||||
Reference in New Issue
Block a user