diff options
Diffstat (limited to 'fnl/plugins/snippets')
-rw-r--r-- | fnl/plugins/snippets/org.fnl | 2 | ||||
-rw-r--r-- | fnl/plugins/snippets/workflow.fnl | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/fnl/plugins/snippets/org.fnl b/fnl/plugins/snippets/org.fnl index a2b2e46..460e44c 100644 --- a/fnl/plugins/snippets/org.fnl +++ b/fnl/plugins/snippets/org.fnl @@ -1,6 +1,6 @@ ;; Snippets for org files. -(fn add-snippets [] +(λ add-snippets [] (let [ls (require :luasnip) fmt (require :luasnip.extras.fmt)] (let [s ls.s diff --git a/fnl/plugins/snippets/workflow.fnl b/fnl/plugins/snippets/workflow.fnl index ffe9f50..435cf90 100644 --- a/fnl/plugins/snippets/workflow.fnl +++ b/fnl/plugins/snippets/workflow.fnl @@ -1,4 +1,4 @@ -(fn workflow-snippets [] +(λ workflow-snippets [] (let [ls (require :luasnip) fmt (require :luasnip.extras.fmt)] (let [s ls.s @@ -33,7 +33,7 @@ substep \"{}\" = " [(i 1) (i 2) (i 3) (i 4) (i 5)]))]))) -(fn add-snippets [] +(λ add-snippets [] (let [ls (require :luasnip) snippets (workflow-snippets)] (ls.add_snippets :org snippets) |