Module: vim syntax highlighting
|Title:||vim syntax highlighting|
|Short:||This module uses Vim editor's syntax files to syntax highlight verbatim code in ConTeXt|
|Description:||This module highlights code snippets using vim as a syntax highlighter. Such a task may appear pointless at first glance. After all, ConTeXt provides excellent syntax highlighting features for TeX, Metapost, XML, and a few other langauges. And in MkIV, you can specify the grammer to parse a language, and get syntax highlighting for a new language. But writing such grammers is difficult. More importantly, why reinvent the wheel? Most editors, and many other syntax highlighting programs, already syntax highlight many programming languages. Why not just leverage these external programs to generate syntax highlighting? This module does exactly that.|
|Module maintainer:||Aditya Mahajan|
|License:||BSD License (simplified)|
Message: Bugfix release. * Typesetting two external files (in the vim module) which lie in different directories but have the same name resulted in a clash. It was not possible to use the same external file twice with different start-stop values. Repored on Github (https://github.com/adityam/filter/issues/59). We now create an MD5 hash of the full filename, and all options which are passed to vim. So, if either the filename or any of these options change, a output filenames are different.