Closed JNer1 closed 2 months ago
When I type an element while mapping in a .astro file, the auto-tagging does not work.
.astro
In the example below, typing out the <li> inside the map method does not trigger the auto-tagging. However, this works fine in a .tsx file.
<li>
map
.tsx
--- import Layout from "../layouts/Layout.astro"; import { publications } from "../publications"; --- <Layout title="Publications"> <main class="mx-auto max-w-5xl p-8"> <ul class="flex flex-col gap-4"> {publications.map((pub) => <li>{pub.title}</li>)} </ul> </main> </Layout>
Neovim Version: v0.9.5 Package Manager: Lazy
return { "windwp/nvim-ts-autotag", opts = { enable_close_on_slash = false, }, }
Hello, this should be resolved with the merging of #173.
I'll be closing this as a result. If you're still facing issues, please ping me and I'll reopen this.
Thanks 🙂
When I type an element while mapping in a
.astro
file, the auto-tagging does not work.In the example below, typing out the
<li>
inside themap
method does not trigger the auto-tagging. However, this works fine in a.tsx
file.Config
Neovim Version: v0.9.5 Package Manager: Lazy