Rename to use CM naming consistently

This commit is contained in:
Alasdair Smith 2018-02-22 14:43:57 +00:00
parent 027ab1250a
commit 3677dc9a8b

View file

@ -1,9 +1,9 @@
import CodeMirror, { Doc } from 'codemirror'
import LatexParser from './ide/editor/codemirror/parser'
import LatexMode from './ide/editor/codemirror/LatexMode'
export function init (rootEl) {
CodeMirror.defineMode('latex', () => new LatexParser())
CodeMirror.defineMode('latex', () => new LatexMode())
CodeMirror.defineMIME('application/x-tex', 'latex')
CodeMirror.defineMIME('application/x-latex', 'latex')