In a diagnostic group, mark the highest-severity diagnostic as primary
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
401b59be5c
commit
0e51365770
7 changed files with 100 additions and 63 deletions
|
@ -3635,6 +3635,7 @@ mod tests {
|
|||
severity: lsp::DiagnosticSeverity::ERROR,
|
||||
message: "undefined variable 'A'".to_string(),
|
||||
group_id: 0,
|
||||
is_primary: true
|
||||
}
|
||||
)]
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue