Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Global configuration for a Ribosome plugin.
Synopsis
- data PluginConfig c = PluginConfig {
- name :: PluginName
- host :: HostConfig
- custom :: Parser c
- pluginNamed :: PluginName -> PluginConfig ()
Documentation
data PluginConfig c Source #
The full configuration for a Ribosome plugin, consisting of the HostConfig
, the plugin's name, and an arbitrary
type for additional config defined by individual plugins.
PluginConfig | |
|
Instances
pluginNamed :: PluginName -> PluginConfig () Source #
Construct a simple PluginConfig
with the default config for the host, given the plugin's name.