summaryrefslogtreecommitdiff
path: root/fnl/config.fnl
diff options
context:
space:
mode:
authoraktersnurra <gustaf@gustafrydholm.xyz>2026-04-18 00:52:28 +0200
committeraktersnurra <gustaf@gustafrydholm.xyz>2026-04-20 22:58:39 +0200
commit11d50dc8934a5b9e9be73d0445789e005843dfc2 (patch)
treec87c84806ab5fcd48f191c765650b91e1e52ce6f /fnl/config.fnl
parent0f3690bd084ba3b47b4c356089b03a6df763572c (diff)
more based changesHEADmaster
Diffstat (limited to 'fnl/config.fnl')
-rw-r--r--fnl/config.fnl3
1 files changed, 2 insertions, 1 deletions
diff --git a/fnl/config.fnl b/fnl/config.fnl
index 657c954..4e0eb0a 100644
--- a/fnl/config.fnl
+++ b/fnl/config.fnl
@@ -1,4 +1,5 @@
;; Load plugins with lazy.
+(import-macros {: keymap} :macros)
(λ load-plugin [tbl name]
(table.insert tbl (require (.. :plugins. name))))
@@ -51,7 +52,7 @@
(each [fname type (vim.fs.dir (.. (vim.fn.stdpath :config) :/fnl/plugins))]
(when (= type :file)
(load-plugin plugins (fname:match "^(.*)%.fnl$"))))
- (vim.keymap.set :n :<leader>y "<cmd>Lazy home<cr>" {:desc :Home})
+ (keymap :n :<leader>y "<cmd>Lazy home<cr>" {:desc :Home})
(lazy.setup plugins opts)))
(init)