Skip to content

Commit

Permalink
fix: correct "M.config" with config (#167)
Browse files Browse the repository at this point in the history
  • Loading branch information
Isrothy authored Dec 21, 2024
1 parent 1473f18 commit 1d50876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/persisted/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ function M.select()
local found = {} ---@type table<string, boolean>
for _, session in ipairs(M.list()) do
if uv.fs_stat(session) then
local file = session:sub(#M.config.save_dir + 1, -5)
local file = session:sub(#config.save_dir + 1, -5)
local dir, branch = unpack(vim.split(file, "@@", { plain = true }))
dir = dir:gsub("%%", "/")
if jit.os:find("Windows") then
Expand Down

0 comments on commit 1d50876

Please sign in to comment.