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