aboutsummaryrefslogtreecommitdiffhomepage
path: root/complete.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-02-02 14:50:22 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-02-02 14:50:22 -0800
commitded81ec186c85d50531a8c45eab9b526dfa70fc1 (patch)
treed2b4622b24a116fca9b6bbc942e5f414720209eb /complete.h
parentcd276030c16896e0da4f0bec66f6eb1f36342f63 (diff)
Teach fish how to put completion data inside a closing quote
Diffstat (limited to 'complete.h')
-rw-r--r--complete.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/complete.h b/complete.h
index d03595c6..555f2a9a 100644
--- a/complete.h
+++ b/complete.h
@@ -80,27 +80,20 @@ enum
Warning: The contents of the completion_t structure is actually
different if this flag is set! Specifically, the completion string
- contains the _entire_ completion token, not only the current
+ contains the _entire_ completion token, not merely its suffix.
*/
COMPLETE_NO_CASE = 1 << 1,
/**
- This completion is the whole argument, not just the remainder. This
- flag must never be set on completions returned from the complete()
- function. It is strictly for internal use in the completion code.
- */
- COMPLETE_WHOLE_ARGUMENT = 1 << 2,
-
- /**
This completion may or may not want a space at the end - guess by
checking the last character of the completion.
*/
- COMPLETE_AUTO_SPACE = 1 << 3,
+ COMPLETE_AUTO_SPACE = 1 << 2,
/**
This completion should be inserted as-is, without escaping.
*/
- COMPLETE_DONT_ESCAPE = 1 << 4
+ COMPLETE_DONT_ESCAPE = 1 << 3
};
typedef int complete_flags_t;