summaryrefslogtreecommitdiff
path: root/fnl/config/trim.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-07-19 23:38:55 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-07-19 23:38:55 +0200
commite12bf77a9fd8ebe81347532528c084d3a07c366a (patch)
tree9ef0b0c30ef01c7168edd6cb18323a8d3c273430 /fnl/config/trim.fnl
parent3d53862b8c3f1ab19f4ac870079cc62fb886313d (diff)
Add util fun for loading most plugin opts
Diffstat (limited to 'fnl/config/trim.fnl')
-rw-r--r--fnl/config/trim.fnl5
1 files changed, 3 insertions, 2 deletions
diff --git a/fnl/config/trim.fnl b/fnl/config/trim.fnl
index 929ca1d..a2faf48 100644
--- a/fnl/config/trim.fnl
+++ b/fnl/config/trim.fnl
@@ -1,5 +1,6 @@
;; Trim whitespaces on save.
(module config.trim {autoload {: util}})
-(let [trim (util.load-plugin :trim)]
- (trim.setup {:disable [:python]}))
+(def- opts {:disable [:python]})
+
+(util.use-config :trim opts)