refactor: execute update_completion async

This commit is contained in:
CJ van den Berg 2026-01-30 13:59:58 +01:00
parent 96137de780
commit afe39f118b
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9

View file

@ -6604,7 +6604,7 @@ pub const Editor = struct {
var open_completions = self.completions.data.items.len > 0;
const update_completion = "update_completion";
if (command.get_id(update_completion)) |cmd_id| {
try command.execute(cmd_id, update_completion, .{});
try tp.self_pid().send(.{ "cmd", cmd_id });
open_completions = false;
}