add vim extension (hard coded)
This commit is contained in:
parent
70d1eb17a7
commit
18d3a7e23a
3 changed files with 18 additions and 0 deletions
|
|
@ -8,6 +8,7 @@ import './style.css';
|
|||
import { useCallback } from 'react';
|
||||
import { autocompletion } from '@codemirror/autocomplete';
|
||||
import { strudelAutocomplete } from './Autocomplete';
|
||||
import { vim } from '@replit/codemirror-vim';
|
||||
|
||||
export const setFlash = StateEffect.define();
|
||||
const flashField = StateField.define({
|
||||
|
|
@ -84,6 +85,7 @@ const highlightField = StateField.define({
|
|||
|
||||
const extensions = [
|
||||
javascript(),
|
||||
vim(),
|
||||
highlightField,
|
||||
flashField,
|
||||
// javascriptLanguage.data.of({ autocomplete: strudelAutocomplete }),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue