[NTG-context] vim module: modify line wrapping

Andreas Schneider aksdb at gmx.de
Wed May 13 09:02:14 CEST 2015


Am 12.05.2015 21:09, schrieb Aditya Mahajan:
> 
> Does \setbreakpoints[compound] help? If not, please post a minimal 
> example.
> 
> Aditya

Unfortunately not.

Here is an example:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\usemodule[vim]
\definevimtyping[JSON][syntax=javascript, lines=split, strip=yes]

\starttext
The example:

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

\stoptext
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




More information about the ntg-context mailing list