feat(thrift): improve queries

This commit is contained in:
Amaan Qureshi 2023-02-06 13:34:05 -05:00 committed by Stephan Seitz
parent 17d7cf6f4b
commit 93386fc725
5 changed files with 57 additions and 2 deletions

View file

@ -0,0 +1,20 @@
(definition) @indent
; (function (function_identifier) @aligned_indent)
((function_parameters (function_parameter)) @aligned_indent
(#set! "delimiter" "()"))
((exception_parameters (exception_parameter)) @aligned_indent
(#set! "delimiter" "()"))
"}" @indent_end
[ "{" "}" ] @branch
[ "(" ")" ] @branch
[
(ERROR)
(comment)
] @auto