Skip to content

Commit

Permalink
Add language configuration for test & mock files
Browse files Browse the repository at this point in the history
  • Loading branch information
dbanck authored and ansgarm committed Sep 11, 2024
1 parent 357f626 commit 17d39fe
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,34 @@
"dark": "./assets/icons/HashiCorp_Icon_White_RGB.svg"
}
},
{
"id": "terraform-test",
"aliases": [
"Terraform Test"
],
"extensions": [
".tftest.hcl"
],
"configuration": "./language-configuration.json",
"icon": {
"dark": "assets/icons/terraform_stacks.svg",
"light": "assets/icons/terraform_stacks.svg"
}
},
{
"id": "terraform-mock",
"aliases": [
"Terraform Mock"
],
"extensions": [
".tfmock.hcl"
],
"configuration": "./language-configuration.json",
"icon": {
"dark": "assets/icons/terraform_stacks.svg",
"light": "assets/icons/terraform_stacks.svg"
}
},
{
"id": "json",
"extensions": [
Expand Down Expand Up @@ -143,6 +171,16 @@
"language": "terraform-deploy",
"scopeName": "source.hcl",
"path": "./syntaxes/hcl.tmGrammar.json"
},
{
"language": "terraform-test",
"scopeName": "source.hcl",
"path": "./syntaxes/hcl.tmGrammar.json"
},
{
"language": "terraform-mock",
"scopeName": "source.hcl",
"path": "./syntaxes/hcl.tmGrammar.json"
}
],
"semanticTokenTypes": [
Expand Down

0 comments on commit 17d39fe

Please sign in to comment.