mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Rename to use CM naming consistently
This commit is contained in:
parent
027ab1250a
commit
3677dc9a8b
1 changed files with 2 additions and 2 deletions
|
@ -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')
|
||||
|
||||
|
|
Loading…
Reference in a new issue