Merge pull request #226 from zed-industries/1d-block-map

Allow full diagnostic messages to be displayed in the editor
This commit is contained in:
Max Brunsfeld 2021-11-19 09:16:49 -08:00 committed by GitHub
commit 447f710570
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
28 changed files with 4161 additions and 823 deletions

View file

@ -1713,15 +1713,19 @@ mod tests {
(
Point::new(0, 4)..Point::new(0, 7),
&Diagnostic {
group_id: 0,
message: "message 1".to_string(),
severity: lsp::DiagnosticSeverity::ERROR,
is_primary: true
}
),
(
Point::new(0, 10)..Point::new(0, 13),
&Diagnostic {
group_id: 1,
severity: lsp::DiagnosticSeverity::WARNING,
message: "message 2".to_string()
message: "message 2".to_string(),
is_primary: true
}
)
]