Revert "CM3: Add reStructuredText mode"
Causing rendering failures in some cases. Filed a bug upstream: https://github.com/codemirror/CodeMirror/issues/2850 Change-Id: I0b4032d41b1fe5b9756ff59f752f5fce86634c41
This commit is contained in:
parent
037d062bf4
commit
64ec68e0c9
@ -66,13 +66,11 @@ public class ModeInjector {
|
||||
Modes.I.properties(),
|
||||
Modes.I.python(),
|
||||
Modes.I.r(),
|
||||
Modes.I.rst(),
|
||||
Modes.I.ruby(),
|
||||
Modes.I.scheme(),
|
||||
Modes.I.shell(),
|
||||
Modes.I.smalltalk(),
|
||||
Modes.I.sql(),
|
||||
Modes.I.stex(),
|
||||
Modes.I.velocity(),
|
||||
Modes.I.verilog(),
|
||||
Modes.I.xml(),
|
||||
|
@ -49,13 +49,11 @@ public interface Modes extends ClientBundle {
|
||||
@Source("properties/properties.js") @DoNotEmbed DataResource properties();
|
||||
@Source("python/python.js") @DoNotEmbed DataResource python();
|
||||
@Source("r/r.js") @DoNotEmbed DataResource r();
|
||||
@Source("rst/rst.js") @DoNotEmbed DataResource rst();
|
||||
@Source("ruby/ruby.js") @DoNotEmbed DataResource ruby();
|
||||
@Source("scheme/scheme.js") @DoNotEmbed DataResource scheme();
|
||||
@Source("shell/shell.js") @DoNotEmbed DataResource shell();
|
||||
@Source("smalltalk/smalltalk.js") @DoNotEmbed DataResource smalltalk();
|
||||
@Source("sql/sql.js") @DoNotEmbed DataResource sql();
|
||||
@Source("stex/stex.js") @DoNotEmbed DataResource stex();
|
||||
@Source("tcl/tcl.js") @DoNotEmbed DataResource tcl();
|
||||
@Source("velocity/velocity.js") @DoNotEmbed DataResource velocity();
|
||||
@Source("verilog/verilog.js") @DoNotEmbed DataResource verilog();
|
||||
|
@ -94,9 +94,6 @@ text/x-python
|
||||
r:
|
||||
text/r-src
|
||||
|
||||
rst:
|
||||
text/x-rst
|
||||
|
||||
ruby:
|
||||
text/x-ruby
|
||||
|
||||
@ -119,9 +116,6 @@ text/x-plsql
|
||||
tcl:
|
||||
text/x-tcl
|
||||
|
||||
stex:
|
||||
text/x-stex
|
||||
|
||||
velocity:
|
||||
text/velocity
|
||||
|
||||
|
@ -30,11 +30,9 @@ project.config = text/x-ini
|
||||
properties = text/x-ini
|
||||
py = text/x-python
|
||||
r = text/r-src
|
||||
rst = text/x-rst
|
||||
rb = text/x-ruby
|
||||
scala = text/x-scala
|
||||
st = text/x-stsrc
|
||||
stex = text/x-stex
|
||||
v = text/x-verilog
|
||||
vh = text/x-verilog
|
||||
vm = text/velocity
|
||||
|
@ -20,7 +20,6 @@ CM3_JS = [
|
||||
'addon/search/search.js',
|
||||
'addon/selection/mark-selection.js',
|
||||
'addon/edit/trailingspace.js',
|
||||
'addon/mode/overlay.js',
|
||||
]
|
||||
|
||||
CM3_MODES = [
|
||||
@ -48,13 +47,11 @@ CM3_MODES = [
|
||||
'properties/properties.js',
|
||||
'python/python.js',
|
||||
'r/r.js',
|
||||
'rst/rst.js',
|
||||
'ruby/ruby.js',
|
||||
'scheme/scheme.js',
|
||||
'shell/shell.js',
|
||||
'smalltalk/smalltalk.js',
|
||||
'sql/sql.js',
|
||||
'stex/stex.js',
|
||||
'tcl/tcl.js',
|
||||
'velocity/velocity.js',
|
||||
'verilog/verilog.js',
|
||||
|
Loading…
Reference in New Issue
Block a user