Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
rebornix committed Oct 24, 2016
1 parent fa373ba commit b71d77a
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,16 +149,6 @@ export async function activate(context: vscode.ExtensionContext) {
}, 0);
});

vscode.workspace.onDidCloseTextDocument((event) => {
const key = event.fileName + vscode.window.activeTextEditor.viewColumn;

if (modeHandlerToEditorIdentity[key] !== undefined) {
modeHandlerToEditorIdentity[key].dispose();
// Remove modehandler for closed document
delete modeHandlerToEditorIdentity[key];
}
});

registerCommand(context, 'type', async (args) => {
taskQueue.enqueueTask({
promise: async () => {
Expand Down

0 comments on commit b71d77a

Please sign in to comment.