[nvim] Fix the editor metadata settings, again, for hopefully the last time

This commit is contained in:
Eryn Wells 2023-03-21 10:30:50 -07:00
parent 5898fe7381
commit 24229b0711
2 changed files with 12 additions and 5 deletions

View file

@ -16,7 +16,8 @@ function ensureMetadataDirectoriesExist()
local paths = {
vim.opt.backupdir:get(),
vim.opt.directory:get(),
vim.opt.undodir:get()
vim.opt.undodir:get(),
vim.fs.dirname(vim.opt.shadafile:get()),
}
for _, opt in ipairs(paths) do