8c29b76bcc
* Improve llvm highlighting and queries The llvm tree-sitter parser was updated to support scopes and more accurate highlighting. * Group highlight expressions better
16 lines
339 B
Scheme
16 lines
339 B
Scheme
(define
|
|
body: (_) @function.inside) @function.around
|
|
|
|
(struct_type
|
|
(struct_body) @class.inside) @class.around
|
|
|
|
(packed_struct_type
|
|
(struct_body) @class.inside) @class.around
|
|
|
|
(array_type
|
|
(array_vector_body) @class.inside) @class.around
|
|
|
|
(vector_type
|
|
(array_vector_body) @class.inside) @class.around
|
|
|
|
(argument) @parameter.inside
|