refactor: fix completion updates
This commit is contained in:
parent
b314a4c8c0
commit
d4eb0d046c
4 changed files with 9 additions and 4 deletions
|
|
@ -137,6 +137,7 @@ fn update_query(self: *Type, cursor: ed.Cursor) error{OutOfMemory}!void {
|
|||
else => |e_| return e_,
|
||||
};
|
||||
defer self.allocator.free(query);
|
||||
self.update_query(query) catch return;
|
||||
tp.self_pid().send(.{ "cmd", "completion" }) catch |e| self.logger.err(module_name, e);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue