From 3e6e33c16d805ed530071a4516484b17078bc8ab Mon Sep 17 00:00:00 2001 From: Waldir Borba Junior Date: Mon, 6 Jun 2022 09:56:29 -0300 Subject: [PATCH] Update init.lua --- lua/core/init.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lua/core/init.lua b/lua/core/init.lua index 51bde5c..a4cc556 100644 --- a/lua/core/init.lua +++ b/lua/core/init.lua @@ -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()"