Skip to content

Commit

Permalink
Use groovy support when editing Gradle files (helix-editor#9681)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
britter authored and uek-1 committed Feb 24, 2024
1 parent faf5237 commit d7f590b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = " " }
Expand Down

0 comments on commit d7f590b

Please sign in to comment.