File tree Expand file tree Collapse file tree 3 files changed +9
-0
lines changed
Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ CodeForge 是一款轻量级、高性能的桌面代码执行器,专为开发
3030 <img src =" public/icons/css.svg " width =" 60 " alt =" CSS " >
3131 <img src =" public/icons/go.svg " width =" 60 " alt =" Go " >
3232 <img src =" public/icons/groovy.svg " width =" 60 " alt =" Groovy " >
33+ <img src =" public/icons/haskell.svg " width =" 60 " alt =" Haskell " >
3334 <img src =" public/icons/html.svg " width =" 60 " alt =" HTML " >
3435 <img src =" public/icons/java.svg " width =" 60 " alt =" Java " >
3536 <img src =" public/icons/javascript-browser.svg " width =" 60 " alt =" JavaScript (Browser) " >
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ import {clojure} from '@codemirror/legacy-modes/mode/clojure'
1616import { ruby } from '@codemirror/legacy-modes/mode/ruby'
1717import { groovy } from '@codemirror/legacy-modes/mode/groovy'
1818import { r } from "@codemirror/legacy-modes/mode/r"
19+ import { haskell } from "@codemirror/legacy-modes/mode/haskell"
1920import {
2021 abcdef ,
2122 abyss ,
@@ -213,6 +214,8 @@ export function useCodeMirrorEditor(props: Props)
213214 return php ( )
214215 case 'r' :
215216 return StreamLanguage . define ( r )
217+ case 'haskell' :
218+ return StreamLanguage . define ( haskell )
216219 default :
217220 return null
218221 }
You can’t perform that action at this time.
0 commit comments