mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 23:13:02 +01:00
Extract a common DiagnosticsAdapter
This commit is contained in:
parent
54a4ae36e8
commit
0312af769b
5 changed files with 163 additions and 237 deletions
|
|
@ -83,7 +83,7 @@ export function setupMode(defaults: LanguageServiceDefaults): IDisposable {
|
|||
);
|
||||
}
|
||||
if (modeConfiguration.diagnostics) {
|
||||
providers.push(new languageFeatures.DiagnosticsAdapter(languageId, worker, defaults));
|
||||
providers.push(new languageFeatures.JSONDiagnosticsAdapter(languageId, worker, defaults));
|
||||
}
|
||||
if (modeConfiguration.selectionRanges) {
|
||||
providers.push(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue