summaryrefslogtreecommitdiff
path: root/fnl/plugins/init.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2024-01-05 01:50:20 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2024-01-05 01:50:20 +0100
commit2a94573f54c69a9af7536586ab2c03eb88bda5e7 (patch)
tree48e430773d56baef8c751fb8a6b4d76303b61636 /fnl/plugins/init.fnl
parent16198ca3bcd0ddd61f8d18280769c6f226b2b7ce (diff)
Refactor
Diffstat (limited to 'fnl/plugins/init.fnl')
-rw-r--r--fnl/plugins/init.fnl18
1 files changed, 0 insertions, 18 deletions
diff --git a/fnl/plugins/init.fnl b/fnl/plugins/init.fnl
deleted file mode 100644
index f451fc9..0000000
--- a/fnl/plugins/init.fnl
+++ /dev/null
@@ -1,18 +0,0 @@
-;; Load all plugins.
-
-(local editor-plugins (let [plugins []
- path (.. (vim.fn.stdpath :config)
- :/fnl/plugins/editor)]
- (each [fname (vim.fs.dir path)]
- (let [fname (fname:match "^(.*)%.fnl$")]
- (table.insert plugins
- (require (.. :plugins.editor. fname)))))
- plugins))
-
-(local plugins (let [plugins editor-plugins]
- (table.insert plugins (require :plugins.lsp))
- (table.insert plugins (require :plugins.core.hotpot))
- plugins))
-
-(let [lazy (require :plugins.core.lazy)]
- (lazy.setup plugins))