Closed devgioele closed 1 year ago
It doesn't work because Astro's queries weren't specified in the nvim-treesitter-textobjects repository (which I didn't even know existed until today; this looks pretty cool.) The above PR adds the queries for Astro's textobjects, which fixes this issue.
Awesome
Fixed by the linked PR.
Thank you for the work done to integrate astro!
I tried to make the selection of attributes inside the html part of an
astro
file work, but couldn't. I expectdaa
to delete the attribute under the cursor. It works intsx
andhtml
files, but not inastro
files. This is the config I have:A verified the health of nvim-treesitter and checked the filetype to be correct