summaryrefslogtreecommitdiff
path: root/fnl/aktersnurra.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2025-05-06 12:00:33 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2025-05-06 12:00:33 +0200
commit966a6a8c42523831024665f3eab7200372655bae (patch)
treee2d5996ef3f0a87e0f94963734958be4401ec24e /fnl/aktersnurra.fnl
parent3447b6b75e6c0952c181cb06171232fa10ea9cba (diff)
Rename plugin loader file to config
Diffstat (limited to 'fnl/aktersnurra.fnl')
-rw-r--r--fnl/aktersnurra.fnl52
1 files changed, 0 insertions, 52 deletions
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 :<leader>y "<cmd>Lazy home<cr>" {:desc :Home})
- (lazy.setup plugins opts)))
-
-(init)