windwp / nvim-ts-autotag

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

TSX not working #112

Closed MincoMK closed 1 year ago

MincoMK commented 1 year ago

HTML file is working but JSX or TSX aren't working. How to fix?

yagiziskirik commented 1 year ago

I also have the same issue, tried to :TSInstall html, :TSInstall javascript and :TSInstall typescript. It is also configured in the init.lua file as you described in the README file. HTML files work just fine but JSX or TSX files don't work as expected. I can provide any additional details about the configuration that I have as well.

I will try to find a solution and issue a pull request or share the solution if I can. Amazing add-on!

yagiziskirik commented 1 year ago

Found the solution! #106 stated that code required is :TSInstall tsx. This can be added to the README file as well.

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.