aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 6012a86..5e7d40a 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -357,7 +357,9 @@ fn event_loop() {
);
let suggestions = match comp.kind {
- parse::CompletionKind::Command => todo!(),
+ parse::CompletionKind::Command => {
+ completion::command_completion(session.clone(), comp.partial)
+ }
parse::CompletionKind::Argument => completion::path_completion(comp.partial),
parse::CompletionKind::Variable => {
completion::variable_completion(session.clone(), comp.partial)