feat: configure editor completion triggers from LSP info
This commit is contained in:
parent
fe2ea13024
commit
3dcdb64f83
4 changed files with 36 additions and 10 deletions
|
|
@ -1994,3 +1994,9 @@ pub fn vcs_content_update(self: *Self, m: tp.message) void {
|
|||
editor.vcs_content_update() catch {};
|
||||
}
|
||||
}
|
||||
|
||||
pub fn trigger_characters_update(self: *Self, m: tp.message) void {
|
||||
self.lsp_info.add_from_event(m.buf) catch return;
|
||||
const editor = self.get_active_editor() orelse return;
|
||||
editor.update_completion_triggers();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue