aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/highlight.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2016-02-06 14:58:51 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2016-02-18 17:00:26 -0800
commit5dbf40ca750a1413c5000c6921bff04e17ccd55a (patch)
tree7c0f2c0546ee3c2c648a7881c98f23f90171dbca /src/highlight.h
parent2d68b250253eb07f8f796a6fe5f421efc90b70e1 (diff)
Switch autosuggest_suggest_special to returning a completion_t
Diffstat (limited to 'src/highlight.h')
-rw-r--r--src/highlight.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/highlight.h b/src/highlight.h
index 03e192a2..e2395afc 100644
--- a/src/highlight.h
+++ b/src/highlight.h
@@ -115,7 +115,8 @@ bool autosuggest_validate_from_history(const history_item_t &item, file_detectio
/** Given the command line contents 'str', return via reference a suggestion by specially recognizing the command. The suggestion is escaped. Returns true if we recognized the command (even if we couldn't think of a suggestion for it).
*/
-bool autosuggest_suggest_special(const wcstring &str, const wcstring &working_directory, wcstring *out_suggestion);
+class completion_t;
+bool autosuggest_suggest_special(const wcstring &str, const wcstring &working_directory, completion_t *out_suggestion);
/* Tests whether the specified string cpath is the prefix of anything we could cd to. directories is a list of possible parent directories (typically either the working directory, or the cdpath). This does I/O!