diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2013-03-05 20:54:16 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2013-03-05 20:54:16 -0800 |
commit | 4d19bb17a9161fc085e7b308d1ac30ec74186c33 (patch) | |
tree | cac5e5e7514ae08c66a43518b531fb86a421d276 /builtin_complete.cpp | |
parent | b2012467b327db8d518f2b01eed3d529609f7349 (diff) |
Break out COMPLETE_NO_CASE and COMPLETE_REPLACES_TOKEN into separate flags, in preparation for upcoming fuzzy completion work
Diffstat (limited to 'builtin_complete.cpp')
-rw-r--r-- | builtin_complete.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin_complete.cpp b/builtin_complete.cpp index b4ac2a38..186fb9bc 100644 --- a/builtin_complete.cpp +++ b/builtin_complete.cpp @@ -545,7 +545,7 @@ static int builtin_complete(parser_t &parser, wchar_t **argv) recursion_level++; std::vector<completion_t> comp; - complete(do_complete_param, comp, COMPLETE_DEFAULT); + complete(do_complete_param, comp, COMPLETION_REQUEST_DEFAULT); for (size_t i=0; i< comp.size() ; i++) { @@ -553,7 +553,7 @@ static int builtin_complete(parser_t &parser, wchar_t **argv) const wchar_t *prepend; - if (next.flags & COMPLETE_NO_CASE) + if (next.flags & COMPLETE_REPLACES_TOKEN) { prepend = L""; } |