Merge pull request #1 from waldirborbajr/waldirborbajr-comment-new-line

Update init.lua
This commit is contained in:
Waldir Borba Junior 2022-06-06 09:57:29 -03:00 committed by GitHub
commit 8791fafd4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -17,5 +17,11 @@ autocmd("BufUnload", {
end,
})
-- Don't auto commenting new lines
autocmd('BufEnter', {
pattern = '*',
command = 'set fo-=c fo-=r fo-=o'
})
-- load statusline
vim.opt.statusline = "%!v:lua.require'ui.statusline'.run()"