chore(nvim): configure backup settings
This commit is contained in:
parent
9b13d427e8
commit
716f35746a
|
@ -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
|
||||
|
|
Reference in a new issue