From: martin f. krafft Date: Wed, 18 Oct 2017 13:15:43 +0000 (+0200) Subject: extend flp to work on itemised lists too X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/54266c30afbde03d9ddcfbfbb4d22f4750655a55?hp=e238d90ab74050046a383405a616b13db3032ce7 extend flp to work on itemised lists too --- diff --git a/.vimrc b/.vimrc index 191b1c3..e8241f5 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=^\\v[[:space:]]*([[:digit:]]\|[[:alpha:]]){1,2}[\\]:.)}[:space:]][[:space:]]+ +let &flp='^\v\s*((\a|\d+)[\]:.)}\t /-]|[-\*.·→+]\s)\s*' " formatexpr " expression used for "gq" to format lines