Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Tree sitter's website has documentation on query syntax. You could look at nvim-treesitter-textobjects's included queries and figure out how they work. I also recommend nvim-treesitter/playground to see the nodes and fields.
Tree sitter's website has documentation on query syntax. You could look at nvim-treesitter-textobjects's included queries and figure out how they work. I also recommend nvim-treesitter/playground to see the nodes and fields.
The comment query would instead need to be (comment) + @_start (note the +) to match multiple comments. Nvim currently does not support query quantifiers but it's being worked on.