feat(core): wire up depends_on field for variables
This commit is contained in:
parent
aa26f27ed9
commit
317d3f2051
|
@ -152,6 +152,7 @@ fn convert_var(var: espanso_config::matches::Variable) -> espanso_render::Variab
|
||||||
var_type: var.var_type,
|
var_type: var.var_type,
|
||||||
params: convert_params(var.params),
|
params: convert_params(var.params),
|
||||||
inject_vars: var.inject_vars,
|
inject_vars: var.inject_vars,
|
||||||
|
depends_on: var.depends_on,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -227,6 +228,7 @@ impl<'a> Renderer<'a> for RendererAdapter<'a> {
|
||||||
var_type: "echo".to_string(),
|
var_type: "echo".to_string(),
|
||||||
params,
|
params,
|
||||||
inject_vars: false,
|
inject_vars: false,
|
||||||
|
..Default::default()
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user