Use groovy support when editing Gradle files (#9681)

The Gradle build tool provides two DSLs for configuring builds. On is
based on Groovy and Gradle build files written in Gradle Groovy DSL use
*.gradle file ending.

This change adds `gradle` to the supported file types of the groovy
language configuration.
This commit is contained in:
Benedikt Ritter 2024-02-21 15:46:31 +01:00 committed by GitHub
parent cad0209e20
commit eca537615a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3130,7 +3130,7 @@ source = { git = "https://github.com/apple/tree-sitter-pkl", rev = "c03f04a313b7
name = "groovy"
language-id = "groovy"
scope = "source.groovy"
file-types = ["groovy", "jenkinsfile", { glob = "Jenkinsfile" }, { glob = "Jenkinsfile.*" }]
file-types = ["gradle", "groovy", "jenkinsfile", { glob = "Jenkinsfile" }, { glob = "Jenkinsfile.*" }]
shebangs = ["groovy"]
comment-token = "//"
indent = { tab-width = 2, unit = " " }