summaryrefslogtreecommitdiff
path: root/fnl/config
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2023-01-07 13:00:10 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2023-01-07 13:00:10 +0100
commitba42524c3dbe9e59d6621d3ce02fb5dbc39126ff (patch)
treec09cc1335f01499d4204bad2c898598d764fcaca /fnl/config
parent11eb82bcea1d29a23c7d6bed28f23a86b98cb2a6 (diff)
Add persistence config
Diffstat (limited to 'fnl/config')
-rw-r--r--fnl/config/persistence.fnl6
1 files changed, 6 insertions, 0 deletions
diff --git a/fnl/config/persistence.fnl b/fnl/config/persistence.fnl
new file mode 100644
index 0000000..ad93131
--- /dev/null
+++ b/fnl/config/persistence.fnl
@@ -0,0 +1,6 @@
+;; Session manager.
+(module config.persistence {autoload {util config.util}})
+
+(def- opts {:options [:buffers :curdir :tabpages :winsize :help]})
+
+(util.setup :persistence opts)