aboutsummaryrefslogtreecommitdiffstats
path: root/default-plugins
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2026-02-12 16:12:26 +0100
committerGitHub <noreply@github.com>2026-02-12 16:12:26 +0100
commit90da559f381417a6fba16758c10aeef85cd378a6 (patch)
tree904ce4fa44149cc434d5b6d1ce39fb5914826631 /default-plugins
parentfix: report layout folder to screen from watcher instead of querying (#4696) (diff)
downloadsl0ppij-90da559f381417a6fba16758c10aeef85cd378a6.tar.gz
sl0ppij-90da559f381417a6fba16758c10aeef85cd378a6.tar.xz
sl0ppij-90da559f381417a6fba16758c10aeef85cd378a6.zip
Propagate plugin alias config changes to plugins (#4698)
* propagate plugin alias config changes to plugins * rustfmt * add pr
Diffstat (limited to 'default-plugins')
-rw-r--r--default-plugins/fixture-plugin-for-tests/src/main.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/default-plugins/fixture-plugin-for-tests/src/main.rs b/default-plugins/fixture-plugin-for-tests/src/main.rs
index 408fb4c0..52c527a0 100644
--- a/default-plugins/fixture-plugin-for-tests/src/main.rs
+++ b/default-plugins/fixture-plugin-for-tests/src/main.rs
@@ -74,6 +74,7 @@ impl ZellijPlugin for State {
EventType::FileSystemUpdate,
EventType::FileSystemDelete,
EventType::BeforeClose,
+ EventType::PluginConfigurationChanged,
]);
watch_filesystem();
}
@@ -897,6 +898,9 @@ impl ZellijPlugin for State {
// this is just to assert something to make sure this event was triggered
highlight_and_unhighlight_panes(vec![PaneId::Terminal(1)], vec![PaneId::Plugin(1)]);
},
+ Event::PluginConfigurationChanged(new_config) => {
+ self.configuration = new_config.clone();
+ },
Event::SystemClipboardFailure => {
// this is just to trigger the worker message
post_message_to(PluginMessage {