about summary refs log tree commit diff
path: root/third_party/git/builtin/submodule--helper.c
diff options
context:
space:
mode:
authorLuke Granger-Brown <git@lukegb.com>2020-06-14T11·37+0100
committerlukegb <lukegb@tvl.fyi>2020-06-14T17·24+0000
commit89b3ab939bd4e04ce22cc0bb8cc143dee7e2480c (patch)
tree3afcb827ab2e0a0e3c765fc2d514cd4a859b75e7 /third_party/git/builtin/submodule--helper.c
parent5ae0e44d1b02231dff67388a7ac57cf82a14926b (diff)
feat(gerrit): Syntax highlight rules.pl as Prolog. r/952
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>
Diffstat (limited to 'third_party/git/builtin/submodule--helper.c')
0 files changed, 0 insertions, 0 deletions