From a0412cdc7ef7a63dc1e50da2612a6dcd125a6afe Mon Sep 17 00:00:00 2001 From: Federico Terzi Date: Sun, 7 Nov 2021 15:43:58 +0100 Subject: [PATCH] feat(core): wire up inject vars option #856 --- espanso/src/cli/worker/engine/process/middleware/render/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/espanso/src/cli/worker/engine/process/middleware/render/mod.rs b/espanso/src/cli/worker/engine/process/middleware/render/mod.rs index e2f73ea..dcb0c6a 100644 --- a/espanso/src/cli/worker/engine/process/middleware/render/mod.rs +++ b/espanso/src/cli/worker/engine/process/middleware/render/mod.rs @@ -151,6 +151,7 @@ fn convert_var(var: espanso_config::matches::Variable) -> espanso_render::Variab name: var.name, var_type: var.var_type, params: convert_params(var.params), + inject_vars: var.inject_vars, } } @@ -225,6 +226,7 @@ impl<'a> Renderer<'a> for RendererAdapter<'a> { name, var_type: "echo".to_string(), params, + inject_vars: false, }, ) }