in reply to Using vim for highlighting in Perl
The relevant reading in vim...
:help syntax :help 2html
From the command line...
This will create yourfile.html in the current directory. I had to tweak the resulting HTML to change the background from white to black. (Perhaps since that is what my terminal background color is, that is the colors that vim used.) I would be very interested to know if you come up with any improvements on this method.vim -f +"syn on" +"so \$VIMRUNTIME/syntax/2html.vim" +"wq" +"q" yourfi +le.pl
-Nathan
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Using vim for highlighting in Perl
by Hrunting (Pilgrim) on Mar 26, 2003 at 19:43 UTC | |
Re^2: Using vim for highlighting in Perl
by Aristotle (Chancellor) on Mar 30, 2003 at 20:07 UTC |