2020-07-25 22:17:39 +02:00
|
|
|
From 1310ad5e56248bf216774cd13e828ba76e0c6f65 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
|
2020-07-11 02:48:54 +02:00
|
|
|
Subject: [PATCH 2/6] Syntax highlight nix
|
2020-07-03 00:28:39 +02:00
|
|
|
|
|
|
|
---
|
|
|
|
.../app/elements/diff/gr-syntax-layer/gr-syntax-layer.js | 1 +
|
|
|
|
1 file changed, 1 insertion(+)
|
|
|
|
|
2020-06-14 13:36:04 +02:00
|
|
|
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
|
2020-07-25 22:17:39 +02:00
|
|
|
index 6399c4a469..480d2946c3 100644
|
2020-06-14 13:36:04 +02:00
|
|
|
--- 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
|
2020-07-25 22:17:39 +02:00
|
|
|
@@ -99,6 +99,7 @@ const LANGUAGE_MAP = {
|
2020-06-14 13:36:04 +02:00
|
|
|
'text/x-vhdl': 'vhdl',
|
|
|
|
'text/x-yaml': 'yaml',
|
|
|
|
'text/vbscript': 'vbscript',
|
|
|
|
+ 'application/x-mix-transfer': 'nix',
|
|
|
|
};
|
|
|
|
const ASYNC_DELAY = 10;
|
|
|
|
|
2020-07-03 00:28:39 +02:00
|
|
|
--
|
2020-07-11 02:48:54 +02:00
|
|
|
2.27.0
|
2020-07-03 00:28:39 +02:00
|
|
|
|