Renaming XML tag doesn't work
Hello,
renaming tags does not work in XML files:
https://github.com/user-attachments/assets/a0c9e701-3b84-464e-966b-6f5816e562c3
My nvim-ts-autotag config:
require('nvim-ts-autotag').setup {
opts = {
-- Defaults
enable_close = true, -- Auto close tags
enable_rename = true, -- Auto rename pairs of tags
enable_close_on_slash = false, -- Auto close on trailing </
},
-- Also override individual filetype configs, these take priority.
-- Empty by default, useful if one of the "opts" global settings
-- doesn't work well in a specific filetype
per_filetype = {
['xml'] = {
enable_close = true,
enable_rename = true, -- Auto rename pairs of tags
},
},
aliases = {
['conaryrecipe'] = 'xml',
},
}
end,
Hey @julianbopp can you give this another shot?
Some changes just hit main that may resolve this for you if it has the same root cause as #201.
Hey @PriceHiller, thanks for your reply. I updated the plugin and tried again but it still doesn't work :(
I have same issue.
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.
still an issue