 class PluginManagement extends Mixin
   # Internal: Stores the minimap plugin with their identifying name as key.
   plugins: {}
+  pluginsSubscriptions: {}
 
   # Public: Registers a minimap `plugin` with the given `name`.
   #

Mixin = require 'mixto'

# Public: Provides methods to manage minimap plugins.
#


    atom.config.set(settingsKey, true) unless atom.config.get(settingsKey)?

    @pluginsSubscriptions[name].add atom.config.observe settingsKey, =>
      @updatesPluginActivationState(name)

    commands = {}
    commands["minimap:toggle-#{name}"] = =>
      atom.config.set settingsKey, not atom.config.get(settingsKey)
      @updatesPluginActivationState(name)

    @pluginsSubscriptions[name].add atom.commands.add 'atom-workspace', commands

  # Internal: When the `minimap.displayPluginsControls` setting is toggled,
  # this function will unregister the commands and setting that was created
