diff options
| author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-01-08 02:49:49 +0100 |
|---|---|---|
| committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-01-08 02:49:49 +0100 |
| commit | 86fc163e549d78136855ac2b45e91ffb2f43affc (patch) | |
| tree | 20fab78a2ff2635af5ac95f2b2a11d9d07ace0e1 /fnl/config/trim.fnl | |
| parent | 0d7f782cb4e68cff000beb00e8ab64308a66f3f0 (diff) | |
Refactor config loading
Diffstat (limited to 'fnl/config/trim.fnl')
| -rw-r--r-- | fnl/config/trim.fnl | 5 |
1 files changed, 2 insertions, 3 deletions
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} |