diff options
| author | Axel H <noirbizarre@users.noreply.github.com> | 2024-03-27 11:53:26 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-27 11:53:26 +0100 |
| commit | a54a7ea2bd913c3c488b0d62a1a9072f673fc53a (patch) | |
| tree | a3562858e23eea0ac58dd9462f8034ad439d266a /zellij-utils/src/input/layout.rs | |
| parent | chore(readme): add sponsor (diff) | |
| download | sl0ppij-a54a7ea2bd913c3c488b0d62a1a9072f673fc53a.tar.gz sl0ppij-a54a7ea2bd913c3c488b0d62a1a9072f673fc53a.tar.xz sl0ppij-a54a7ea2bd913c3c488b0d62a1a9072f673fc53a.zip | |
fix(plugins): session layouts are still serialized using the legacy plugin syntax (remote:) (#3224)
* fix(plugins): session layouts were still serialized using the legacy plugin syntax (remote:)
* use example domain
* style(fmt): rustfmt
---------
Co-authored-by: Aram Drevekenin <aram@poor.dev>
Diffstat (limited to 'zellij-utils/src/input/layout.rs')
| -rw-r--r-- | zellij-utils/src/input/layout.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zellij-utils/src/input/layout.rs b/zellij-utils/src/input/layout.rs index c5dbd994..cede261e 100644 --- a/zellij-utils/src/input/layout.rs +++ b/zellij-utils/src/input/layout.rs @@ -571,7 +571,7 @@ impl RunPluginLocation { match self { RunPluginLocation::File(pathbuf) => format!("file:{}", pathbuf.display()), RunPluginLocation::Zellij(plugin_tag) => format!("zellij:{}", plugin_tag), - RunPluginLocation::Remote(url) => format!("remote:{}", url), + RunPluginLocation::Remote(url) => String::from(url), } } } @@ -584,7 +584,7 @@ impl From<&RunPluginLocation> for Url { path.clone().into_os_string().into_string().unwrap() ), RunPluginLocation::Zellij(tag) => format!("zellij:{}", tag), - RunPluginLocation::Remote(url) => format!("remote:{}", url), + RunPluginLocation::Remote(url) => String::from(url), }; Self::parse(&url).unwrap() } |
