summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fnl/config/trim.fnl11
1 files changed, 1 insertions, 10 deletions
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)])