Codemirror: Add vhdl mode
Verilog mode was always supported by Codemirror, but support for VHDL was only added in recent Codemirror version, so that we can only include it now. Bug: Issue 3447 Change-Id: I91028acf3f41f51981f710db00bee9a8c9398aee
This commit is contained in:
parent
5bbfb22d36
commit
92ca421222
@ -75,6 +75,7 @@ public class ModeInfo extends JavaScriptObject {
|
||||
Modes.I.stex(),
|
||||
Modes.I.velocity(),
|
||||
Modes.I.verilog(),
|
||||
Modes.I.vhdl(),
|
||||
Modes.I.xml(),
|
||||
Modes.I.yaml(),
|
||||
});
|
||||
|
@ -61,6 +61,7 @@ public interface Modes extends ClientBundle {
|
||||
@Source("tcl.js") @DoNotEmbed DataResource tcl();
|
||||
@Source("velocity.js") @DoNotEmbed DataResource velocity();
|
||||
@Source("verilog.js") @DoNotEmbed DataResource verilog();
|
||||
@Source("vhdl.js") @DoNotEmbed DataResource vhdl();
|
||||
@Source("xml.js") @DoNotEmbed DataResource xml();
|
||||
@Source("yaml.js") @DoNotEmbed DataResource yaml();
|
||||
|
||||
|
@ -48,5 +48,6 @@ stex = text/x-stex
|
||||
v = text/x-verilog
|
||||
vert = x-shader/x-vertex
|
||||
vh = text/x-verilog
|
||||
vhdl = text/x-vhdl
|
||||
vm = text/velocity
|
||||
yaml = text/x-yaml
|
||||
|
@ -81,6 +81,7 @@ CM_MODES = [
|
||||
'tcl',
|
||||
'velocity',
|
||||
'verilog',
|
||||
'vhdl',
|
||||
'xml',
|
||||
'yaml',
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user