Closed SebasF1349 closed 2 months ago
I'm having the same issue. Renaming works fine in html and tsx files, but not svelte files. Auto closing is working fine.
+1 Same problem as you @harrisonn26. Works great for html and jsx, but only getting auto-closing for svelte files.
I just made a PR for this issue @harrisonn26 and @SebasF1349. It's a super simple one line change if you want to go change it in the meantime.
Link to @roycrippen4 pr https://github.com/windwp/nvim-ts-autotag/pull/167
Sorry that I forgot to reply, but it works.
Should be closed by #173, as that PR was integrated in that fork which is now in the process of being merged back in.
I'll be closing this issue -- please ping me if this is still a problem and I'll reopen and investigate.
Thanks 🙂
The plugin does auto close html tags, but doesn't rename them in svelte files (it works on html files). This is one of the many configs I tried.
The svelte parser is installed. I also tried adding the plugin in the treesitter config with this but with the same effect:
I checked many issues here but no solution worked for me. I'm not using any nvim distro. Any suggestion?