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/persistence.fnl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'fnl/config/persistence.fnl') 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} -- cgit v1.2.3-70-g09d2