From: martin f. krafft Date: Tue, 17 Sep 2019 06:06:06 +0000 (+0200) Subject: limit numeric lists to four digits X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/90691a04881743e062fe19b632e74eac21211dd8?ds=sidebyside limit numeric lists to four digits --- 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