windwp / nvim-ts-autotag

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

This breaks dot repeat #166

Open calebdw opened 4 months ago

calebdw commented 4 months ago

Hello!

I like this plugin, but this breaks dot repeating inserts with > in it.

For example:

Thanks!

nicoqh commented 2 months ago

Not a solution, but since I don't need autotag for PHP files, I enabled it only for certain file types:

autotag = {
  enable = true,
  filetypes = { 'html', 'javascript', 'typescript', 'javascriptreact', 'typescriptreact', 'svelte', 'vue', 'xml', 'markdown' },
}
PriceHiller commented 2 months ago

After some investigation of this previously, this is a non-trivial addition to nvim-ts-autotag to my knowledge.

I'll pin this so it doesn't get auto-closed as this is very much an issue I hope to resolve. If someone wants to beat me to the punch, PRs are welcome 😃.

PriceHiller commented 2 months ago

Pinned label that is 😅