From a6915c3bfcccdbeac1033c7100d12ee642e3c6f8 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 17 Apr 2022 01:40:33 +0200 Subject: fix(trim): remove default conf --- fnl/config/trim.fnl | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'fnl/config') diff --git a/fnl/config/trim.fnl b/fnl/config/trim.fnl index 156241f..7262a88 100644 --- a/fnl/config/trim.fnl +++ b/fnl/config/trim.fnl @@ -1,13 +1,4 @@ ;; Trim whitespaces on save. (module config.trim {autoload {util util}}) -(let [trim (util.load-plugin :trim)] - (trim.setup { - :disable [] - :patterns [ - "%s/\s\+$//e" - "%s/\($\n\s*\)\+\%$//" - "%s/\%^\n\+//" - "%s/\(\n\n\)\n\+/\1/" - ] -})) +(let [trim (util.load-plugin :trim)]) -- cgit v1.2.3-70-g09d2