diff --git a/lib/main.coffee b/lib/main.coffee index 2f67db85..9687b55a 100644 --- a/lib/main.coffee +++ b/lib/main.coffee @@ -253,6 +253,15 @@ class Main minimap + standAloneMinimapForEditor: (textEditor) -> + return unless textEditor? + + Minimap ?= require './minimap' + new Minimap({ + textEditor: atom.workspace.getActiveTextEditor() + standAlone: true + }) + # Returns the {Minimap} of the active `TextEditor`. # # Returns a {Minimap}.