diff --git a/dots/.config/nvim/lua/core/options.lua b/dots/.config/nvim/lua/core/options.lua index fc7d48db..3c72f35b 100755 --- a/dots/.config/nvim/lua/core/options.lua +++ b/dots/.config/nvim/lua/core/options.lua @@ -139,6 +139,10 @@ M.setup = function() -- Allow per project configuration via exrc opt.exrc = true + + -- Backups + opt.backupdir = vim.fn.stdpath('state') .. "/backup//" + opt.backup = true end return M