diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-01-11 00:41:17 +0100 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-01-11 00:41:17 +0100 |
commit | f318452070d42e51231f7880a5d0eaa93d978a1e (patch) | |
tree | c76f35889ebc7a4e52bbd06e07c8f33f9bf68f5d /fnl/config/util.fnl | |
parent | 433952cf3efa8e2b5e23ff0e76a4afe6f95d44b5 (diff) |
Rip aniseed, hail hotpot
Diffstat (limited to 'fnl/config/util.fnl')
-rw-r--r-- | fnl/config/util.fnl | 20 |
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)) |