Something went wrong. Try again.
a few hacks on top of zed
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738(declaration declarator: (function_declarator)) @function.around
(function_definition body: (_ "{" (_)* @function.inside "}" )) @function.around
(preproc_function_def value: (_) @function.inside) @function.around
(comment) @comment.around
(struct_specifier body: (_ "{" (_)* @class.inside "}")) @class.around
(enum_specifier body: (_ "{" [(_) ","?]* @class.inside "}")) @class.around
(union_specifier body: (_ "{" (_)* @class.inside "}")) @class.around
(class_specifier body: (_ "{" [(_) ":"? ";"?]* @class.inside "}"?)) @class.around