-
Notifications
You must be signed in to change notification settings - Fork 95
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
Matching Curly Brace Highlight Wrong #146
Comments
This doesn't happen to me. Probably not a vim-jsx issue? P.S. I use neovim as editor and vim-javascript + vim-jsx for syntax highlight. |
I'll have to remember to give it a try on a vanilla install of vim |
if it's the match highlight from cursor on top, i think it is an issue with matchparen.vim |
This does happen to me even with |
I notice the same syntax highlighting as well. In the CRA file that @navargas pointed out, if I go to the The problem is even worse in If I remove the plugin (or do |
@navargas Also, changing The comment above mentions that |
Regarding the color difference, that ended up just being something with my colorscheme - the difference was subtle enough that I didn't notice at first. I only ended up seeing the correct color highlighting with the change to I tried every combination of the original code, commenting that line out, and adding the fix, as well as using in conjunction with Hopefully this works for others as well. |
Seems like this is still happening? |
In the first image, we see my cursor is on the curly brace on line 43, but the matched curly brace highlight is incorrectly on line 45:
Interestingly, if I jump to the matching closing curly brace with
]}
key sequence, then it jumps to the correct one on line 50. Yet this time, no matching curly brace is highlighted at all:Thanks for contributing this vim syntax!
The text was updated successfully, but these errors were encountered: