Skip to content

Commit d0a00da

Browse files
committed
tweak ini styles
1 parent 0dd5bc8 commit d0a00da

File tree

1 file changed

+1
-1
lines changed
  • core/src/main/kotlin/dev/fishies/coho/core/highlighting

1 file changed

+1
-1
lines changed

core/src/main/kotlin/dev/fishies/coho/core/highlighting/Ini.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ private val variantTypes = listOf(
1616
fun createIniGrammar() = grammar(
1717
"ini",
1818
token("comment", pattern(compile(";.*\\n"))),
19-
token("property", pattern(compile("^.+?(?==)", MULTILINE))),
19+
token("ini-property", pattern(compile("^.+?(?==)", MULTILINE), false, false, "identifier")),
2020
token("class-name", pattern(compile("^\\[.+\\]$", MULTILINE))),
2121
token("string", pattern(compile("&?\\^?\"(?:[^\"\\\\]|\\\\.)*+\""))),
2222
token("boolean", pattern(compile("true|false"))),

0 commit comments

Comments
 (0)