mirror of
https://github.com/danbulant/monaco-yaml
synced 2026-07-05 02:50:47 +00:00
Merge pull request #103 from medihack/custom-tags
Add custom tags option
This commit is contained in:
commit
96abaa5bce
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;
|
readonly isKubernetes?: boolean;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A list of custom tags.
|
||||||
|
*/
|
||||||
|
readonly customTags?: string[];
|
||||||
|
|
||||||
readonly format?: boolean;
|
readonly format?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -42,6 +42,7 @@ export function createWorkerManager(
|
||||||
enableSchemaRequest: defaults.diagnosticsOptions.enableSchemaRequest,
|
enableSchemaRequest: defaults.diagnosticsOptions.enableSchemaRequest,
|
||||||
prefix: defaults.diagnosticsOptions.prefix,
|
prefix: defaults.diagnosticsOptions.prefix,
|
||||||
isKubernetes: defaults.diagnosticsOptions.isKubernetes,
|
isKubernetes: defaults.diagnosticsOptions.isKubernetes,
|
||||||
|
customTags: defaults.diagnosticsOptions.customTags,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue