This commit is contained in:
Andy Gayton 2024-07-04 23:19:16 -04:00
parent 1773c481f3
commit be3cb23758

View File

@ -95,8 +95,8 @@ impl<'a> PluginExecutionContext for PluginExecutionCommandContext<'a> {
fn get_plugin_config(&self) -> Result<Option<Value>, ShellError> { fn get_plugin_config(&self) -> Result<Option<Value>, ShellError> {
// Fetch the configuration for a plugin // Fetch the configuration for a plugin
// //
// The `plugin` must match the registered name of a plugin. For // The `plugin` must match the registered name of a plugin. For `plugin add
// `register nu_plugin_example` the plugin config lookup uses `"example"` // nu_plugin_example` the plugin config lookup uses `"example"`
Ok(self Ok(self
.get_config()? .get_config()?
.plugins .plugins