summaryrefslogtreecommitdiff
path: root/fnl/plugins
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2024-07-29 00:52:43 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2024-07-29 00:52:43 +0200
commitacdd91aca61e5d8b8653cd90cbfbee01f6fb6fca (patch)
tree747b31a607cbfbaafb3703bf2ea3794aeb7402d6 /fnl/plugins
parentf048e7a0042c10885ee37301464febc8c8f63e96 (diff)
Refactor
Diffstat (limited to 'fnl/plugins')
-rw-r--r--fnl/plugins/snippets.fnl4
1 files changed, 2 insertions, 2 deletions
diff --git a/fnl/plugins/snippets.fnl b/fnl/plugins/snippets.fnl
index 569af44..44c8a2d 100644
--- a/fnl/plugins/snippets.fnl
+++ b/fnl/plugins/snippets.fnl
@@ -6,13 +6,13 @@
(let [snippets (require (.. :plugins.snippets. name))]
(snippets.add-snippets)))
-(local {: load-and-apply} (require :util.load))
+(local {: apply-to-files} (require :util.load))
(λ config []
(let [ls (require :luasnip)
luasnip-vscode (require :luasnip.loaders.from_vscode)]
(luasnip-vscode.lazy_load)
- (load-and-apply :/fnl/plugins/snippets add-snippets)
+ (apply-to-files :/fnl/plugins/snippets add-snippets)
(ls.config.set_config {:history false
:updateevents "TextChanged,TextChangedI"})
(vim.keymap.set [:i :s] :<c-u>