add config to disable default formatter

fixes Microsoft/monaco-editor#889
This commit is contained in:
Dominik Moritz 2019-08-02 12:54:47 +02:00
parent b4d1a1e6b2
commit f558b8f4ff
3 changed files with 11 additions and 4 deletions

6
src/monaco.d.ts vendored
View file

@ -30,10 +30,14 @@ declare module monaco.languages.json {
*/
readonly schema?: any;
}[];
/**
* Disable the default JSON formatter.
*/
readonly disableDefaultFormatter?: boolean;
/**
* If set, the schema service would load schema content on-demand with 'fetch' if available
*/
readonly enableSchemaRequest? : boolean
readonly enableSchemaRequest? : boolean;
}
export interface LanguageServiceDefaults {