File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed
Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ <h1><span class="logo-braces">{ }</span> <a href="http://codemirror.net/">CodeMi
7070 < option value ="http://codemirror.net/mode/coffeescript/coffeescript.js "> coffeescript.js</ option >
7171 < option value ="http://codemirror.net/mode/commonlisp/commonlisp.js "> commonlisp.js</ option >
7272 < option value ="http://codemirror.net/mode/css/css.js "> css.js</ option >
73+ < option value ="http://codemirror.net/mode/d/d.js "> d.js</ option >
7374 < option value ="http://codemirror.net/mode/diff/diff.js "> diff.js</ option >
7475 < option value ="http://codemirror.net/mode/ecl/ecl.js "> ecl.js</ option >
7576 < option value ="http://codemirror.net/mode/erlang/erlang.js "> erlang.js</ option >
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ <h2 style="margin-top: 0">Supported modes:</h2>
4040 < li > < a href ="mode/coffeescript/index.html "> CoffeeScript</ a > </ li >
4141 < li > < a href ="mode/commonlisp/index.html "> Common Lisp</ a > </ li >
4242 < li > < a href ="mode/css/index.html "> CSS</ a > </ li >
43+ < li > < a href ="mode/d/index.html "> D</ a > </ li >
4344 < li > < a href ="mode/diff/index.html "> diff</ a > </ li >
4445 < li > < a href ="mode/ecl/index.html "> ECL</ a > </ li >
4546 < li > < a href ="mode/erlang/index.html "> Erlang</ a > </ li >
Original file line number Diff line number Diff line change @@ -249,6 +249,7 @@ <h1>CodeMirror: D mode</h1>
249249 var editor = CodeMirror . fromTextArea ( document . getElementById ( "code" ) , {
250250 lineNumbers : true ,
251251 matchBrackets : true ,
252+ indentUnit : 4 ,
252253 mode : "text/x-d"
253254 } ) ;
254255 </ script >
You can’t perform that action at this time.
0 commit comments