Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/unison/textobjects.scm')
-rw-r--r--runtime/queries/unison/textobjects.scm15
1 files changed, 15 insertions, 0 deletions
diff --git a/runtime/queries/unison/textobjects.scm b/runtime/queries/unison/textobjects.scm
new file mode 100644
index 00000000..02a90836
--- /dev/null
+++ b/runtime/queries/unison/textobjects.scm
@@ -0,0 +1,15 @@
+(term_declaration) @function.around
+
+(type_declaration) @class.inside
+(record) @class.inside
+
+(comment) @comment.inside
+(comment)+ @comment.around
+
+(doc_block) @comment.around
+
+(literal_list) @entry.around
+
+(parenthesized_or_tuple_pattern) @entry.around
+
+(pattern) @entry.around