diff options
| author | Roberto Pommella Alegro <robertoaall@gmail.com> | 2022-07-08 15:29:03 -0300 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2022-07-08 21:58:42 +0200 |
| commit | aac4f027c590f95015e2a660338b313cc87d3816 (patch) | |
| tree | 5e85de8ca3d1ce799cca28e41075a46b74a2039e /tests/indent/ruby_spec.lua | |
| parent | support the fold of haskell (diff) | |
| download | nvim-treesitter-aac4f027c590f95015e2a660338b313cc87d3816.tar nvim-treesitter-aac4f027c590f95015e2a660338b313cc87d3816.tar.gz nvim-treesitter-aac4f027c590f95015e2a660338b313cc87d3816.tar.bz2 nvim-treesitter-aac4f027c590f95015e2a660338b313cc87d3816.tar.lz nvim-treesitter-aac4f027c590f95015e2a660338b313cc87d3816.tar.xz nvim-treesitter-aac4f027c590f95015e2a660338b313cc87d3816.tar.zst nvim-treesitter-aac4f027c590f95015e2a660338b313cc87d3816.zip | |
Add heredoc language injection for HCL
Add a heredoc language injection similar to Ruby for HCL. This allows terraform resources like this to be properly highlighted
```hcl
resource "aws_iam_role" "sample" {
name = "sample"
assume_role_policy = <<JSON
{
"Version": "2012-10-17",
"Statement": [
{
"Action": "sts:AssumeRole",
"Principal": {
"AWS": "*"
},
"Effect": "Allow",
"Sid": ""
}
]
}
JSON
}
```
Diffstat (limited to 'tests/indent/ruby_spec.lua')
0 files changed, 0 insertions, 0 deletions
