Closed fredemmott closed 9 years ago
There is no Hack lexer in Pygments... You'll need to request one first, as Pygments is the syntax highlighter for linguist.
This should have been fixed in https://github.com/github/linguist/pull/1669
Created a pygments issue, https://bitbucket.org/birkenfeld/pygments-main/issue/1071/add-support-for-hack-files
Hey @staabm - this isn't a Pygments thing: https://github.com/github/linguist/pull/1669#issuecomment-68524699 (although if Pygments doesn't support Hack then it should :smile: - it's just not the problem here)
Hey! Thx for the info. It wont hurt in case they add support for it ;).
While some of these are C++ headers, some are Hack, a language supported by HHVM. It's very similar to PHP.
Files recognized by HHVM will start with <?hh
Example: https://github.com/fredemmott/hh_extension_toolset/blob/master/src_classmap/Foo/Bar/Baz.hh