mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 13:29:44 +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