mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 21:55:38 +00:00
parent
74496c8a24
commit
3e99f28ef9
|
@ -181,7 +181,7 @@ class FormatOnPaste implements editorCommon.IEditorContribution {
|
|||
private _update(): void {
|
||||
|
||||
// clean up
|
||||
this._callOnModel.dispose();
|
||||
this._callOnModel.clear();
|
||||
|
||||
// we are disabled
|
||||
if (!this.editor.getConfiguration().contribInfo.formatOnPaste) {
|
||||
|
|
Loading…
Reference in a new issue