summaryrefslogtreecommitdiff
path: root/lua/nvim-treesitter
diff options
context:
space:
mode:
authorRoberto Pommella Alegro <robertoaall@gmail.com>2022-07-08 15:29:03 -0300
committerStephan Seitz <stephan.seitz@fau.de>2022-07-08 21:58:42 +0200
commitaac4f027c590f95015e2a660338b313cc87d3816 (patch)
tree5e85de8ca3d1ce799cca28e41075a46b74a2039e /lua/nvim-treesitter
parentf0e710793fb5173a0ba826fb8df0ced96b2babbc (diff)
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 'lua/nvim-treesitter')
0 files changed, 0 insertions, 0 deletions