Merge "Enable syntax highlighting for Swift"

This commit is contained in:
David Pursehouse 2016-01-12 01:03:57 +00:00 committed by Gerrit Code Review
commit d942764292
4 changed files with 4 additions and 0 deletions

View File

@ -73,6 +73,7 @@ public class ModeInfo extends JavaScriptObject {
Modes.I.soy(),
Modes.I.sql(),
Modes.I.stex(),
Modes.I.swift(),
Modes.I.velocity(),
Modes.I.verilog(),
Modes.I.vhdl(),

View File

@ -55,6 +55,7 @@ public interface Modes extends ClientBundle {
@Source("scheme.js") @DoNotEmbed DataResource scheme();
@Source("shell.js") @DoNotEmbed DataResource shell();
@Source("smalltalk.js") @DoNotEmbed DataResource smalltalk();
@Source("swift.js") @DoNotEmbed DataResource swift();
@Source("soy.js") @DoNotEmbed DataResource soy();
@Source("sql.js") @DoNotEmbed DataResource sql();
@Source("stex.js") @DoNotEmbed DataResource stex();

View File

@ -46,6 +46,7 @@ scala = text/x-scala
soy = text/x-soy
st = text/x-stsrc
stex = text/x-stex
swift = text/x-swift
v = text/x-verilog
vert = x-shader/x-vertex
vh = text/x-verilog

View File

@ -78,6 +78,7 @@ CM_MODES = [
'soy',
'sql',
'stex',
'swift',
'tcl',
'velocity',
'verilog',