Module details

Name of module:ViM syntax highlighting
Author:Aditya Mahajan
Short description:This module uses ViM editor's syntax files to pretty print verbatim code in ConTeXt
Filename:t-vim-2007.01.15.zip
Keywords: language
License: Public Domain
Current version: 2007.01.15
In sync with CTAN:yes
In distribution:no
In contextgarden:yes
Description:ConTeXt has an excellent pretty printing capabilities for many languages. The code for pretty printing is written in TeX, and due to catcode jugglary verbatim typesetting is perhaps the trickiest part of TeX. This makes it difficult for a "normal" user to define syntax highlighting rules for a new language. This module, takes the onus of defining syntax highlighting rules away from the user and uses ViM editor to generate the syntax highlighting. There is a helper 2context.vim script to do the syntax parsing in ViM. This is a stop-gap method, and hopefully with luaTeX, things will be much easier.
Comment:* Sorted the module's directory structure. Hopefully, everything should be fine. * Corrected a few bugs in the code (first line did not have a strut, comman= was not working) * Added a black and white color scheme based on print_bw.vim.