windwp / nvim-ts-autotag

Use treesitter to auto close and auto rename html tag
MIT License
1.65k stars 87 forks source link

fix: update tag patterns to support new XML TS tags #165

Closed PriceHiller closed 4 months ago

PriceHiller commented 7 months ago

It seems the upstream Treesitter tags for xml was updated and is no longer 100% identical to the html syntax tree.

XML Tree according to :InspectTree

image

HTML Tree according to :InspectTree

image

Notice the tags now differ between the two.

Closes #163

ydalton commented 6 months ago

Yep, applying this patch fixes the issue.

PriceHiller commented 5 months ago

Hey @windwp, pinging you to get your thoughts on this PR if you have time.

It's been working well for me this far.

Thanks 🙂

PriceHiller commented 4 months ago

For anyone subscribed to this PR, please see my comment: https://github.com/windwp/nvim-ts-autotag/issues/163#issuecomment-2107013155

Gist is I'll be maintaining a fork @ https://github.com/PriceHiller/nvim-ts-autotag/ until such a time the author comes back.

PriceHiller commented 4 months ago

Closed in favor of #173