mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-15 23:58:33 +00:00
add vim extension (hard coded)
This commit is contained in:
parent
70d1eb17a7
commit
18d3a7e23a
@ -37,6 +37,7 @@
|
||||
"@codemirror/state": "^6.2.0",
|
||||
"@codemirror/view": "^6.7.3",
|
||||
"@lezer/highlight": "^1.1.3",
|
||||
"@replit/codemirror-vim": "^6.0.6",
|
||||
"@strudel.cycles/core": "workspace:*",
|
||||
"@strudel.cycles/transpiler": "workspace:*",
|
||||
"@strudel.cycles/webaudio": "workspace:*",
|
||||
|
||||
@ -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 }),
|
||||
|
||||
15
pnpm-lock.yaml
generated
15
pnpm-lock.yaml
generated
@ -164,6 +164,7 @@ importers:
|
||||
'@codemirror/state': ^6.2.0
|
||||
'@codemirror/view': ^6.7.3
|
||||
'@lezer/highlight': ^1.1.3
|
||||
'@replit/codemirror-vim': ^6.0.6
|
||||
'@strudel.cycles/core': workspace:*
|
||||
'@strudel.cycles/transpiler': workspace:*
|
||||
'@strudel.cycles/webaudio': workspace:*
|
||||
@ -185,6 +186,7 @@ importers:
|
||||
'@codemirror/state': 6.2.0
|
||||
'@codemirror/view': 6.7.3
|
||||
'@lezer/highlight': 1.1.3
|
||||
'@replit/codemirror-vim': 6.0.6_a4vbhepr4qhxm5cldqd4jpyase
|
||||
'@strudel.cycles/core': link:../core
|
||||
'@strudel.cycles/transpiler': link:../transpiler
|
||||
'@strudel.cycles/webaudio': link:../webaudio
|
||||
@ -3400,6 +3402,19 @@ packages:
|
||||
tsm: 2.3.0
|
||||
dev: false
|
||||
|
||||
/@replit/codemirror-vim/6.0.6_a4vbhepr4qhxm5cldqd4jpyase:
|
||||
resolution: {integrity: sha512-/Lc+5AmV+T5pTm5P+rWpL+gseNHNye7xaUWpULczHai5ZLVg/ZE3+MBwK3Ai+/SmZKR/mK2YuXgNKnTGToEGYg==}
|
||||
peerDependencies:
|
||||
'@codemirror/commands': ^6.0.0
|
||||
'@codemirror/language': ^6.1.0
|
||||
'@codemirror/search': ^6.2.0
|
||||
'@codemirror/state': ^6.0.1
|
||||
'@codemirror/view': ^6.0.3
|
||||
dependencies:
|
||||
'@codemirror/state': 6.2.0
|
||||
'@codemirror/view': 6.7.3
|
||||
dev: false
|
||||
|
||||
/@rollup/plugin-babel/5.3.1_3dsfpkpoyvuuxyfgdbpn4j4uzm:
|
||||
resolution: {integrity: sha512-WFfdLWU/xVWKeRQnKmIAQULUI7Il0gZnBIH/ZFO069wYIfPu+8zrfp/KMW0atmELoRDq8FbiP3VCss9MhCut7Q==}
|
||||
engines: {node: '>= 10.0.0'}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user