nvim-ts-autotag icon indicating copy to clipboard operation
nvim-ts-autotag copied to clipboard

htmldjango alias and eruby alias don't ever add the closing tag

Open nickjj opened this issue 6 months ago • 3 comments

Hi,

I noticed the documentation is outdated and both eruby and htmldjango are supported out of the box in:

https://github.com/windwp/nvim-ts-autotag/blob/a1d526af391f6aebb25a8795cbc05351ed3620b5/lua/nvim-ts-autotag/config/plugin.lua#L143-L147

When I goto a file where set ft reports back eruby or htmldjango HTML pairs do not auto-complete. If I set set ft=html then the pairs do auto-complete but then I lose the syntax highlighting supplied by TS.

I know the plugin is capable of working because in Markdown and HEEx files it auto-completes successfully.

Any thoughts on what I can do to troubleshoot why this isn't working? I am using LazyVim and it sets up:

  {
    "windwp/nvim-ts-autotag",
    event = "LazyFile",
    opts = {},
  },

nickjj avatar Apr 06 '25 11:04 nickjj