File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ CodeForge 是一款轻量级、高性能的桌面代码执行器,专为开发
2222
2323## 支持的语言
2424
25+ - ** Clojure**
2526- ** Go**
2627- ** Java**
2728- ** Kotlin**
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ import { java } from '@codemirror/lang-java'
66import { rust } from '@codemirror/lang-rust'
77import { shell } from '@codemirror/legacy-modes/mode/shell'
88import { swift } from '@codemirror/legacy-modes/mode/swift'
9- import { scala } from '@codemirror/legacy-modes/mode/clike'
10- import { kotlin } from '@codemirror/legacy-modes/mode/clike '
9+ import { kotlin , scala } from '@codemirror/legacy-modes/mode/clike'
10+ import { clojure } from '@codemirror/legacy-modes/mode/clojure '
1111import {
1212 abcdef ,
1313 abyss ,
@@ -169,6 +169,8 @@ export function useCodeMirrorEditor(props: Props)
169169 return StreamLanguage . define ( scala )
170170 case 'kotlin' :
171171 return StreamLanguage . define ( kotlin )
172+ case 'clojure' :
173+ return StreamLanguage . define ( clojure )
172174 default :
173175 return null
174176 }
You can’t perform that action at this time.
0 commit comments