From b34cd55fabc2223a49506510bacc8eb75e35a1b7 Mon Sep 17 00:00:00 2001 From: ant Date: Wed, 12 Jun 2024 21:14:34 +0200 Subject: [PATCH] Change session management plugin --- lua/plugins.lua | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/lua/plugins.lua b/lua/plugins.lua index 5ceadb0..a76c300 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -216,11 +216,22 @@ local plugins = { }) end, }, + -- { + -- "rmagatti/auto-session", + -- config = function() + -- require("auto-session").setup({ + -- log_level = "error", + -- }) + -- end, + -- }, + -- Lua { - "rmagatti/auto-session", - config = function() - require("auto-session").setup({ - log_level = "error", + "olimorris/persisted.nvim", + lazy = false, -- make sure the plugin is always loaded at startup + config = function () + require("persisted").setup({ + autosave = true, + autoload = true, }) end, },