add: fix over-zealous cleanup caught by hydra
This commit is contained in:
parent
63eca19a7f
commit
8e6922c57c
@ -303,6 +303,7 @@ amountCompleter = completer []
|
|||||||
completer :: [String] -> String -> CompletionFunc IO
|
completer :: [String] -> String -> CompletionFunc IO
|
||||||
completer completions def = completeWord Nothing "" completionsFor
|
completer completions def = completeWord Nothing "" completionsFor
|
||||||
where
|
where
|
||||||
|
simpleCompletion' s = (simpleCompletion s){isFinished=False}
|
||||||
completionsFor "" = return [simpleCompletion' def]
|
completionsFor "" = return [simpleCompletion' def]
|
||||||
completionsFor i = return (map simpleCompletion' ciprefixmatches)
|
completionsFor i = return (map simpleCompletion' ciprefixmatches)
|
||||||
where
|
where
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user