tvl-depot/third_party/gerrit
Luke Granger-Brown 89b3ab939b feat(gerrit): Syntax highlight rules.pl as Prolog.
This adds support for overriding the detected languages based on the
filename - we assume here that rules.pl will always map to a Prolog
file.

I could've overridden the entire default language to Prolog, since it's
unlikely that we'll have any Perl here, but given the relative
popularity of the two languages I opted to just override the file we
know we'll have (because it's used by Gerrit itself).

https://usercontent.irccloud-cdn.com/file/yhZZx1nd/highlighted_prolog.png

Change-Id: I26a7e6dab191e0b80a027b026f884020a1f07178
Reviewed-on: https://cl.tvl.fyi/c/depot/+/254
Reviewed-by: tazjin <mail@tazj.in>
2020-06-14 17:24:49 +00:00
..
default.nix feat(gerrit): Syntax highlight rules.pl as Prolog. 2020-06-14 17:24:49 +00:00
detzip.go feat(gerrit): Create detzip, a small helper utility for packing zips determinstically. 2020-06-14 15:34:07 +00:00
syntax_highlight_nix.patch feat(gerrit): Syntax highlight .nix files. 2020-06-14 17:24:49 +00:00
syntax_highlight_rules_pl.patch feat(gerrit): Syntax highlight rules.pl as Prolog. 2020-06-14 17:24:49 +00:00
use_detzip.patch feat(gerrit): Create Gerrit derivation. 2020-06-14 16:35:55 +00:00