mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Expression
- Added configurable 'abbreviation.minimum' (default:2) setting to control how auto-completion works.
This commit is contained in:
parent
a6fadaee67
commit
197524a5fc
16 changed files with 139 additions and 52 deletions
|
@ -482,7 +482,8 @@ void guess (
|
|||
std::string& candidate)
|
||||
{
|
||||
std::vector <std::string> matches;
|
||||
autoComplete (candidate, options, matches);
|
||||
autoComplete (candidate, options, matches,
|
||||
context.config.getInteger ("abbreviation.minimum"));
|
||||
if (1 == matches.size ())
|
||||
candidate = matches[0];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue