Enable syntax highlighting for Go.

Interestingly enough there was already an entry for go in
mime-types.properties.

Change-Id: Ibf4742cbab1e18370a88616fd857eb133405b4f6
Signed-off-by: Dan Albert <danalbert@google.com>
This commit is contained in:
Dan Albert
2015-02-03 18:08:57 -08:00
parent cf700f2375
commit 3a19184672
3 changed files with 3 additions and 0 deletions

View File

@@ -51,6 +51,7 @@ public class ModeInfo extends JavaScriptObject {
Modes.I.gas(),
Modes.I.gerrit_commit(),
Modes.I.gfm(),
Modes.I.go(),
Modes.I.groovy(),
Modes.I.haskell(),
Modes.I.htmlmixed(),

View File

@@ -36,6 +36,7 @@ public interface Modes extends ClientBundle {
@Source("gas.js") @DoNotEmbed DataResource gas();
@Source("gerrit/commit.js") @DoNotEmbed DataResource gerrit_commit();
@Source("gfm.js") @DoNotEmbed DataResource gfm();
@Source("go.js") @DoNotEmbed DataResource go();
@Source("groovy.js") @DoNotEmbed DataResource groovy();
@Source("haskell.js") @DoNotEmbed DataResource haskell();
@Source("htmlmixed.js") @DoNotEmbed DataResource htmlmixed();

View File

@@ -53,6 +53,7 @@ CM_MODES = [
'erlang',
'gas',
'gfm',
'go',
'groovy',
'haskell',
'htmlmixed',