diff options
-rw-r--r-- | fnl/plugins/snippets/org.fnl | 34 |
1 files changed, 33 insertions, 1 deletions
diff --git a/fnl/plugins/snippets/org.fnl b/fnl/plugins/snippets/org.fnl index a2b2e46..0887821 100644 --- a/fnl/plugins/snippets/org.fnl +++ b/fnl/plugins/snippets/org.fnl @@ -8,6 +8,38 @@ fmt fmt.fmt] (ls.add_snippets :org [(s :be - (fmt "#+begin_src {}\n{}\n#+end_src" [(i 1) (i 2)]))])))) + (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)]))])))) {: add-snippets} |