From 966a6a8c42523831024665f3eab7200372655bae Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Tue, 6 May 2025 12:00:33 +0200 Subject: Rename plugin loader file to config --- fnl/aktersnurra.fnl | 52 ---------------------------------------------------- 1 file changed, 52 deletions(-) delete mode 100644 fnl/aktersnurra.fnl (limited to 'fnl/aktersnurra.fnl') diff --git a/fnl/aktersnurra.fnl b/fnl/aktersnurra.fnl deleted file mode 100644 index cf50b2f..0000000 --- a/fnl/aktersnurra.fnl +++ /dev/null @@ -1,52 +0,0 @@ -;; Load plugins with lazy. - -(λ load-plugin [tbl name] - (table.insert tbl (require (.. :plugins. name)))) - -(local icons (require :settings.icons)) - -(local {: apply-to-files} (require :util.load)) - -(local opts {:install {:colorscheme [:no-clown-fiesta]} - :debug false - :defaults {:lazy false} - :dev {:path (.. (vim.fn.expand :$HOME) :/projects)} - :performance {:cache {:enabled true} - :rtp {:disabled_plugins [:gzip - :matchit - :netrwPlugin - :tarPlugin - :tohtml - :tutor - :zipPlugin]}} - :ui {:border :single - :backdrop 100 - :icons {:cmd (.. (. icons :cmd) " ") - :config (.. (. icons :cog) " ") - :event (.. (. icons :lightning) " ") - :ft (.. (. icons :document) " ") - :init (.. (. icons :cog) " ") - :import (.. (. icons :import) " ") - :keys (.. (. icons :keyboard) " ") - :lazy (.. (. icons :sleep) " ") - :loaded (.. (. icons :orb-filled) " ") - :not_loaded (.. (. icons :orb) " ") - :plugin (.. (. icons :package) " ") - :runtime (.. (. icons :vim) " ") - :source (.. (. icons :code) " ") - :start (.. (. icons :play) " ") - :task (.. (. icons :checkmark) " ") - :list [(.. (. icons :orb-filled) " ") - (.. (. icons :arrow-right) " ") - (.. (. icons :star) " ") - (.. (. icons :line) " ")]}}}) - -(λ init [] - (require :settings) - (let [lazy (require :lazy) - plugins {}] - (apply-to-files :/fnl/plugins (partial load-plugin plugins)) - (vim.keymap.set :n :y "Lazy home" {:desc :Home}) - (lazy.setup plugins opts))) - -(init) -- cgit v1.2.3-70-g09d2