Change the default diagnostic severity to error

This matches https://github.com/microsoft/language-server-protocol/pull/1978
as well as VSCode.
This commit is contained in:
Remco Haszing 2024-07-10 22:10:30 +02:00
parent c321d0fbec
commit 7a673896cb
No known key found for this signature in database
GPG key ID: 40D9F5FE9155FD3C

View file

@ -129,7 +129,7 @@ function toSeverity(lsSeverity: number | undefined): MarkerSeverity {
case lsTypes.DiagnosticSeverity.Hint:
return MarkerSeverity.Hint;
default:
return MarkerSeverity.Info;
return MarkerSeverity.Error;
}
}