fix(nvim): backup directory

nixos
Moritz Böhme 2023-09-11 09:15:59 +02:00
parent cf6a46d8ae
commit 35c349f370
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ if not vim.loop.fs_stat(spelldir) then
end end
vim.opt.autoindent = true vim.opt.autoindent = true
vim.opt.backupdir = { vim.fn.stdpath("state") .. "/nvim/backup/" } -- don't store backup in files dir vim.opt.backupdir = { vim.fn.stdpath("state") .. "/backup/" } -- don't store backup in files dir
vim.opt.clipboard = "unnamedplus" -- sync with system clipboard vim.opt.clipboard = "unnamedplus" -- sync with system clipboard
vim.opt.conceallevel = 2 vim.opt.conceallevel = 2
vim.opt.expandtab = true -- spaces instead of tabs vim.opt.expandtab = true -- spaces instead of tabs