Skip to content

Commit

Permalink
Add uiua codemirror support (#7167)
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikSchierboom authored Nov 26, 2024
1 parent 0f4bb98 commit 144eded
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ export const loadLanguageCompartment = async (
const { rust: reasonml } = await import('@codemirror/lang-rust')
return compartment.of(reasonml())
}
case 'uiua': {
const { uiua } = await import('@exercism/codemirror-lang-uiua')
return compartment.of(uiua())
}
case 'wren': {
const { wren } = await import('@exercism/codemirror-lang-wren')
return compartment.of(wren())
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"@exercism/active-background": "^0.6.2",
"@exercism/codemirror-lang-arturo": "^0.1.6",
"@exercism/codemirror-lang-gleam": "^2.0.1",
"@exercism/codemirror-lang-uiua": "^0.0.4",
"@exercism/codemirror-lang-wren": "https://github.com/exercism/codemirror-lang-wren",
"@exercism/highlightjs-arturo": "^0.0.2",
"@exercism/highlightjs-gdscript": "^0.0.1",
Expand Down
9 changes: 9 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1509,6 +1509,15 @@
"@lezer/highlight" "^1.2.0"
"@lezer/lr" "^1.4.0"

"@exercism/codemirror-lang-uiua@^0.0.4":
version "0.0.4"
resolved "https://registry.yarnpkg.com/@exercism/codemirror-lang-uiua/-/codemirror-lang-uiua-0.0.4.tgz#fba326cf48f405bbdee575d1f273d4747ed605e4"
integrity sha512-Dqc90pxIZjcv4+Xl8xr//7mQGeyyIDVNZAFCKmx3EafiSn3jpYNt+8/DqxA5O12wkTPfI7Kg3NNXZ1f8NxPRIw==
dependencies:
"@codemirror/language" "^6.10.1"
"@lezer/highlight" "^1.2.0"
"@lezer/lr" "^1.4.0"

"@exercism/codemirror-lang-wren@https://github.com/exercism/codemirror-lang-wren":
version "1.0.0"
resolved "https://github.com/exercism/codemirror-lang-wren#3bde9961a87f3e46ddb3e282f979f39295be626b"
Expand Down

0 comments on commit 144eded

Please sign in to comment.