From a65bd0c4d101e1efa135f2d3f73428ed878e1be0 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Fri, 18 Feb 2011 10:09:13 +0100 Subject: [PATCH] improve numbered list formatting regexp --- .vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index b536035..2eab78a 100644 --- a/.vimrc +++ b/.vimrc @@ -673,7 +673,7 @@ set fo=tcroqn1l " pattern to recognize a numbered list " (local to buffer) " set flp=^\\s*\\d\\+[\\]:.)}\\t\ ]\\s* -set flp=^\\s*\\d\\+[\\]:.)}]\\s* +set flp=^\\v[[:space:]]*([[:digit:]]+\|[[:alpha:]])[\\]:.)}[:space:]][[:space:]]+ " formatexpr " expression used for "gq" to format lines -- 2.39.5