[NTG-context] where are the pret-xxxx.lua ?

Aditya Mahajan adityam at umich.edu
Fri Jul 17 17:59:46 CEST 2015


On Fri, 17 Jul 2015, Eric D├ętrez wrote:
> It seems that the answer could be in the t-vim (third party) module.
> It uses the syntax analysis from VIm (you have to install it :))

Here is a minimal example on how to use t-vim:

\definevimtyping [PYTHON]  [syntax=python]

\starttext

\startPYTHON
print("Hello")
\stopPYTHON

\stoptext

For more details, see: 
https://github.com/adityam/filter/blob/master/vim-README.md

Aditya


More information about the ntg-context mailing list