windwp / nvim-ts-autotag

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

Does not work on replaces, cuts, and pasts #157

Closed dmtrKovalenko closed 2 months ago

dmtrKovalenko commented 5 months ago

It works just perfectly when you explicitly enter the insert mode, edit the tag, and leave – and this is just perfect. But I always facing situations when I want to use the replace mode, paste, or any other action that does not enter the insert mode. Would be very cool if this plugin can support any opeartions!

fivepixels commented 5 months ago

I guess what you want is out of the charge of this plugin. I mean, this is a plugin that is only for auto-completing JSX tags when inserting, which means if you want it to work as you expect it, then you may want to use formatters to format everything right after replacing, cutting, or pasting, including all your codes and the JSX tags, too.

stale[bot] commented 3 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.