aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2023-11-30 18:10:50 +0100
committerGitHub <noreply@github.com>2023-11-30 18:10:50 +0100
commitb0f36540fe3cb439fd0981cbb1ef5df6668ddbdf (patch)
tree6d1d7329361ad25506cc7e1cb7ea135b9434191b /src
parentchore(version): bump development version (diff)
downloadsl0ppij-b0f36540fe3cb439fd0981cbb1ef5df6668ddbdf.tar.gz
sl0ppij-b0f36540fe3cb439fd0981cbb1ef5df6668ddbdf.tar.xz
sl0ppij-b0f36540fe3cb439fd0981cbb1ef5df6668ddbdf.zip
feat(plugins): skip plugin cache flag (#2971)
* feat(plugins): allow explicitly skipping the plugin cache when loading * style(fmt): rustfmt * fix tests
Diffstat (limited to 'src')
-rw-r--r--src/main.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 72dce0d2..955a982b 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -31,6 +31,7 @@ fn main() {
start_suspended,
})) = opts.command
{
+ let skip_plugin_cache = false; // N/A for this action
let command_cli_action = CliAction::NewPane {
command,
plugin: None,
@@ -42,6 +43,7 @@ fn main() {
close_on_exit,
start_suspended,
configuration: None,
+ skip_plugin_cache,
};
commands::send_action_to_session(command_cli_action, opts.session, config);
std::process::exit(0);
@@ -51,6 +53,7 @@ fn main() {
floating,
in_place,
configuration,
+ skip_plugin_cache,
})) = opts.command
{
let command_cli_action = CliAction::NewPane {
@@ -64,6 +67,7 @@ fn main() {
close_on_exit: false,
start_suspended: false,
configuration,
+ skip_plugin_cache,
};
commands::send_action_to_session(command_cli_action, opts.session, config);
std::process::exit(0);