windwp / nvim-ts-autotag

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

fix: auto renaming for Templ files #177

Closed axzilla closed 1 month ago

axzilla commented 1 month ago

This PR fixes the issue with auto renaming tags in Templ files.

Changes:

This ensures that tags in Templ files are correctly renamed automatically.

PriceHiller commented 1 month ago

Thanks for the PR @axzilla, much appreciated.

Do you have a sample templ file I can use to make a test with? There's not a contributing requirement right now for tests, so I'm not going to push you to write them.

I just want an example templ file you'd expect nvim-ts-autotag features to work in so I can write some tests later to support this PR.

Once I have that sample, I'll merge 🙂

PriceHiller commented 1 month ago

Nevermind, got a sample now. Thanks again 😄

axzilla commented 1 month ago

Nevermind, got a sample now. Thanks again 😄

Glad, that i could help. =)