chore(nvim): configure backup settings

This commit is contained in:
Oliver Davies 2022-12-27 16:36:56 +00:00
parent 9b13d427e8
commit 716f35746a

View file

@ -117,6 +117,7 @@ end
local function set_vim_o()
local settings = {
autoindent = true,
backup = true,
breakindent = true,
conceallevel = 0,
cursorline = true,
@ -153,6 +154,7 @@ local function set_vim_o()
vim.o[key] = value
end
vim.opt.backupdir:remove('.') -- keep backups out of the current directory
vim.opt.clipboard:append "unnamedplus"
vim.opt.completeopt = { "menu", "menuone", "noselect" }
vim.opt.laststatus = 3