File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,13 +24,13 @@ CodeForge 是一款轻量级、高性能的桌面代码执行器,专为开发
2424
2525- ** Go**
2626- ** Java**
27+ - ** Kotlin**
2728- ** Node.js**
2829- ** Python 2**
2930- ** Python 3**
3031- ** Rust**
3132- ** Shell**
3233- ** Swift**
33- - ** ...更多语言敬请期待**
3434
3535## 安装
3636
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import { rust } from '@codemirror/lang-rust'
77import { shell } from '@codemirror/legacy-modes/mode/shell'
88import { swift } from '@codemirror/legacy-modes/mode/swift'
99import { scala } from '@codemirror/legacy-modes/mode/clike'
10+ import { kotlin } from '@codemirror/legacy-modes/mode/clike'
1011import {
1112 abcdef ,
1213 abyss ,
@@ -166,6 +167,8 @@ export function useCodeMirrorEditor(props: Props)
166167 return StreamLanguage . define ( swift )
167168 case 'scala' :
168169 return StreamLanguage . define ( scala )
170+ case 'kotlin' :
171+ return StreamLanguage . define ( kotlin )
169172 default :
170173 return null
171174 }
You can’t perform that action at this time.
0 commit comments