refactor: execute update_completion async
This commit is contained in:
parent
96137de780
commit
afe39f118b
1 changed files with 1 additions and 1 deletions
|
|
@ -6604,7 +6604,7 @@ pub const Editor = struct {
|
||||||
var open_completions = self.completions.data.items.len > 0;
|
var open_completions = self.completions.data.items.len > 0;
|
||||||
const update_completion = "update_completion";
|
const update_completion = "update_completion";
|
||||||
if (command.get_id(update_completion)) |cmd_id| {
|
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;
|
open_completions = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue