summaryrefslogtreecommitdiff
path: root/fnl/plugins/snippets
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2024-07-29 00:03:58 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2024-07-29 00:03:58 +0200
commit7096adce11b93787170c09b79a6170d97b4a977c (patch)
tree1ccb3901136fc31728652e4db9595c1d7b1cccf5 /fnl/plugins/snippets
parentbeb3ed1effdc5dbd047c583598b83615075363b7 (diff)
Replace fn with λ and how cmds are imported
Diffstat (limited to 'fnl/plugins/snippets')
-rw-r--r--fnl/plugins/snippets/org.fnl2
-rw-r--r--fnl/plugins/snippets/workflow.fnl4
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)