feat(nvim): enable backup feature
This commit is contained in:
parent
133c7cb370
commit
987eaf8edb
@ -139,6 +139,10 @@ M.setup = function()
|
|||||||
|
|
||||||
-- Allow per project configuration via exrc
|
-- Allow per project configuration via exrc
|
||||||
opt.exrc = true
|
opt.exrc = true
|
||||||
|
|
||||||
|
-- Backups
|
||||||
|
opt.backupdir = vim.fn.stdpath('state') .. "/backup//"
|
||||||
|
opt.backup = true
|
||||||
end
|
end
|
||||||
|
|
||||||
return M
|
return M
|
||||||
|
Loading…
Reference in New Issue
Block a user