aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/hcl/textobjects.scm
diff options
context:
space:
mode:
authorJaakko Paju2024-02-18 23:46:32 +0000
committerGitHub2024-02-18 23:46:32 +0000
commitebf155d6351a84dec010447af88b8246103537da (patch)
tree739a3f966149d10021c9708c1f9a259a71f19cfd /runtime/queries/hcl/textobjects.scm
parent2dc9ce68ec84fd26e1489e3bac76fc5114d0023e (diff)
Add textobject queries for HCL (#9658)
* Add textobject queries for HCL * Add to lang-support.md
Diffstat (limited to 'runtime/queries/hcl/textobjects.scm')
-rw-r--r--runtime/queries/hcl/textobjects.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/queries/hcl/textobjects.scm b/runtime/queries/hcl/textobjects.scm
new file mode 100644
index 00000000..1e650587
--- /dev/null
+++ b/runtime/queries/hcl/textobjects.scm
@@ -0,0 +1,6 @@
+(comment) @comment.inside
+(comment)+ @comment.around
+
+(function_arguments
+ ((_) @parameter.inside . ","? @parameter.around) @parameter.around)
+