feat(capnp, thrift): add folds, bump lockfile

This commit is contained in:
Amaan Qureshi 2023-01-23 15:05:24 -05:00 committed by Stephan Seitz
parent f826b7af13
commit d9d8f5eba4
4 changed files with 29 additions and 3 deletions

14
queries/capnp/folds.scm Normal file
View 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

View file

@ -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
View file

@ -0,0 +1,11 @@
[
(annotation)
(enum)
(senum)
(service)
(struct)
(union)
(function_parameters)
(exception_parameters)
] @fold