From 86fc163e549d78136855ac2b45e91ffb2f43affc Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 8 Jan 2023 02:49:49 +0100 Subject: Refactor config loading --- fnl/config/trim.fnl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'fnl/config/trim.fnl') diff --git a/fnl/config/trim.fnl b/fnl/config/trim.fnl index 8a2ec43..e21b715 100644 --- a/fnl/config/trim.fnl +++ b/fnl/config/trim.fnl @@ -1,6 +1,5 @@ ;; Trim whitespaces on save. -(module config.trim {autoload {util config.util}}) -(def- opts {:disable [:python]}) +(local opts {:disable [:python]}) -(util.setup :trim opts) +{1 :cappyzawa/trim.nvim :event :BufFilePre :config opts} -- cgit v1.2.3-70-g09d2