diff --git a/lua/zak/set.lua b/lua/zak/set.lua index ccaba01..8c310c7 100644 --- a/lua/zak/set.lua +++ b/lua/zak/set.lua @@ -14,8 +14,8 @@ vim.opt.wrap = false vim.opt.swapfile = false vim.opt.backup = false -vim.opt.backupdir = "C:/Windows/Temp" -vim.opt.undodir = "C:/Users/zakla/.undodir" +vim.opt.backupdir = vim.fn.stdpath("data") .. "/backup" +vim.opt.undodir = vim.fn.stdpath("data") .. "/undo" vim.opt.undofile = true -- vim.opt.shellcmdflag = "" -- vim.opt.clipboard = 'unnamedplus'