Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/styx/textobjects.scm')
-rw-r--r--runtime/queries/styx/textobjects.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/queries/styx/textobjects.scm b/runtime/queries/styx/textobjects.scm
new file mode 100644
index 00000000..09fcd17d
--- /dev/null
+++ b/runtime/queries/styx/textobjects.scm
@@ -0,0 +1,6 @@
+[(line_comment) (doc_comment)] @comment.inside
+
+(line_comment)+ @comment.around
+(doc_comment)+ @comment.around
+
+(entry value: (_) @entry.inside) @entry.around