From 412b083f19b22e3fd30768d4fd11c0d6a42fa1ba Mon Sep 17 00:00:00 2001 From: abe33 Date: Wed, 28 Jan 2015 01:20:33 +0100 Subject: [PATCH] :bug: Fix removed commands in activate --- lib/main.coffee | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/main.coffee b/lib/main.coffee index 5a7b762b..ed3486e5 100644 --- a/lib/main.coffee +++ b/lib/main.coffee @@ -95,6 +95,10 @@ class Main MinimapElement.registerViewProvider() + @subscriptions.add atom.commands.add 'atom-workspace', + 'minimap:toggle': => @toggle() + 'minimap:generate-plugin': => @generatePlugin() + @toggle() if atom.config.get 'minimap.autoToggle' # Deactivates the minimap package.