Codemirror mode now correct for c-like langs

Fixes #849
This commit is contained in:
Dan Brown 2018-05-20 09:32:15 +01:00
parent d3d8ddbe52
commit 9f4c64a676
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9

View File

@ -20,13 +20,13 @@ const CodeMirror = require('codemirror');
const modeMap = {
css: 'css',
c: 'clike',
java: 'clike',
scala: 'clike',
kotlin: 'clike',
'c++': 'clike',
'c#': 'clike',
csharp: 'clike',
c: 'text/x-csrc',
java: 'text/x-java',
scala: 'text/x-scala',
kotlin: 'text/x-kotlin',
'c++': 'text/x-c++src',
'c#': 'text/x-csharp',
csharp: 'text/x-csharp',
diff: 'diff',
go: 'go',
html: 'htmlmixed',