summaryrefslogtreecommitdiff
path: root/fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-17 01:40:33 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-17 01:40:33 +0200
commita6915c3bfcccdbeac1033c7100d12ee642e3c6f8 (patch)
treef237a28018645e3181a3b99857dd3f42894afcac /fnl
parentdb86026392c8269a2f4aa00c6ea444fbd6a0d500 (diff)
fix(trim): remove default conf
Diffstat (limited to 'fnl')
-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)])