windwp / nvim-ts-autotag

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

Disable automatic renaming #80

Closed amarakon closed 1 year ago

amarakon commented 1 year ago

I do not want HTML tags to automatically rename themselves but I want them to automatically close. How can I do this?

sifu commented 1 year ago

I have a PR that would allow you to disable the automatically renaming via

require("nvim-ts-autotag").setup({
    enable_rename = false,
})

until the PR https://github.com/windwp/nvim-ts-autotag/pull/83 is merged, you could use my fork: https://github.com/sifu/nvim-ts-autotag

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.