From e12bf77a9fd8ebe81347532528c084d3a07c366a Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Tue, 19 Jul 2022 23:38:55 +0200 Subject: Add util fun for loading most plugin opts --- fnl/config/trim.fnl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'fnl/config/trim.fnl') 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) -- cgit v1.2.3-70-g09d2