Skip to main content

load_enabled_plugins

Function load_enabled_plugins 

Source
pub fn load_enabled_plugins(engine: &mut PluginEngine, enabled: &[String])
Expand description

Loads all plugins listed in enabled into engine.

Each name is resolved in the following order:

  1. The built-in embedded plugin (currently only "bookmarks").
  2. A file path in the user’s Trail config directory, with .lua appended.

Failures to load a single plugin are logged at debug level and do not prevent other plugins from loading.