|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
const CodeMirror = require('codemirror')
|
|
|
|
|
|
|
|
|
|
CodeMirror.defineMode('nimrod', function (conf, parserConf) {
|
|
|
|
|
CodeMirror.defineMode('nim', function (conf, parserConf) {
|
|
|
|
|
var ERRORCLASS = 'error'
|
|
|
|
|
|
|
|
|
|
function wordRegexp(words) {
|
|
|
|
@ -180,10 +180,6 @@ CodeMirror.defineMode('nimrod', function (conf, parserConf) {
|
|
|
|
|
'isMainModule',
|
|
|
|
|
'CompileDate',
|
|
|
|
|
'CompileTime',
|
|
|
|
|
'NimrodVersion',
|
|
|
|
|
'NimrodMajor',
|
|
|
|
|
'NimrodMinor',
|
|
|
|
|
'NimrodPatch',
|
|
|
|
|
'cpuEndian',
|
|
|
|
|
'hostOS',
|
|
|
|
|
'hostCPU',
|
|
|
|
@ -633,4 +629,4 @@ CodeMirror.defineMode('nimrod', function (conf, parserConf) {
|
|
|
|
|
return external
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
CodeMirror.defineMIME('text/x-nimrod', 'nimrod')
|
|
|
|
|
CodeMirror.defineMIME('text/x-nim', 'nim')
|