Vim Tips Wiki
Advertisement
Tip 621 Printable Monobook Previous Next

created December 15, 2003 · complexity advanced · author Giuseppe Maxia · version 5.7


Here is a Perl module to turn Vim into a highlighting engine for the web.

http://search.cpan.org/perldoc?Text::VimColor

See some basic usage at http://www.perlmonks.org/index.pl?node_id=314528 where I also show a caching module to improve Text::VimColor performance.

Comments

Within any file type (that has its own syntax highlight) use

:runtime syntax/2html.vim

for an html version.


Advertisement