aboutsummaryrefslogtreecommitdiffstats
path: root/zellij-server/src/plugins/plugin_loader.rs
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2024-09-20 15:38:20 +0200
committerGitHub <noreply@github.com>2024-09-20 15:38:20 +0200
commitce8e3995df9e554250543e1a8d90e2e053e3dbec (patch)
tree5c2be78e50d0fac36f118931c5112dee5ef6fe16 /zellij-server/src/plugins/plugin_loader.rs
parentdocs(changelog): break multiple panes APIs (diff)
downloadsl0ppij-ce8e3995df9e554250543e1a8d90e2e053e3dbec.tar.gz
sl0ppij-ce8e3995df9e554250543e1a8d90e2e053e3dbec.tar.xz
sl0ppij-ce8e3995df9e554250543e1a8d90e2e053e3dbec.zip
feat(config): allow loading background plugins on startup (#3616)
* remove old partial implementation * feat(plugins): allow loading background plugins on startup * add e2e test * update config * udpate config merging * style(fmt): rustfmt
Diffstat (limited to 'zellij-server/src/plugins/plugin_loader.rs')
-rw-r--r--zellij-server/src/plugins/plugin_loader.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/zellij-server/src/plugins/plugin_loader.rs b/zellij-server/src/plugins/plugin_loader.rs
index 7613da09..41bdb7f6 100644
--- a/zellij-server/src/plugins/plugin_loader.rs
+++ b/zellij-server/src/plugins/plugin_loader.rs
@@ -836,9 +836,6 @@ impl<'a> PluginLoader<'a> {
)))));
let wasi_ctx = wasi_ctx_builder.build_p1();
let mut mut_plugin = self.plugin.clone();
- if let Some(tab_index) = self.tab_index {
- mut_plugin.set_tab_index(tab_index);
- }
let plugin_env = PluginEnv {
plugin_id: self.plugin_id,
client_id: self.client_id,