Added doc comments on hover

This commit is contained in:
Alexandros Naskos
2020-06-03 11:23:14 +03:00
parent 046ff97216
commit ef95c76e45
3 changed files with 27 additions and 36 deletions

View File

@@ -47,14 +47,9 @@ pub const NotificationParams = union(enum) {
PublishDiagnosticsParams: PublishDiagnosticsParams
};
pub const MarkedString = struct {
language: String = "zig",
value: String,
};
/// Hover response
pub const Hover = struct {
contents: MarkedString,
contents: MarkupContent,
};
/// Params of a response (result)