Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Renaming XML tag doesn't work #207

Closed
julianbopp opened this issue Jul 16, 2024 · 4 comments
Closed

Renaming XML tag doesn't work #207

julianbopp opened this issue Jul 16, 2024 · 4 comments
Labels
wontfix This will not be worked on

Comments

@julianbopp
Copy link

julianbopp commented Jul 16, 2024

Hello,

renaming tags does not work in XML files:

Screen.Recording.2024-07-16.at.10.23.24.mov

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,
@PriceHiller
Copy link
Collaborator

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.

@julianbopp
Copy link
Author

Hey @PriceHiller, thanks for your reply. I updated the plugin and tried again but it still doesn't work :(

@carljohnson93
Copy link

I have same issue.

Copy link

stale bot commented Nov 9, 2024

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.

@stale stale bot added the wontfix This will not be worked on label Nov 9, 2024
@stale stale bot closed this as completed Nov 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants