Skip to content

Commit

Permalink
🐛 Fix removed commands in activate
Browse files Browse the repository at this point in the history
  • Loading branch information
abe33 committed Jan 28, 2015
1 parent 25d23de commit 412b083
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/main.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 412b083

Please sign in to comment.