Pygments has had support for this for a while.
Just adding a mapping for kotlin files to find the right lexer
Differential D16428
Add support for synta highlighting kotlin files • kageiit on Aug 20 2016, 11:30 PM. Authored by Tags None Referenced Files
Tokens
Details
Pygments has had support for this for a while. Just adding a mapping for kotlin files to find the right lexer N/A
Diff Detail
Event Timeline
Comment Actions See also T3626, which discusses this table with more context; I think we have better caching in place since that last surfaced, so maybe pygmentize -N isn't so bad now. Comment Actions Kotlin has been picking up steam lately:
We'd love to see this supported on Phabricator! Comment Actions Add this to syntax.filemap in Config: "@\\.kt$@": "kotlin" T3626 discusses a larger problem here; we're very unlikely to make piecemeal changes which do not resolve the broader issues discussed there. |