Open uncenter opened 1 month ago
Came up with the following, unsure how to test it / verify it works.
(macro_statement
body: (_) @function.inside) @function.around
(comment_tag) @comment.inside
(comment_tag)+ @comment.around
(argument_list
((_) @parameter.inside . ","? @parameter.around) @parameter.around)
(array (_) @entry.around)
https://github.com/nvim-treesitter/nvim-treesitter-textobjects details some different accepted captures using "inner" instead of "inside" and "outer" instead of "around".