From 3a007886fe248bedc5e189f5fb933379fdc72d12 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Thu, 25 Jul 2024 01:31:34 +0200 Subject: Refactor workflow snippets --- fnl/plugins/snippets/org.fnl | 34 +--------------------------------- 1 file changed, 1 insertion(+), 33 deletions(-) (limited to 'fnl/plugins/snippets/org.fnl') diff --git a/fnl/plugins/snippets/org.fnl b/fnl/plugins/snippets/org.fnl index 0887821..a2b2e46 100644 --- a/fnl/plugins/snippets/org.fnl +++ b/fnl/plugins/snippets/org.fnl @@ -8,38 +8,6 @@ fmt fmt.fmt] (ls.add_snippets :org [(s :be - (fmt "#+begin_src {}\n{}\n#+end_src" [(i 1) (i 2)])) - (s :wf - (fmt "workflow \"{}\" = - input: {} - output (on success): - {} - output (on error): - {} - - // step {} - do {} - {} - " - [(i 1) (i 2) (i 3) (i 4) (i 5) (i 6) (i 7)])) - (s :st - (fmt " - // step {} - do {} - If {}: - {} - - " - [(i 1) (i 2) (i 3) (i 4)])) - (s :ss - (fmt " -substep \"{}\" = - input: {} - output: {} - dependencies: {} - - {} - " - [(i 1) (i 2) (i 3) (i 4) (i 5)]))])))) + (fmt "#+begin_src {}\n{}\n#+end_src" [(i 1) (i 2)]))])))) {: add-snippets} -- cgit v1.2.3-70-g09d2