-
Notifications
You must be signed in to change notification settings - Fork 8
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
commenting is not highlighted #4
Comments
Well, the commenting is technically broken for all of the TSX code because it is treating it like a TypeScript comment. JSX/TSX comments look like But even with the broken comments, I am getting the proper highlighting (although, strangely, it ruins the indentation). Are you using a hotkey or keybinding to comment out the code? Or manually entering |
Comments are not highlighted either comment by keybinding or manual. |
Confirmed, it is an issue with https://github.com/HerringtonDarkholme/yats.vim. I would bring it to their attention. I have had issues with this plugin before. I think it needs to mature a bit before ready for public use. I would recommend https://github.com/leafgarland/typescript-vim and https://github.com/Quramy/tsuquyomi for TypeScript development in vim. I have been using those extensively for six months now with good results. |
I've found that the commented line is highlighted correctly when the very first lines of render method is commented. But if I comment lines in the middle, it will not be highlighted correctly.
Here's the image.
Thanks. 😄
The text was updated successfully, but these errors were encountered: