mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-02 18:05:49 -05:00
31 lines
536 B
TypeScript
31 lines
536 B
TypeScript
|
import { syntaxTree } from '@codemirror/language'
|
||
|
import { EditorSelection, 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,
|
||
|
StateEffect,
|
||
|
StateField,
|
||
|
ViewPlugin,
|
||
|
WidgetType,
|
||
|
hoverTooltip,
|
||
|
keymap,
|
||
|
syntaxTree,
|
||
|
}
|
||
|
|
||
|
export const CodeMirrorVim = {
|
||
|
CodeMirror,
|
||
|
Vim,
|
||
|
getCM,
|
||
|
}
|