Skip to main content

Module plugin

Module plugin 

Source
Expand description

Plugin system: Lua scripting surface via mlua.

Provides hooks (on_select, on_enter_dir, register_action) for user-defined commands and custom preview providers. In v1 the scripting engine is Lua (mlua with embedded Lua 5.4); WASM/extism is deferred to v2 (decision log).

The bookmark store (bookmarks) is a pure-Rust companion module that the example bookmarks plugin delegates to for persistence.

Re-exports§

pub use lua_api::PluginEngine;
pub use lua_api::PluginError;

Modules§

bookmarks
Bookmark store: a persisted, named-path registry.
lua_api
Lua scripting API (v1, via mlua).

Constants§

EXAMPLE_BOOKMARKS_PLUGIN
The example bookmarks plugin, embedded as a Lua source string so that no external file is required.

Functions§

load_enabled_plugins
Loads all plugins listed in enabled into engine.