re-enable smartindent and autoindent
This commit is contained in:
parent
79b517a247
commit
2bc591369a
1 changed files with 3 additions and 2 deletions
|
@ -23,14 +23,15 @@ utils.opt('o', 'wildmode', 'list:longest')
|
||||||
utils.opt('w', 'number', true)
|
utils.opt('w', 'number', true)
|
||||||
utils.opt('o', 'clipboard','unnamed,unnamedplus')
|
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.background = 'light'
|
||||||
vim.opt.errorformat:prepend('%f|%l col %c|%m')
|
vim.opt.errorformat:prepend('%f|%l col %c|%m')
|
||||||
vim.opt.fileformat = 'unix'
|
vim.opt.fileformat = 'unix'
|
||||||
vim.opt.pastetoggle = '<F2>'
|
vim.opt.pastetoggle = '<F2>'
|
||||||
vim.opt.textwidth = 79
|
vim.opt.textwidth = 79
|
||||||
vim.opt.undofile = true
|
vim.opt.undofile = true
|
||||||
|
|
||||||
-- Enable vimrc files per project and disable unsafe commands in project vimrc
|
-- Enable vimrc files per project and disable unsafe commands in project vimrc
|
||||||
vim.opt.exrc = true
|
vim.opt.exrc = true
|
||||||
vim.opt.secure = true
|
vim.opt.secure = true
|
||||||
|
|
Loading…
Reference in a new issue