From 99a7ff44cdf70d028ef6aab26224f26f69ee528d Mon Sep 17 00:00:00 2001 From: aktersnurra Date: Thu, 16 Apr 2026 15:10:52 +0200 Subject: Add fff and other nice things such as macros --- fnl/config.fnl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'fnl/config.fnl') diff --git a/fnl/config.fnl b/fnl/config.fnl index 478bae2..80ed508 100644 --- a/fnl/config.fnl +++ b/fnl/config.fnl @@ -5,8 +5,6 @@ (local icons (require :settings.icons)) -(local {: apply-to-files} (require :util.load)) - (local api (require :hotpot.api)) (local context (assert (api.context (vim.fn.stdpath :config)))) @@ -49,7 +47,9 @@ (require :settings) (let [lazy (require :lazy) plugins {}] - (apply-to-files :/fnl/plugins (partial load-plugin plugins)) + (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 :y "Lazy home" {:desc :Home}) (lazy.setup plugins opts))) -- cgit v1.2.3-70-g09d2