diff options
| author | Aram Drevekenin <aram@poor.dev> | 2024-02-26 15:30:15 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-26 15:30:15 +0100 |
| commit | 21273ac95a2fed6b07d8550fe2d4f65993be7037 (patch) | |
| tree | f5a7aa488ece8f21c17350bb3ec14ceaf15f60a7 /zellij-utils/src/setup.rs | |
| parent | docs(changelog): add moving tab (diff) | |
| download | sl0ppij-21273ac95a2fed6b07d8550fe2d4f65993be7037.tar.gz sl0ppij-21273ac95a2fed6b07d8550fe2d4f65993be7037.tar.xz sl0ppij-21273ac95a2fed6b07d8550fe2d4f65993be7037.zip | |
feat(plugins): introduce plugin aliases (#3157)
* working prototype with passing tests
* new tests and passing plugin tests as well
* style(code): cleanups
* cleanup strider from unused search feature
* prototype of removing old plugin block from the config
* aliases working from config file and all tests passing
* fixups and cleanups
* use aliases in layouts
* update test snapshot
* style(fmt): rustfmt
Diffstat (limited to 'zellij-utils/src/setup.rs')
| -rw-r--r-- | zellij-utils/src/setup.rs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/zellij-utils/src/setup.rs b/zellij-utils/src/setup.rs index bf34a894..d4146587 100644 --- a/zellij-utils/src/setup.rs +++ b/zellij-utils/src/setup.rs @@ -770,20 +770,6 @@ mod setup_test { assert_snapshot!(format!("{:#?}", config)); } #[test] - fn layout_plugins_override_config_plugins() { - let mut cli_args = CliArgs::default(); - cli_args.config = Some(PathBuf::from(format!( - "{}/src/test-fixtures/config-with-plugins-config.kdl", - env!("CARGO_MANIFEST_DIR") - ))); - cli_args.layout = Some(PathBuf::from(format!( - "{}/src/test-fixtures/layout-with-plugins-config.kdl", - env!("CARGO_MANIFEST_DIR") - ))); - let (config, _layout, _options, _, _) = Setup::from_cli_args(&cli_args).unwrap(); - assert_snapshot!(format!("{:#?}", config)); - } - #[test] fn layout_themes_override_config_themes() { let mut cli_args = CliArgs::default(); cli_args.config = Some(PathBuf::from(format!( |
