On 2013–04–12 Ben Fritz wrote:
> It's not configurable.
>
> { and } strictly use paragraph boundaries, defined as empty lines
> or lines using nroff macros specified in the 'paragraphs' option.
>
> ip uses these but also has an exception for lines containing
> nothing but whitespace.
>
> See :help paragraph and :help ipI did read those sections. The 'paragraphs' option with the default setting "IPLPPPQPP TPHPLIPpLpItpplpipbp" is one of the weirdest vim options I encountered in a while. Why is it restricted to nroff macros? It could better take a regex or anything more general than nroff macros. > This behavior annoys me too but it is what it is. Good to hear that it's not just me. If there is interest, maybe a second variable, e.g. 'paragraphsregex' could be implemented and set to an arbitrary regex as paragraph delimiter. If it's undefined, the old behaviour takes precedence to remain backwards compatible. Marco
signature.asc
Description: Digital signature
