[NTG-context] vim module: modify line wrapping

Aditya Mahajan adityam at umich.edu
Thu May 14 16:36:12 CEST 2015


On Wed, 13 May 2015, Andreas Schneider wrote:

> Here is an example:
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> \usemodule[vim]
> \definevimtyping[JSON][syntax=javascript, lines=split, strip=yes]

Add `option=hyphenated`.

> \starttext
> The example:
>
> \startJSON
> {
> 	"sample_parameter": 
> "http://some/url/with/a/lot/of/path/elements?and=some&variables=too"
> }
> \stopJSON
>
> \stoptext

Aditya


More information about the ntg-context mailing list