Merge "Enable syntax highlighting for Swift"
This commit is contained in:
commit
d942764292
@ -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(),
|
||||
|
@ -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();
|
||||
|
@ -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
|
||||
|
@ -78,6 +78,7 @@ CM_MODES = [
|
||||
'soy',
|
||||
'sql',
|
||||
'stex',
|
||||
'swift',
|
||||
'tcl',
|
||||
'velocity',
|
||||
'verilog',
|
||||
|
Loading…
Reference in New Issue
Block a user