From 90691a04881743e062fe19b632e74eac21211dd8 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Tue, 17 Sep 2019 08:06:06 +0200 Subject: [PATCH 1/1] limit numeric lists to four digits --- .vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index d9ac3e1..496fa14 100644 --- a/.vimrc +++ b/.vimrc @@ -670,7 +670,7 @@ set fo=tcroqn1l " pattern to recognize a numbered list " (local to buffer) " set flp=^\\s*\\d\\+[\\]:.)}\\t\ ]\\s* -let &flp='^\v\s*(((\a|\d+)[]:.)}/-])+|[-\*.·→+])\s+' +let &flp='^\v\s*(((\a|\d{,4})[]:.)}/])+|[-\*.·→+])\s+' " formatexpr " expression used for "gq" to format lines -- 2.39.5