On Mon, Jun 15, 2015 at 01:10:52AM +1000, Erik Christiansen wrote: > On 14.06.15 12:07, Marcin Szewczyk wrote: > > If I have time I will look into the formatexpr (mentioned earlier) as > > well. > > A quick peek at the related help shows it can be used to throw e.g. some > awk or perl at the problem. That could accept "12. ", while rejecting > "2003. ", by imposing a numeric maximum. But what then when the list > goes to "7. ", and there is "5. " in the text, unfortunately wrapped, so > that it appears at the start of the line? Now neither strings nor > numbers resolve the ambiguity - in any language.
I thought about exploring a possibility of using the previous line context and a consistent style where a trailing space at the end of the previous line means I want to continue a paragraph and not to start another list item. Like with the "w" option of 'fo'. Then both normal numbers and list item numbers could match the same regex. I have no idea if such a thing is feasible, though. -- Marcin Szewczyk http://wodny.org mailto:[email protected] <- remove b / usuĊ b xmpp:[email protected] xmpp:[email protected] -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
