-
-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Autocompletion Incorrectly Expands Self-Closing Tags in React JSX #124
Comments
Having the same issue. Any fix? |
I'm also facing this problem. I think that conditionally turning off the |
That kinda solves the problem but it sorta created a new issue. The functionality for closing tags like: <NavigationStack.Navigator> broke. Basically it does not create a closed tag for it anymore which is sadge. |
@2Senn I haven't turned off |
Getting the same here 😔 turning off |
I'm having the same issues. |
Having the same issues. |
Same issues here |
Same issue |
Alternative solution: aca/emmet-ls#69 |
Also having the same issue. Feels like it started happening out of no where |
Same here. |
Temporary fix for autoclosing React tags. For more info please refer to this link: windwp/nvim-ts-autotag#124
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. |
Hello,
I'm experiencing an issue with the nvim-ts-autotag plugin where the autocompletion feature is not correctly expanding self-closing tags.
Current Behavior:
When I type
<Img /
, the plugin automatically completes it as<Img /Img>
, which is not the expected behavior.Expected Behavior:
The expected behavior is for the plugin to complete the tag as
<Img />
.Steps to Reproduce:
Open a .jsx or .tsx file.
Start typing a self-closing tag, for example:
<Img /
.The plugin incorrectly autocompletes the tag as
<Img /Img>
.Env
The text was updated successfully, but these errors were encountered: