mirror of
https://github.com/danbulant/monaco-yaml
synced 2026-06-19 06:21:04 +00:00
Add custom tags option
This commit is contained in:
parent
3541f69831
commit
9506aef618
2 changed files with 6 additions and 0 deletions
5
index.d.ts
vendored
5
index.d.ts
vendored
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -42,6 +42,7 @@ export function createWorkerManager(
|
|||
enableSchemaRequest: defaults.diagnosticsOptions.enableSchemaRequest,
|
||||
prefix: defaults.diagnosticsOptions.prefix,
|
||||
isKubernetes: defaults.diagnosticsOptions.isKubernetes,
|
||||
customTags: defaults.diagnosticsOptions.customTags,
|
||||
},
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue