feat(queries): add tags and folds

This commit is contained in:
2024-12-15 17:05:56 +02:00
parent 9a923cded1
commit 7c5ea5ae6a
7 changed files with 25 additions and 5 deletions

3
queries/folds.scm Normal file
View File

@@ -0,0 +1,3 @@
(dictionary) @fold
(array) @fold
(textblock) @fold

View File

@@ -1,5 +1,4 @@
(keyword) @keyword
[
"{"
"}"

12
queries/tags.scm Normal file
View File

@@ -0,0 +1,12 @@
(source_file) @tag.root
(meta) @tag.meta
(http) @tag.http
(query) @tag.query
(headers) @tag.headers
(auths) @tag.auths
(bodies) @tag.bodies
(varsandassert) @tag.varsandassert
(script) @tag.script
(tests) @tag.tests
(docs) @tag.docs