From cdf1182cdb95c90124209945562192c4bff0476a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Madar=C3=A1sz?= Date: Tue, 26 Nov 2024 23:02:42 +0100 Subject: [PATCH] Update set.lua --- lua/zak/set.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'