sub syntax_highlight { my($code, $language) = @_; my $syntax = Text::VimColor->new( string => $code, filetype => $language, ); return $syntax->html; }