diff --git a/lib/main-v4.coffee b/lib/main-v4.coffee index 10be099f..89f1373c 100644 --- a/lib/main-v4.coffee +++ b/lib/main-v4.coffee @@ -45,6 +45,8 @@ class V4Main Minimap ?= require './minimap' @subscriptions.add atom.workspace.observeTextEditors (textEditor) => + return if @editorsMinimaps[textEditor.id]? + minimap = new Minimap({textEditor}) @editorsMinimaps[textEditor.id] = minimap