From: martin f. krafft Date: Thu, 14 Oct 2021 01:27:46 +0000 (+1300) Subject: Handle #. formatted lists in &flp X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/db895e38aca137e79dd38b7835c89e4e4cbf1ccb Handle #. formatted lists in &flp --- diff --git a/.vimrc b/.vimrc index 6712b95..c989e1d 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{,4})[]:.)}/])+|[-\*.·→+])\s+' +let &flp='^\v\s*(((#|\a|\d{,4}|[ivx]{,4})[]:.)}/])+|[-\*.·→+])\s+' " formatexpr " expression used for "gq" to format lines