mirror of
https://github.com/kristoferssolo/tree-sitter-bruno.git
synced 2026-03-22 00:36:24 +00:00
feat(queries): add tags and folds
This commit is contained in:
3
queries/folds.scm
Normal file
3
queries/folds.scm
Normal file
@@ -0,0 +1,3 @@
|
||||
(dictionary) @fold
|
||||
(array) @fold
|
||||
(textblock) @fold
|
||||
@@ -1,5 +1,4 @@
|
||||
(keyword) @keyword
|
||||
|
||||
[
|
||||
"{"
|
||||
"}"
|
||||
|
||||
12
queries/tags.scm
Normal file
12
queries/tags.scm
Normal 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
|
||||
Reference in New Issue
Block a user