Remove configuration item `texinfo.preview.force`.
This commit is contained in:
parent
bdfb435526
commit
c6476aaa6b
|
@ -178,11 +178,6 @@
|
||||||
"minimum": 0,
|
"minimum": 0,
|
||||||
"description": "Max number of errors before quit when trying to display preview."
|
"description": "Max number of errors before quit when trying to display preview."
|
||||||
},
|
},
|
||||||
"texinfo.preview.force": {
|
|
||||||
"type": "boolean",
|
|
||||||
"default": false,
|
|
||||||
"description": "Preserve preview even if errors."
|
|
||||||
},
|
|
||||||
"texinfo.preview.noValidation": {
|
"texinfo.preview.noValidation": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false,
|
"default": false,
|
||||||
|
|
|
@ -62,10 +62,6 @@ export default class Options implements vscode.Disposable {
|
||||||
return Options.instance.getNumber('preview.errorLimit');
|
return Options.instance.getNumber('preview.errorLimit');
|
||||||
}
|
}
|
||||||
|
|
||||||
static get force() {
|
|
||||||
return Options.instance.getBoolean('preview.force');
|
|
||||||
}
|
|
||||||
|
|
||||||
static get noValidation() {
|
static get noValidation() {
|
||||||
return Options.instance.getBoolean('preview.noValidation');
|
return Options.instance.getBoolean('preview.noValidation');
|
||||||
}
|
}
|
||||||
|
|
|
@ -55,7 +55,6 @@ export default class Converter {
|
||||||
async convertToHtml(imgTransformer?: Operator<string>, insertScript?: string) {
|
async convertToHtml(imgTransformer?: Operator<string>, insertScript?: string) {
|
||||||
const options = ['-o', '-', '--no-split', '--html', `--error-limit=${Options.errorLimit}`];
|
const options = ['-o', '-', '--no-split', '--html', `--error-limit=${Options.errorLimit}`];
|
||||||
Options.noHeaders && options.push('--no-headers');
|
Options.noHeaders && options.push('--no-headers');
|
||||||
Options.force && options.push('--force');
|
|
||||||
Options.noValidation && options.push('--no-validate');
|
Options.noValidation && options.push('--no-validate');
|
||||||
Options.noWarnings && options.push('--no-warn');
|
Options.noWarnings && options.push('--no-warn');
|
||||||
Options.customCSS && this.includeCustomCSS(Options.customCSS, options);
|
Options.customCSS && this.includeCustomCSS(Options.customCSS, options);
|
||||||
|
|
Loading…
Reference in New Issue