fix: update_completion should also update completion query text
Also, resize dropdown based on new completion suggestions.
This commit is contained in:
parent
97745a992a
commit
99e3e6aeae
1 changed files with 2 additions and 1 deletions
|
|
@ -374,7 +374,8 @@ const cmds = struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
clear_entries(self);
|
clear_entries(self);
|
||||||
_ = try load_entries(self);
|
self.longest_hint = try load_entries(self);
|
||||||
|
try update_query_text(self, self.value.editor.get_primary().cursor);
|
||||||
}
|
}
|
||||||
pub const update_completion_meta: Meta = .{};
|
pub const update_completion_meta: Meta = .{};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue