diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2024-07-29 00:03:58 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2024-07-29 00:03:58 +0200 |
commit | 7096adce11b93787170c09b79a6170d97b4a977c (patch) | |
tree | 1ccb3901136fc31728652e4db9595c1d7b1cccf5 /fnl/plugins/snippets | |
parent | beb3ed1effdc5dbd047c583598b83615075363b7 (diff) |
Replace fn with λ and how cmds are imported
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) |