fix(dashboard): escape filenames for edit. Closes #1453

This commit is contained in:
Folke Lemaitre 2025-02-27 08:36:29 +01:00
parent 1239fb84bc
commit 8b0e79ab4c
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -857,7 +857,7 @@ function M.sections.recent_files(opts)
ret[#ret + 1] = {
file = file,
icon = "file",
action = ":e " .. file,
action = ":e " .. vim.fn.fnameescape(file),
autokey = true,
}
if #ret >= limit then