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 3, 2024
1 parent 88a3b37 commit 4af20dc
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 @@ -103,6 +103,34 @@
"light": "assets/icons/terraform_stacks.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 @@ -130,6 +158,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 4af20dc

Please sign in to comment.