From: martin f. krafft Date: Wed, 19 Dec 2018 15:32:22 +0000 (+0100) Subject: numbered list regexp improvements X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/352d9aaa76c748c8f12f3f23cfc939607eb81284?ds=sidebyside;pf=etc numbered list regexp improvements --- diff --git a/.vimrc b/.vimrc index e8241f5..6f3d5f6 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* -let &flp='^\v\s*((\a|\d+)[\]:.)}\t /-]|[-\*.·→+]\s)\s*' +let &flp='^\v\s*((\a|\d+)[\]:.)}\t/-]\s|[-\*.·→+]\s)\s*' " formatexpr " expression used for "gq" to format lines