Skip to content

Commit

Permalink
Extract HCL Syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
jpogran committed Feb 28, 2022
1 parent 539a260 commit d29d147
Show file tree
Hide file tree
Showing 25 changed files with 2,642 additions and 2,284 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Syntax highlighting files for editors (VSCode, SublimeText, TextMate, etc.) for

By product, format:

* HCL - TextMate
* Terraform - TextMate

## What editors this can be used with
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@
"format": "prettier --write syntaxes/*.json",
"test": "npm run test:grammar && npm run test:snap",
"test:grammar": "npm run test:grammar:terraform",
"test:grammar:terraform": "npx vscode-tmgrammar-test -s source.terraform -g syntaxes/terraform.tmGrammar.json -t tests/unit/**/*.tf",
"test:grammar:hcl": "npx vscode-tmgrammar-test -s source.hcl -g syntaxes/hcl.tmGrammar.json -t tests/unit/hcl/*.hcl",
"test:grammar:terraform": "npx vscode-tmgrammar-test -s source.terraform -g syntaxes/terraform.tmGrammar.json -g syntaxes/hcl.tmGrammar.json -t tests/unit/**/*.tf",
"test:snap": "npm run test:snap:terraform",
"test:snap:terraform": "npx vscode-tmgrammar-snap -s source.terraform -g syntaxes/terraform.tmGrammar.json -t tests/snapshot/**/*.tf"
"test:snap:hcl": "npx vscode-tmgrammar-snap -s source.hcl -g syntaxes/hcl.tmGrammar.json -t tests/snapshot/hcl/*.hcl"
},
"devDependencies": {
"prettier": "^2.5.1",
Expand Down
Loading

0 comments on commit d29d147

Please sign in to comment.