mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 11:35:40 +01:00
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:
parent
c321d0fbec
commit
7a673896cb
1 changed files with 1 additions and 1 deletions
|
|
@ -129,7 +129,7 @@ function toSeverity(lsSeverity: number | undefined): MarkerSeverity {
|
||||||
case lsTypes.DiagnosticSeverity.Hint:
|
case lsTypes.DiagnosticSeverity.Hint:
|
||||||
return MarkerSeverity.Hint;
|
return MarkerSeverity.Hint;
|
||||||
default:
|
default:
|
||||||
return MarkerSeverity.Info;
|
return MarkerSeverity.Error;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue