re-enable smartindent and autoindent

This commit is contained in:
Vladan Popovic 2023-09-26 02:25:19 +02:00
parent 79b517a247
commit 2bc591369a

View file

@ -23,14 +23,15 @@ utils.opt('o', 'wildmode', 'list:longest')
utils.opt('w', 'number', true)
utils.opt('o', 'clipboard','unnamed,unnamedplus')
-- see smartindent
-- vim.opt.autoindent = true
vim.opt.autoindent = true
vim.opt.smartindent = true
vim.opt.background = 'light'
vim.opt.errorformat:prepend('%f|%l col %c|%m')
vim.opt.fileformat = 'unix'
vim.opt.pastetoggle = '<F2>'
vim.opt.textwidth = 79
vim.opt.undofile = true
-- Enable vimrc files per project and disable unsafe commands in project vimrc
vim.opt.exrc = true
vim.opt.secure = true