diff options
author | Luke Granger-Brown <hg@lukegb.com> | 2020-07-25T20·17+0100 |
---|---|---|
committer | lukegb <lukegb@tvl.fyi> | 2020-07-25T20·27+0000 |
commit | e010efb0402362b04527e8a5c48351af512c7e73 (patch) | |
tree | e3ffb864be7ca7e694010246caca1a4de01142d0 /third_party/gerrit/0003-Syntax-highlight-rules.pl.patch | |
parent | b10970a66f39e91f36975a2e83166c0192d9476e (diff) |
chore(gerrit): update to 3.2.2-1002-gea26b5ee7a r/1474
This is the version currently (2020-07-25) deployed on https://gerrit-review.googlesource.com/, and includes features such as The Attention Set. Change-Id: Idf29f96c38d7737efb0d64c4cd294dab46fe5412 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1437 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'third_party/gerrit/0003-Syntax-highlight-rules.pl.patch')
-rw-r--r-- | third_party/gerrit/0003-Syntax-highlight-rules.pl.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/third_party/gerrit/0003-Syntax-highlight-rules.pl.patch b/third_party/gerrit/0003-Syntax-highlight-rules.pl.patch index c458223dcfc8..a1c43a048521 100644 --- a/third_party/gerrit/0003-Syntax-highlight-rules.pl.patch +++ b/third_party/gerrit/0003-Syntax-highlight-rules.pl.patch @@ -1,4 +1,4 @@ -From ec8d9361d081070202a4b54035209077022dfca6 Mon Sep 17 00:00:00 2001 +From a8dad8e63a1be32f473e96c6c7530a70d368369f Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown <git@lukegb.com> Date: Thu, 2 Jul 2020 23:02:43 +0100 Subject: [PATCH 3/6] Syntax highlight rules.pl @@ -8,10 +8,10 @@ Subject: [PATCH 3/6] Syntax highlight rules.pl 1 file changed, 10 insertions(+) diff --git a/polygerrit-ui/app/elements/diff/gr-syntax-layer/gr-syntax-layer.js b/polygerrit-ui/app/elements/diff/gr-syntax-layer/gr-syntax-layer.js -index cc937cff67..2145bc169b 100644 +index 480d2946c3..b2020c24bd 100644 --- a/polygerrit-ui/app/elements/diff/gr-syntax-layer/gr-syntax-layer.js +++ b/polygerrit-ui/app/elements/diff/gr-syntax-layer/gr-syntax-layer.js -@@ -105,6 +105,10 @@ const LANGUAGE_MAP = { +@@ -103,6 +103,10 @@ const LANGUAGE_MAP = { }; const ASYNC_DELAY = 10; @@ -19,10 +19,10 @@ index cc937cff67..2145bc169b 100644 + 'rules.pl': 'prolog', +}; + - const CLASS_WHITELIST = { + const CLASS_SAFELIST = { 'gr-diff gr-syntax gr-syntax-attr': true, 'gr-diff gr-syntax gr-syntax-attribute': true, -@@ -236,10 +240,16 @@ class GrSyntaxLayer extends GestureEventListeners( +@@ -234,10 +238,16 @@ class GrSyntaxLayer extends GestureEventListeners( } } |