add serialization for starting directory
authorLukas Hägele <lukas.haegele93@web.de>
Sun, 29 Mar 2026 16:16:41 +0000 (18:16 +0200)
committerLukas Hägele <lukas.haegele93@web.de>
Sun, 29 Mar 2026 16:16:41 +0000 (18:16 +0200)
plugin/sessionmanager.lua

index c12e5c1fa2b58924bf87945608237415dd5b4aa1..0f9eba0c1b88d32304458049670f0e54f8516ede 100644 (file)
@@ -103,6 +103,7 @@ do
     if not ((cwd == vim.fn.expand("~")) or (cwd == vim.uv.os_homedir())) then
       local entry = { path = cwd, timestamp = os.time() }
       history[cwd] = entry
+      serialize_to_disk()
     end
   end
 end