summaryrefslogtreecommitdiff
path: root/fnl/config/trim.fnl
diff options
context:
space:
mode:
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)