summaryrefslogtreecommitdiff
path: root/fnl/config
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-17 01:47:05 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-17 01:47:05 +0200
commit89222ab590e5c8b4dabf631dffb3ee14a76c7837 (patch)
tree54807aad2f2c12e74f9c89ec6f7fbc2a96f9d094 /fnl/config
parent036c4c3f5a553c9898d4895bd82b63ba8fa498f5 (diff)
fix(trim): remove cfg
Diffstat (limited to 'fnl/config')
-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 1ee5325..f1f707a 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/
- ]
-}))
+(util.load-plugin :trim)