mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-13 13:49:36 -05:00
9fdbd5cfb5
GitOrigin-RevId: b8680926a9885f19ebc9227de678674da1765158
36 lines
559 B
TypeScript
36 lines
559 B
TypeScript
import { syntaxTree } from '@codemirror/language'
|
|
import {
|
|
EditorSelection,
|
|
Prec,
|
|
StateEffect,
|
|
StateField,
|
|
} from '@codemirror/state'
|
|
import {
|
|
Decoration,
|
|
EditorView,
|
|
hoverTooltip,
|
|
keymap,
|
|
ViewPlugin,
|
|
WidgetType,
|
|
} from '@codemirror/view'
|
|
import { CodeMirror, Vim, getCM } from '@replit/codemirror-vim'
|
|
|
|
export default {
|
|
Decoration,
|
|
EditorSelection,
|
|
EditorView,
|
|
Prec,
|
|
StateEffect,
|
|
StateField,
|
|
ViewPlugin,
|
|
WidgetType,
|
|
hoverTooltip,
|
|
keymap,
|
|
syntaxTree,
|
|
}
|
|
|
|
export const CodeMirrorVim = {
|
|
CodeMirror,
|
|
Vim,
|
|
getCM,
|
|
}
|