Commit Graph

9 Commits

Author SHA1 Message Date
Eyal Posener a1f9ea005b
Merge branch 'master' into split-last-equal 2017-11-04 11:52:49 +02:00
Eyal Posener aae7e1e39f Add logic to complete when last flag uses the equal sign
If the last flag is of the form -flag=value, complete the value according to -flag.
2017-11-04 11:32:33 +02:00
Eyal Posener 7ee9623f2b Filter matches as a final stage
This simplifies the prediction logic writing, the predictor
doesn't need to filter our according to line matching, instead
it returns everything and the filtering is done at the end.

This does not break current behavior.
2017-11-04 10:51:40 +02:00
Eyal Posener 61d9904ba1 Fix './' prefix for file completion 2017-05-18 23:29:55 +03:00
Eyal Posener bc5d682221 fix nested files 2017-05-13 00:40:26 +03:00
Eyal Posener f580110640 gocomplete: complete by packages 2017-05-13 00:17:59 +03:00
Eyal Posener 6640208067 Recursive directory lookup
When only one directory matches the result, search recursively
whithin this directory for files.
2017-05-12 22:46:01 +03:00
Eyal Posener d6cbc0e969 predict: when searching for files, show also directories 2017-05-11 21:57:44 +03:00
Eyal Posener 967bae76f3 Add Predictor interface 2017-05-11 20:33:29 +03:00