summaryrefslogtreecommitdiff
path: root/runtime/queries/hcl/injections.scm
diff options
context:
space:
mode:
authorMichael Daffin2022-02-25 08:48:20 +0000
committerGitHub2022-02-25 08:48:20 +0000
commit93ec42d06e6c7b8c157fd17a1ed40dda3ee91bf3 (patch)
tree4d1cfb264f16887f99842b7829fb0d7ddfd73ec7 /runtime/queries/hcl/injections.scm
parenta494f47a5df543a3ab8d6530a5acbc2a5bd04d44 (diff)
Add support for HCL language (#1705)
Queries based on the neovims ones: https://github.com/nvim-treesitter/nvim-treesitter/tree/master/queries/hcl and modified for helix support.
Diffstat (limited to 'runtime/queries/hcl/injections.scm')
-rw-r--r--runtime/queries/hcl/injections.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/queries/hcl/injections.scm b/runtime/queries/hcl/injections.scm
new file mode 100644
index 00000000..fd69161a
--- /dev/null
+++ b/runtime/queries/hcl/injections.scm
@@ -0,0 +1,2 @@
+((comment) @injection.content
+ (#set! injection.language "comment"))