Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 32 lines (22 sloc) 0.544 kb
use strict;
use Text::VimColor;
use Getopt::Long;
our ($optXML,$optColor, $optVimrc);
$optColor = 'molokai';
$optVimrc = "$ENV{HOME}/.vimrc";
GetOptions(xml => \$optXML,
colorscheme => \$optColor,
vimrc => \$optVimrc,
);
my $file = shift or die "Need file";
my $output = 'html';
if($optXML) {
$output = 'xml';
}
my @options = qw(-RXZ -i NONE -u NONE -N);
my $vim = Text::VimColor->new(
file => $file,
html_full_page => 1,
vim_options => \@options,
);
print $vim->html;
Jump to Line
Something went wrong with that request. Please try again.