Kodemirror
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Kodemirror
vim
/
com.monkopedia.kodemirror.vim
/
Vim
/
defineOption
define
Option
fun
defineOption
(
name
:
String
,
defaultValue
:
Any
?
,
type
:
String
?
=
null
,
aliases
:
List
<
String
>
?
=
null
,
callback
:
(
Any
?
,
VimEditor
?
)
->
Any
?
?
=
null
)