2021-04-04 12:28:41 +02:00
|
|
|
From 27575eba5e812c4e86aa35f32e2958758312cf87 Mon Sep 17 00:00:00 2001
|
2020-07-03 00:28:39 +02:00
|
|
|
From: Luke Granger-Brown <git@lukegb.com>
|
|
|
|
Date: Thu, 2 Jul 2020 23:02:32 +0100
|
2021-04-04 12:28:41 +02:00
|
|
|
Subject: [PATCH 2/6] Syntax highlight nix
|
2020-07-03 00:28:39 +02:00
|
|
|
|
|
|
|
---
|
2020-11-27 18:39:35 +01:00
|
|
|
.../app/elements/diff/gr-syntax-layer/gr-syntax-layer.ts | 1 +
|
2020-07-03 00:28:39 +02:00
|
|
|
1 file changed, 1 insertion(+)
|
|
|
|
|
2020-11-27 18:39:35 +01:00
|
|
|
diff --git a/polygerrit-ui/app/elements/diff/gr-syntax-layer/gr-syntax-layer.ts b/polygerrit-ui/app/elements/diff/gr-syntax-layer/gr-syntax-layer.ts
|
2021-04-04 12:28:41 +02:00
|
|
|
index f5e5e047bc..0c3bb40ce4 100644
|
2020-11-27 18:39:35 +01:00
|
|
|
--- a/polygerrit-ui/app/elements/diff/gr-syntax-layer/gr-syntax-layer.ts
|
|
|
|
+++ b/polygerrit-ui/app/elements/diff/gr-syntax-layer/gr-syntax-layer.ts
|
2021-04-04 12:28:41 +02:00
|
|
|
@@ -105,6 +105,7 @@ const LANGUAGE_MAP = new Map<string, string>([
|
2020-11-27 18:39:35 +01:00
|
|
|
['text/x-vhdl', 'vhdl'],
|
|
|
|
['text/x-yaml', 'yaml'],
|
|
|
|
['text/vbscript', 'vbscript'],
|
|
|
|
+ ['application/x-mix-transfer', 'nix'],
|
|
|
|
]);
|
2020-06-14 13:36:04 +02:00
|
|
|
const ASYNC_DELAY = 10;
|
|
|
|
|
2020-07-03 00:28:39 +02:00
|
|
|
--
|
2020-11-27 18:39:35 +01:00
|
|
|
2.29.2
|
2020-07-03 00:28:39 +02:00
|
|
|
|