feat(lsp): add support for window/logMessage notfications
This commit is contained in:
parent
5bc0ca5f74
commit
73f7025277
1 changed files with 2 additions and 0 deletions
|
@ -343,6 +343,8 @@ const Process = struct {
|
|||
project.publish_diagnostics(self.parent.ref(), params_cb)
|
||||
else if (std.mem.eql(u8, method, "window/showMessage"))
|
||||
project.show_message(self.parent.ref(), params_cb)
|
||||
else if (std.mem.eql(u8, method, "window/logMessage"))
|
||||
project.show_message(self.parent.ref(), params_cb)
|
||||
else
|
||||
tp.exit_fmt("unsupported LSP notification: {s}", .{method});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue