summaryrefslogtreecommitdiff
path: root/vendor/queries/json/textobjects.scm
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/queries/json/textobjects.scm')
-rw-r--r--vendor/queries/json/textobjects.scm13
1 files changed, 13 insertions, 0 deletions
diff --git a/vendor/queries/json/textobjects.scm b/vendor/queries/json/textobjects.scm
new file mode 100644
index 00000000..e0df6ecd
--- /dev/null
+++ b/vendor/queries/json/textobjects.scm
@@ -0,0 +1,13 @@
+; Vendored from helix (https://github.com/helix-editor/helix) at 278b24389:
+; runtime/queries/json/textobjects.scm.
+; Licensed under the Mozilla Public License 2.0 (vendor/queries/helix.LICENSE,
+; https://mozilla.org/MPL/2.0/).
+
+(pair
+ (_) @entry.inside) @entry.around
+
+(array
+ (_) @entry.around)
+
+(comment) @comment.inside
+(comment)+ @comment.around