Add custom tags option

This commit is contained in:
Kai Schlamp 2021-09-04 13:50:57 +00:00
parent 3541f69831
commit 9506aef618
2 changed files with 6 additions and 0 deletions

5
index.d.ts vendored
View file

@ -61,6 +61,11 @@ declare module 'monaco-editor/esm/vs/editor/editor.api' {
*/
readonly isKubernetes?: boolean;
/**
* A list of custom tags.
*/
readonly customTags?: Array<string>
readonly format?: boolean;
}

View file

@ -42,6 +42,7 @@ export function createWorkerManager(
enableSchemaRequest: defaults.diagnosticsOptions.enableSchemaRequest,
prefix: defaults.diagnosticsOptions.prefix,
isKubernetes: defaults.diagnosticsOptions.isKubernetes,
customTags: defaults.diagnosticsOptions.customTags,
},
});