diff --git a/lua/user/options.lua b/lua/user/options.lua index 799aa9d..95eceda 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.api.nvim_create_autocmd({"FileType"}, {command = "set formatoptions-=cro"})