From 6dcfd255f18aef422a32244ed6eb73c39e371c1e Mon Sep 17 00:00:00 2001 From: Ricardo Aguilar <55299652+RicardoRien@users.noreply.github.com> Date: Sat, 22 Jan 2022 16:59:02 -0400 Subject: [PATCH] Stop newline comments This really works. vim.cmd [[au BufEnter * set fo-=c fo-=r fo-=o]] -- Stop newline comments. --- lua/user/options.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/user/options.lua b/lua/user/options.lua index f382e4b..815f1c4 100644 --- a/lua/user/options.lua +++ b/lua/user/options.lua @@ -38,4 +38,4 @@ vim.opt.shortmess:append "c" vim.cmd "set whichwrap+=<,>,[,],h,l" vim.cmd [[set iskeyword+=-]] -vim.cmd [[set formatoptions-=cro]] -- TODO: this doesn't seem to work +vim.cmd [[au BufEnter * set fo-=c fo-=r fo-=o]] -- Stop newline comments.