This commit is contained in:
yetone
2025-02-05 23:13:07 +08:00
committed by GitHub
parent 1437f319d2
commit 0603364ea8

View File

@@ -11,7 +11,7 @@ local function get_abs_path(rel_path)
return Path:new(project_root):joinpath(rel_path):absolute()
end
function M.comfirm(msg)
function M.confirm(msg)
local ok = vim.fn.confirm(msg, "&Yes\n&No", 2)
return ok == 1
end