diff options
Diffstat (limited to 'fnl/util.fnl')
-rw-r--r-- | fnl/util.fnl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fnl/util.fnl b/fnl/util.fnl index 0e90396..dd82b23 100644 --- a/fnl/util.fnl +++ b/fnl/util.fnl @@ -28,3 +28,7 @@ val-or-err (vim.notify (.. "Could not load config: " val-or-err) vim.log.levels.WARN)))) + +(defn use-config [plugin config] + (let [plugin (load-plugin plugin)] + (plugin.setup config))) |