Skip to content

Commit

Permalink
Use source.gradle-kotlin-dsl for Kotlin grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
fwcd authored and fbricon committed Jan 15, 2024
1 parent d5536ac commit 56f2cfb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions language-support/kotlin/kotlin.tmLanguage.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"information_for_contributors": [
"This file has been copied from https://github.com/eclipse/buildship/blob/b848d9a08283b68860671a73ceec3c99bdab27c2/org.eclipse.buildship.kotlindsl.provider/kotlin.tmLanguage.json"
"This file has been copied from https://github.com/eclipse/buildship/blob/b848d9a08283b68860671a73ceec3c99bdab27c2/org.eclipse.buildship.kotlindsl.provider/kotlin.tmLanguage.json",
"NOTE: This uses the scope 'source.gradle-kotlin-dsl' rather than 'source.kotlin' to avoid conflicts with other Kotlin grammars."
],
"$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
"name": "Kotlin",
"scopeName": "source.kotlin",
"name": "Gradle Kotlin DSL",
"scopeName": "source.gradle-kotlin-dsl",
"patterns": [
{
"include": "#import"
Expand Down Expand Up @@ -698,4 +699,4 @@
"name": "variable.language.this.kotlin"
}
}
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@
},
{
"language": "gradle-kotlin-dsl",
"scopeName": "source.kotlin",
"scopeName": "source.gradle-kotlin-dsl",
"path": "./language-support/kotlin/kotlin.tmLanguage.json"
},
{
Expand Down

0 comments on commit 56f2cfb

Please sign in to comment.