2023-04-13 04:21:25 -04:00
|
|
|
import { syntaxTree } from '@codemirror/language'
|
2024-10-21 05:58:59 -04:00
|
|
|
import {
|
|
|
|
EditorSelection,
|
|
|
|
Prec,
|
|
|
|
StateEffect,
|
|
|
|
StateField,
|
|
|
|
} from '@codemirror/state'
|
2023-04-13 04:21:25 -04:00
|
|
|
import {
|
|
|
|
Decoration,
|
|
|
|
EditorView,
|
|
|
|
hoverTooltip,
|
|
|
|
keymap,
|
|
|
|
ViewPlugin,
|
|
|
|
WidgetType,
|
|
|
|
} from '@codemirror/view'
|
|
|
|
import { CodeMirror, Vim, getCM } from '@replit/codemirror-vim'
|
|
|
|
|
|
|
|
export default {
|
|
|
|
Decoration,
|
|
|
|
EditorSelection,
|
|
|
|
EditorView,
|
2024-10-21 05:58:59 -04:00
|
|
|
Prec,
|
2023-04-13 04:21:25 -04:00
|
|
|
StateEffect,
|
|
|
|
StateField,
|
|
|
|
ViewPlugin,
|
|
|
|
WidgetType,
|
|
|
|
hoverTooltip,
|
|
|
|
keymap,
|
|
|
|
syntaxTree,
|
|
|
|
}
|
|
|
|
|
|
|
|
export const CodeMirrorVim = {
|
|
|
|
CodeMirror,
|
|
|
|
Vim,
|
|
|
|
getCM,
|
|
|
|
}
|