From 684c75a1dfd861b800674e7777541f7afd234a31 Mon Sep 17 00:00:00 2001 From: Phuong Nguyen Date: Tue, 12 Jul 2022 14:01:30 +0700 Subject: [PATCH] fix formatoptions --- 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 799aa9d..74ea343 100644 --- a/lua/user/options.lua +++ b/lua/user/options.lua @@ -43,4 +43,4 @@ end vim.cmd "set whichwrap+=<,>,[,],h,l" vim.cmd [[set iskeyword+=-]] -vim.cmd [[set formatoptions-=cro]] -- TODO: this doesn't seem to work +vim.cmd [[autocmd FileType * set formatoptions-=cro]]