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()"