On 24.04.19 19:29, Eric Wong wrote:
David Bremner wrote:
Is there an appropriate underlying highlight C++ api? libhighlight-perl
is really just a thin wrapper on that.
AFAIK, not yet, but the CLI does it internally. So this
wishlist item would also include providing the API for C++
users,
David Bremner wrote:
> Eric Wong writes:
>
> > It would be nice if the highlight API provided a way to reliably
> > map filename extensions and shebangs to the language I'm
> > highlighting. I'm currently parsing the filetypes.conf directly
> > and it's a bit fragile:
> >
> >
> >
Eric Wong writes:
> It would be nice if the highlight API provided a way to reliably
> map filename extensions and shebangs to the language I'm
> highlighting. I'm currently parsing the filetypes.conf directly
> and it's a bit fragile:
>
>
>
Package: libhighlight-perl
Version: 3.41-2+b1
Severity: wishlist
Tags: upstream
It would be nice if the highlight API provided a way to reliably
map filename extensions and shebangs to the language I'm
highlighting. I'm currently parsing the filetypes.conf directly
and it's a bit fragile:
4 matches
Mail list logo