Skip to content

Commit 1d50876

Browse files
authored
fix: correct "M.config" with config (#167)
1 parent 1473f18 commit 1d50876

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/persisted/init.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ function M.select()
147147
local found = {} ---@type table<string, boolean>
148148
for _, session in ipairs(M.list()) do
149149
if uv.fs_stat(session) then
150-
local file = session:sub(#M.config.save_dir + 1, -5)
150+
local file = session:sub(#config.save_dir + 1, -5)
151151
local dir, branch = unpack(vim.split(file, "@@", { plain = true }))
152152
dir = dir:gsub("%%", "/")
153153
if jit.os:find("Windows") then

0 commit comments

Comments
 (0)