summaryrefslogtreecommitdiff
path: root/fnl/config/auto-session.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/config/auto-session.fnl')
-rw-r--r--fnl/config/auto-session.fnl11
1 files changed, 7 insertions, 4 deletions
diff --git a/fnl/config/auto-session.fnl b/fnl/config/auto-session.fnl
index 62e28b4..2e236b2 100644
--- a/fnl/config/auto-session.fnl
+++ b/fnl/config/auto-session.fnl
@@ -1,5 +1,5 @@
;; Session manager.
-(module config.auto-session {autoload {: util}})
+(module config.auto-session {autoload {util config.util}})
(def- auto-opts {:log_level :info
:auto_session_enable_last_session false
@@ -15,6 +15,9 @@
:previewer false
:prompt_title :Sessions})
-(set vim.o.sessionoptions "blank,buffers,curdir,folds,help,tabpages,winsize,winpos,terminal")
-(util.use-config :session-lens lens-opts)
-(util.use-config :auto-session auto-opts)
+(set vim.o.sessionoptions
+ "blank,buffers,curdir,folds,help,tabpages,winsize,winpos,terminal")
+(util.setup :session-lens lens-opts)
+(util.setup :auto-session auto-opts)
+(let [telescope (require :telescope)]
+ (telescope.load_extension :session-lens))