From 23cdc719380e897e585ef8f46a63486e5ddcae95 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Thu, 5 Sep 2024 04:15:20 -0500 Subject: [PATCH] feat(nvim): support `+` in formatlistpat --- users/price/dots/.config/nvim/lua/core/options.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/price/dots/.config/nvim/lua/core/options.lua b/users/price/dots/.config/nvim/lua/core/options.lua index 85b9a8e6..d210dccc 100755 --- a/users/price/dots/.config/nvim/lua/core/options.lua +++ b/users/price/dots/.config/nvim/lua/core/options.lua @@ -39,7 +39,7 @@ M.setup = function() opt.wrap = true opt.breakat = " \t;,[]()" opt.linebreak = true - opt.formatlistpat = [[^\s*\(-\|\d\.\)\s*]] + opt.formatlistpat = [[^\s*\(-\|\d\.\|+\)\s*]] opt.breakindent = true opt.breakindentopt = "list:2"