summaryrefslogtreecommitdiff
path: root/fnl/config/util.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/config/util.fnl')
-rw-r--r--fnl/config/util.fnl20
1 files changed, 0 insertions, 20 deletions
diff --git a/fnl/config/util.fnl b/fnl/config/util.fnl
deleted file mode 100644
index e2800a6..0000000
--- a/fnl/config/util.fnl
+++ /dev/null
@@ -1,20 +0,0 @@
-;; Utility functions.
-(module util {autoload {a aniseed.core nvim aniseed.nvim}})
-
-(defn telescope-ext [ext fun opts]
- (let [telescope (require :telescope)
- themes (require :telescope.themes)
- theme (. opts :theme)]
- ((. (. (. telescope :extensions) ext) fun) ((. themes theme) opts))))
-
-(defn telescope-builtin [builtin opts]
- (let [telescope (require :telescope.builtin)
- themes (require :telescope.themes)
- theme (. opts :theme)]
- ((. telescope builtin) ((. themes theme) opts))))
-
-(defn load [plugins]
- (let [configs []]
- (each [_ plugin (pairs plugins)]
- (table.insert configs (require plugin)))
- configs))