CTAN Comprehensive TeX Archive Network

context-vim – Generate Cont syntax highlighting code from vim

Cont has ex­cel­lent pretty print­ing ca­pa­bil­i­ties for many lan­guages. The code for pretty print­ing is writ­ten in , and due to cat­code jug­gling, such ver­ba­tim type­set­ting is per­haps the trick­i­est part of . This makes it dif­fi­cult for a “nor­mal” user to de­fine syn­tax high­light­ing rules for a new lan­guage. This mod­ule takes the onus of defin­ing syn­tax high­light­ing rules away from the user and uses ViM ed­i­tor to gen­er­ate the syn­tax high­light­ing. There is a helper 2con­text.vim script to do the syn­tax pars­ing in ViM.

Ver­sion 2018-08-10
Li­censesBSD Style Li­cense
Main­tainerAditya Ma­ha­jan
Mo­jca Miklavec (in­ac­tive)
Con­tained inTeX Live as con­text-vim
TopicsEx­ter­nal code
Syn­tax high­light
See alsocontext-filter

Down­load the con­tents of this pack­age in one zip archive (18.5k).

Com­mu­nity Com­ments

Guest Book Sitemap Contact Contact Author