Enabled the writing of a backup file(<file>~) before writing.

pull/166/head
Kevin James Lausen 3 years ago
parent 049c721443
commit 0c8c6261a5

@ -20,7 +20,7 @@ vim.opt.termguicolors = true -- set term gui colors (most ter
vim.opt.timeoutlen = 1000 -- time to wait for a mapped sequence to complete (in milliseconds)
vim.opt.undofile = true -- enable persistent undo
vim.opt.updatetime = 300 -- faster completion (4000ms default)
vim.opt.writebackup = false -- if a file is being edited by another program (or was written to file while editing with another program), it is not allowed to be edited
vim.opt.writebackup = true -- Write a backup file, before saving.
vim.opt.expandtab = true -- convert tabs to spaces
vim.opt.shiftwidth = 2 -- the number of spaces inserted for each indentation
vim.opt.tabstop = 2 -- insert 2 spaces for a tab

Loading…
Cancel
Save