aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/complete.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/complete.h')
-rw-r--r--src/complete.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/complete.h b/src/complete.h
index 466ddbe9..deb0c42a 100644
--- a/src/complete.h
+++ b/src/complete.h
@@ -125,6 +125,9 @@ public:
/* "Naturally less than" means in a natural ordering, where digits are treated as numbers. For example, foo10 is naturally greater than foo2 (but alphabetically less than it) */
static bool is_naturally_less_than(const completion_t &a, const completion_t &b);
static bool is_alphabetically_equal_to(const completion_t &a, const completion_t &b);
+
+ /* If this completion replaces the entire token, prepend a prefix. Otherwise do nothing. */
+ void prepend_token_prefix(const wcstring &prefix);
};
enum