mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
feat(capnp, thrift): add folds, bump lockfile
This commit is contained in:
parent
f826b7af13
commit
d9d8f5eba4
4 changed files with 29 additions and 3 deletions
|
|
@ -30,7 +30,7 @@
|
|||
"revision": "7175a6dd5fc1cee660dce6fe23f6043d75af424a"
|
||||
},
|
||||
"capnp": {
|
||||
"revision": "8e6b8561170c4767720857e3f1dec019f49c6084"
|
||||
"revision": "22c1bdb260779869fa4d30f941f7de1037ec2b53"
|
||||
},
|
||||
"c_sharp": {
|
||||
"revision": "a29bac0681802139710b4d3875540901504d15cb"
|
||||
|
|
@ -393,7 +393,7 @@
|
|||
"revision": "0ff887f2a60a147452d52db060de6b42f42f1441"
|
||||
},
|
||||
"thrift": {
|
||||
"revision": "ea322237061db4ebb879e2d53e39dab0a2f73ff2"
|
||||
"revision": "0d5541dee561c5a268b616db3c1598cb83318bdc"
|
||||
},
|
||||
"tiger": {
|
||||
"revision": "a233ebe360a73a92c50978e5c4e9e471bc59ff42"
|
||||
|
|
|
|||
14
queries/capnp/folds.scm
Normal file
14
queries/capnp/folds.scm
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
[
|
||||
(annotation_targets)
|
||||
(const_list)
|
||||
(enum)
|
||||
(interface)
|
||||
(implicit_generics)
|
||||
(generics)
|
||||
(group)
|
||||
(method_parameters)
|
||||
(named_return_types)
|
||||
(struct)
|
||||
(struct_shorthand)
|
||||
(union)
|
||||
] @fold
|
||||
|
|
@ -62,6 +62,8 @@
|
|||
(local_const) @constant
|
||||
(enum_member) @constant
|
||||
|
||||
(void) @constant.builtin
|
||||
|
||||
; Types
|
||||
|
||||
(enum_identifier) @type
|
||||
|
|
@ -88,7 +90,6 @@
|
|||
"extends"
|
||||
"namespace"
|
||||
"using"
|
||||
(void)
|
||||
(annotation_target)
|
||||
] @keyword
|
||||
|
||||
|
|
|
|||
11
queries/thrift/folds.scm
Normal file
11
queries/thrift/folds.scm
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
[
|
||||
(annotation)
|
||||
(enum)
|
||||
(senum)
|
||||
(service)
|
||||
(struct)
|
||||
(union)
|
||||
|
||||
(function_parameters)
|
||||
(exception_parameters)
|
||||
] @fold
|
||||
Loading…
Add table
Add a link
Reference in a new issue