languageDataMapOf
Build a LanguageDataMap from type-safe entries.
val data = languageDataMapOf(
LanguageDataKey.COMMENT_TOKENS of mapOf("line" to "//"),
LanguageDataKey.INDENT_ON_INPUT of Regex("^\\s*\\}$")
)Content copied to clipboard