summaryrefslogtreecommitdiff
path: root/fnl/config/persistence.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2023-01-08 02:49:49 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2023-01-08 02:49:49 +0100
commit86fc163e549d78136855ac2b45e91ffb2f43affc (patch)
tree20fab78a2ff2635af5ac95f2b2a11d9d07ace0e1 /fnl/config/persistence.fnl
parent0d7f782cb4e68cff000beb00e8ab64308a66f3f0 (diff)
Refactor config loading
Diffstat (limited to 'fnl/config/persistence.fnl')
-rw-r--r--fnl/config/persistence.fnl5
1 files changed, 2 insertions, 3 deletions
diff --git a/fnl/config/persistence.fnl b/fnl/config/persistence.fnl
index ad93131..e1368f1 100644
--- a/fnl/config/persistence.fnl
+++ b/fnl/config/persistence.fnl
@@ -1,6 +1,5 @@
;; Session manager.
-(module config.persistence {autoload {util config.util}})
-(def- opts {:options [:buffers :curdir :tabpages :winsize :help]})
+(local opts {:options [:buffers :curdir :tabpages :winsize :help]})
-(util.setup :persistence opts)
+{1 :folke/persistence.nvim :event :VeryLazy :config opts}