-
-
Notifications
You must be signed in to change notification settings - Fork 160
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
prehook not working for jsx files #153
Comments
Check whether |
I am going to close this for now. If you face this again feel free to open it. Also, I am working on native |
I appreciate the help, I ended up using this configuration from the nvim-ts-util-context-commentstring repo and it's working great now. Also native jsx support sounds fantastic. I love your plugin! |
My bad! As I was remaking my config I forgot I had to reinstall the treesitter's language! I reinstalled the missing ones and it's working now! |
I have added the prehook field into the setup, and I am following the instructions documented in the README and installed
"JoosepAlviste/nvim-ts-context-commentstring"
However, when I am in a jsx file, and I try to comment out the html in the jsx, it only uses the
//
comment and does not wrap it in braces as expected. Here is the link to my plugins and here is the Comment.nvim setupI'm not sure what I'm doing wrong, but I would love for this to work properly. Any help would be appreciated!

The text was updated successfully, but these errors were encountered: