windwp / nvim-ts-autotag

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

Make automatic renaming work with `x`and `d` #81

Open Alexnortung opened 1 year ago

Alexnortung commented 1 year ago

Currently if I have a tag and try to change it with x if I made a typo, it does not update the closing tag.

example (cursor: |)

<form|r|>
</formr>

pressing x results in

<form|>|
</formr>

However I would expect autotag to fix my typo this way.

Currently it seems to only work in insert mode, so if I pressed s<ESC> instead it would update to what I wanted.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

gegoune commented 1 year ago

Bad bot.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Alexnortung commented 1 year ago

I would still like to see this feature implemented. I still really like the plugin

markmansur commented 1 year ago

I use dw a lot and it also does not rename the closing tag

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

lucy commented 1 year ago

useless bot

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Alexnortung commented 1 year ago

Still wanted

stale[bot] commented 10 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Alexnortung commented 10 months ago

Still wanted :D

PriceHiller commented 3 months ago

I'll prioritize this issue in the next week or two and hopefully get a feature merged addressing this. There was a auto-closed PR that seemingly resolved this @ #126.

Will start there when I get a sec.

PriceHiller commented 3 months ago

This is on my radar this week to get done by Friday.